Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(5) | Call(5) | Derive(0) | Import(0)
src/c/o/collective.tablepage-0.8a1/collective/tablepage/catalog.py collective.tablepage(Download)
def uncatalog_row(self, context, uid): """Remove a row from the catalog""" path = '%s/row-%s' % ('/'.join(context.getPhysicalPath()), uid) self.uncatalog_object(path)
path = '%s/row-%s' % ('/'.join(context.getPhysicalPath()), uid) data = IDataStorage(context).get(uid) self.uncatalog_object(path) self.catalog_object(CatalogDictWrapper(data, context, path), uid=path)
src/p/r/Products.PloneGazette-3.2.1/Products/PloneGazette/catalog.py Products.PloneGazette(Download)
def unindexObject(self, object): '''Remove from catalog. ''' url = self.__url(object) self.uncatalog_object(url)
src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/CatalogTool.py Products.CMFPlone(Download)
def uncatalog_object(self, *args, **kwargs): self._increment_counter() return BaseTool.uncatalog_object(self, *args, **kwargs) def _increment_counter(self):
src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/CatalogTool.py Products.CMFPlone(Download)
def uncatalog_object(self, *args, **kwargs): self._increment_counter() return BaseTool.uncatalog_object(self, *args, **kwargs) def _increment_counter(self):