示例#1
0
 def findDocuments(self, documentFilter):
     queryBuilder = ZDocumentQueryBuilder(documentFilter)
     sql = queryBuilder.build()
     return self._select(sql, None, ZDocumentIDOListQueryHandler())
示例#2
0
 def getDocumentCount(self, filter):
     queryBuilder = ZDocumentQueryBuilder(filter)
     sql = queryBuilder.build(True)
     return self._select(sql, None, ZSingleItemQueryHandler())