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

All Samples(31)  |  Call(0)  |  Derive(8)  |  Import(23)

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/CMFBTreeFolder.py   Products.CMFCore(Download)
from Products.CMFCore.permissions import AddPortalFolders
from Products.CMFCore.PortalFolder import PortalFolder
from Products.CMFCore.PortalFolder import PortalFolderBase
 
 
class CMFBTreeFolder(BTreeFolder2Base, PortalFolderBase):
 
    """BTree folder for CMF sites.
    """
 

src/p/r/Products.Relations-0.9b1/Products/Relations/utils.py   Products.Relations(Download)
 
try:
    from Products.CMFCore.PortalFolder import PortalFolderBase
except ImportError: # catch CMF 1.4 installations here
    from Products.CMFCore.PortalFolder import PortalFolder

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/BaseFolder.py   Products.Archetypes(Download)
from Products.CMFCore import permissions
from Products.CMFCore.interfaces import IContentish
from Products.CMFCore.PortalFolder import PortalFolderBase as PortalFolder
from Products.CMFCore.PortalContent import PortalContent
from Products.CMFCore.utils import _checkPermission
class BaseFolderMixin(CatalogMultiplex,
                      BaseObject,
                      PortalFolder,
                      ):
    """A not-so-basic Folder implementation, with no Dublin Core

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/BaseFolder.py   Products.Archetypes(Download)
from Products.CMFCore import permissions
from Products.CMFCore.interfaces import IContentish
from Products.CMFCore.PortalFolder import PortalFolderBase as PortalFolder
from Products.CMFCore.PortalContent import PortalContent
from Products.CMFCore.utils import _checkPermission
class BaseFolderMixin(CatalogMultiplex,
                      BaseObject,
                      PortalFolder,
                      ):
    """A not-so-basic Folder implementation, with no Dublin Core

src/p/r/Products.Relations-0.9b1/Products/Relations/components/contentreference.py   Products.Relations(Download)
except: # Old CMF  
    from Products.CMFCore import CMFCorePermissions
from Products.CMFCore.PortalFolder import PortalFolderBase
from Products.Archetypes.public import *
from Products.Archetypes.utils import shasattr
class ContentReference(ruleset.RLMWithBrains, PortalFolderBase):
    """Resembles Archetypes.ReferenceEngine.ContentReference.
 
    Note that portal objects associated with this reference are identified
    by a reference, not by containment."""

src/e/r/erp5-HEAD/product/HBTreeFolder2/CMFHBTreeFolder.py   erp5(Download)
from App.class_init import default__class_init__ as InitializeClass
from Products.HBTreeFolder2.HBTreeFolder2 import HBTreeFolder2Base
from Products.CMFCore.PortalFolder import PortalFolderBase
 
_actions = ({'action': 'string:${object_url}',
class CMFHBTreeFolder(HBTreeFolder2Base, PortalFolderBase):
    """HBTree folder for CMF sites.
    """
    meta_type = 'CMF HBTree Folder'
    security = ClassSecurityInfo()

src/p/l/plone.app.content-3.0.0/plone/app/content/container.py   plone.app.content(Download)
 
from Products.CMFCore.PortalContent import PortalContent
from Products.CMFCore.PortalFolder import PortalFolderBase
from Products.CMFCore.CMFCatalogAware import CMFCatalogAware
from Products.CMFDefault.DublinCore import DefaultDublinCoreImpl
class Container(OFSContainer, CMFCatalogAware, PortalFolderBase, PortalContent,
                DefaultDublinCoreImpl, Contained):
    """A base class mixing in CMFish, contentish, containerish, containedish,
    dublincoreish behaviour.
    """

src/p/r/Products.CMFDefault-2.3.0-beta2/Products/CMFDefault/SyndicationTool.py   Products.CMFDefault(Download)
from Products.CMFCore.interfaces import ISyndicationTool, ISyndicationInfo
from Products.CMFCore.interfaces import IFolderish
from Products.CMFCore.PortalFolder import PortalFolderBase
from Products.CMFCore.utils import _checkPermission
from Products.CMFCore.utils import registerToolInterface

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/PloneFolder.py   Products.CMFPlone(Download)
from Products.CMFCore.CMFCatalogAware import CatalogAware, WorkflowAware, \
                    OpaqueItemManager
from Products.CMFCore.PortalFolder import PortalFolderBase
from Products.CMFCore.permissions import AccessContentsInformation, \
                    AddPortalContent, AddPortalFolders, ListFolderContents, \
class BasePloneFolder(CatalogAware, WorkflowAware, OpaqueItemManager,
                      PortalFolderBase, DefaultDublinCoreImpl):
    """Implements basic Plone folder functionality except ordering support.
    """
 

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/PloneFolder.py   Products.CMFPlone(Download)
from Products.CMFCore.CMFCatalogAware import CatalogAware, WorkflowAware, \
                    OpaqueItemManager
from Products.CMFCore.PortalFolder import PortalFolderBase
from Products.CMFCore.permissions import AccessContentsInformation, \
                    AddPortalContent, AddPortalFolders, ListFolderContents, \
class BasePloneFolder(CatalogAware, WorkflowAware, OpaqueItemManager,
                      PortalFolderBase, DefaultDublinCoreImpl):
    """Implements basic Plone folder functionality except ordering support.
    """
 

  1 | 2 | 3  Next