Пример #1
0
 def _getDocumentIdoListFromEntryId(self, blogEntryId):
     # Convenience method to return the document ido list (in case of duplicates) given blogEntryId.
     if not self.docIndexService:
         self._error(u"_getDocumentIdoFromEntryId() -> Document Indexer service must be enabled.")  #$NON-NLS-1$
         return None
     filter = ZDocumentSearchFilter()
     filter.setBlogEntryIdCriteria(blogEntryId)
     izdocumentIdoList = self.docIndexService.findDocuments(filter)
     return izdocumentIdoList
Пример #2
0
 def _getDocumentIdoListFromEntryId(self, blogEntryId):
     # Convenience method to return the document ido list (in case of duplicates) given blogEntryId.
     if not self.docIndexService:
         self._error(
             u"_getDocumentIdoFromEntryId() -> Document Indexer service must be enabled."
         )  #$NON-NLS-1$
         return None
     filter = ZDocumentSearchFilter()
     filter.setBlogEntryIdCriteria(blogEntryId)
     izdocumentIdoList = self.docIndexService.findDocuments(filter)
     return izdocumentIdoList