def getSearchConceptByObjects(self, context, objects): sConcept = Concept() sConcept.intent = context.up(objects) sConcept.extent = context.down(sConcept.intent) return sConcept
def _getSearchConceptByAttr(self, context, attributes): sConcept = Concept() sConcept.extent = context.down(attributes) sConcept.intent = context.up(sConcept.extent) return sConcept