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

All Samples(15)  |  Call(2)  |  Derive(4)  |  Import(9)

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/BaseBTreeFolder.py   Products.Archetypes(Download)
from Products.Archetypes import WebDAVSupport
from Products.Archetypes.atapi import BaseFolder
from Products.Archetypes.interfaces import IBaseFolder
from Products.CMFCore import permissions
from Products.CMFCore.CMFBTreeFolder import CMFBTreeFolder
class ObsoleteBaseBTreeFolder(CMFBTreeFolder, BaseFolder):
    """ A BaseBTreeFolder with all the bells and whistles"""
 
    security = ClassSecurityInfo()
 

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/BaseBTreeFolder.py   Products.Archetypes(Download)
from Products.Archetypes import WebDAVSupport
from Products.Archetypes.atapi import BaseFolder
from Products.Archetypes.interfaces import IBaseFolder
from Products.CMFCore import permissions
from Products.CMFCore.CMFBTreeFolder import CMFBTreeFolder
class ObsoleteBaseBTreeFolder(CMFBTreeFolder, BaseFolder):
    """ A BaseBTreeFolder with all the bells and whistles"""
 
    security = ClassSecurityInfo()
 

src/p/r/Products.CMFPlomino-1.18.6/Products/CMFPlomino/PlominoDocument.py   Products.CMFPlomino(Download)
from OFS.Image import File
from Products.Archetypes.config import RENAME_AFTER_CREATION_ATTEMPTS
from Products.CMFCore.CMFBTreeFolder import CMFBTreeFolder
from Products.CMFCore.exceptions import BadRequest
from Products.CMFCore.utils import getToolByName
class PlominoDocument(CatalogAware, CMFBTreeFolder, Contained):
    """ These represent the contents in a Plomino database.
 
    A document contains *items*.
    An item may or may not correspond to fields on one or more forms.

src/p/l/Plomino-HEAD/Products/CMFPlomino/PlominoDocument.py   Plomino(Download)
from OFS.Image import File
from Products.Archetypes.config import RENAME_AFTER_CREATION_ATTEMPTS
from Products.CMFCore.CMFBTreeFolder import CMFBTreeFolder
from Products.CMFCore.exceptions import BadRequest
from Products.CMFCore.utils import getToolByName
class PlominoDocument(CatalogAware, CMFBTreeFolder, Contained):
    """ These represent the contents in a Plomino database.
 
    A document contains *items*.
    An item may or may not correspond to fields on one or more forms.

src/e/r/erp5-HEAD/product/ERP5Type/patches/CMFBTreeFolder.py   erp5(Download)
#from Products.CMFCore.PortalFolder import PortalFolder
try:
  from Products.CMFCore.CMFBTreeFolder import CMFBTreeFolder
except ImportError:
  from Products.BTreeFolder2.CMFBTreeFolder import CMFBTreeFolder

src/e/r/erp5-HEAD/product/ERP5Type/Core/Folder.py   erp5(Download)
 
try:
  from Products.CMFCore.CMFBTreeFolder import CMFBTreeFolder
except ImportError:
  from Products.BTreeFolder2.CMFBTreeFolder import CMFBTreeFolder

src/p/r/Products.CMFDefault-2.3.0-beta2/Products/CMFDefault/tests/test_SyndicationTool.py   Products.CMFDefault(Download)
        # syndicatable content
        from Products.CMFCore.PortalFolder import PortalFolder
        from Products.CMFCore.CMFBTreeFolder import CMFBTreeFolder
        from Products.CMFCore.TypesTool import TypesTool
 
        getSiteManager().registerUtility(TypesTool(), ITypesTool)
        self.app._setObject('pf', PortalFolder('pf'))
        self.app._setObject('bf', CMFBTreeFolder('bf'))
        tool = self._makeOne()
        tool.period = PERIOD

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_MembershipTool.py   Products.CMFCore(Download)
from zope.testing.cleanup import cleanUp
 
from Products.CMFCore.CMFBTreeFolder import CMFBTreeFolder
from Products.CMFCore.interfaces import ISiteRoot
from Products.CMFCore.MemberDataTool import MemberDataTool
        site = self._makeSite()
        mtool = site.portal_membership
        members = site._setObject( 'Members', CMFBTreeFolder('Members') )
        acl_users = site._setObject( 'acl_users', DummyUserFolder() )
        wtool = site._setObject( 'portal_workflow', DummyTool() )

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_CMFBTreeFolder.py   Products.CMFCore(Download)
    def _getTargetClass(self):
        from Products.CMFCore.CMFBTreeFolder import CMFBTreeFolder
 
        return CMFBTreeFolder