Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(31)  |  Call(5)  |  Derive(8)  |  Import(18)

src/p/r/Products.AdvancedQuery-3.0.3/Products/AdvancedQuery/__init__.py   Products.AdvancedQuery(Download)
############################################################################
## CatalogTool extension
try: from Products.CMFCore.CatalogTool import CatalogTool
except ImportError: CatalogTool= None
if CatalogTool:

src/a/n/anthill.querytool-0.2/anthill/querytool/patches.py   anthill.querytool(Download)
 
try: 
    from Products.CMFCore.CatalogTool import CatalogTool
except ImportError: 
    CatalogTool = None

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/CatalogTool.py   Products.CMFPlone(Download)
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.CatalogTool import _mergedLocalRoles
from Products.CMFCore.CatalogTool import CatalogTool as BaseTool
from Products.CMFCore.permissions import AccessInactivePortalContent
from Products.ZCatalog.ZCatalog import ZCatalog
class CatalogTool(PloneBaseTool, BaseTool):
    """Plone's catalog tool"""
 
    implements(IPloneCatalogTool)
 

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/CatalogTool.py   Products.CMFPlone(Download)
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.CatalogTool import _mergedLocalRoles
from Products.CMFCore.CatalogTool import CatalogTool as BaseTool
from Products.CMFCore.permissions import AccessInactivePortalContent
from Products.ZCatalog.ZCatalog import ZCatalog
class CatalogTool(PloneBaseTool, BaseTool):
    """Plone's catalog tool"""
 
    implements(IPloneCatalogTool)
 

src/p/r/Products.CMFPlomino-1.18.6/Products/CMFPlomino/index/PlominoIndex.py   Products.CMFPlomino(Download)
 
# CMF / Archetypes / Plone
from Products.CMFCore.CatalogTool import CatalogTool
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.utils import UniqueObject, SimpleRecord
class PlominoIndex(UniqueObject, CatalogTool):
    """ Plomino index
    """
    security = ClassSecurityInfo()
 

src/p/l/Plomino-HEAD/Products/CMFPlomino/index/PlominoIndex.py   Plomino(Download)
 
# CMF / Archetypes / Plone
from Products.CMFCore.CatalogTool import CatalogTool
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.utils import UniqueObject, SimpleRecord
class PlominoIndex(UniqueObject, CatalogTool):
    """ Plomino index
    """
    security = ClassSecurityInfo()
 

src/p/r/Products.PloneGazette-3.2.1/Products/PloneGazette/catalog.py   Products.PloneGazette(Download)
from AccessControl import ClassSecurityInfo
from AccessControl.class_init import InitializeClass
from Products.CMFCore.CatalogTool import CatalogTool
from Products.PloneGazette.config import  PG_CATALOG
 
class SubscribersCatalog(CatalogTool):
    """Subscribers catalog for PloneGazette"""
 
    id = PG_CATALOG
    title = "Subscribers Catalog"

src/p/r/Products.PloneSubscription-1.6.3/Products/PloneSubscription/SubscriptionCatalog.py   Products.PloneSubscription(Download)
from AccessControl import ClassSecurityInfo
#from Products.ZCatalog.ZCatalog import ZCatalog
from Products.CMFCore.CatalogTool import CatalogTool
 
# CMF imports
class SubscriptionCatalog(UniqueObject, CatalogTool):
    """Catalog for PloneSubscription"""
 
    id = 'subscription_catalog'
    title = "Subscription catalog"

src/e/r/erp5-HEAD/product/ERP5Catalog/CatalogTool.py   erp5(Download)
from copy import deepcopy
from collections import defaultdict
from Products.CMFCore.CatalogTool import CatalogTool as CMFCoreCatalogTool
from Products.ZSQLCatalog.ZSQLCatalog import ZCatalog
from Products.ZSQLCatalog.SQLCatalog import Query, ComplexQuery, SimpleQuery
class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
    """
    This is a ZSQLCatalog that filters catalog queries.
    It is based on ZSQLCatalog
    """

src/c/o/collective.tablepage-0.8a1/collective/tablepage/catalog.py   collective.tablepage(Download)
from AccessControl.Permissions import search_zcatalog
from AccessControl.Permissions import manage_zcatalog_entries
from Products.CMFCore.CatalogTool import CatalogTool
from Products.ZCatalog.ZCatalog import ZCatalog
from plone.indexer import indexer
class TablePageCatalog(CatalogTool):
    """Rows catalog for Table page"""
 
    id = config.CATALOG_ID
    title = "TablePage Catalog"

  1 | 2  Next