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

All Samples(19)  |  Call(0)  |  Derive(4)  |  Import(15)
Base for BTree-based folders.
    

src/p/l/plone.folder-1.0.5/src/plone/folder/ordered.py   plone.folder(Download)
from AccessControl.Permissions import manage_properties
from OFS.interfaces import IOrderedContainer
from Products.BTreeFolder2.BTreeFolder2 import BTreeFolder2Base, _marker
from Products.ZCatalog.Lazy import LazyMap
 
class OrderedBTreeFolderBase(BTreeFolder2Base):
    """ BTree folder base class with ordering support. The ordering
        is done by a named adapter (to IOrdering), which makes the policy
        changeable. """
    implements(IOrderedContainer, IOrderableFolder, IAttributeAnnotatable)

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

src/e/r/erp5-HEAD/product/ERP5Type/patches/BTreeFolder2.py   erp5(Download)
# Stribger repair of BTreeFolder2
import sys
from Products.BTreeFolder2.BTreeFolder2 import BTreeFolder2Base
from Acquisition import aq_base
from BTrees.OOBTree import OOBTree
class ERP5BTreeFolder2Base(BTreeFolder2Base):
  """
    This class is only for backward compatibility.
  """
  pass

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/CMFBTreeFolder.py   Products.CMFCore(Download)
from AccessControl.SecurityInfo import ClassSecurityInfo
from App.class_init import InitializeClass
from Products.BTreeFolder2.BTreeFolder2 import BTreeFolder2Base
from zope.component.factory import Factory
 
class CMFBTreeFolder(BTreeFolder2Base, PortalFolderBase):
 
    """BTree folder for CMF sites.
    """
 

src/p/r/Products.orderedbtreefolder-1.3.0/Products/orderedbtreefolder/orderedbtreefolder.py   Products.orderedbtreefolder(Download)
from OFS.ObjectManager import ObjectManager
from OFS.OrderSupport import OrderSupport as OrderSupportBase
from Products.BTreeFolder2.BTreeFolder2 import BTreeFolder2Base
from ZODB.PersistentList import PersistentList
import Products.ZCatalog.Lazy
class OrderedBTreeFolderBase(OrderSupport, BTreeFolder2Base):
    """Base class which allows ordering of folder contents. For this some
    methods of the BTreeFolder2Base need to be overwritten.
    """
    __implements__  = OrderSupport.__implements__

src/p/l/plone.app.folder-1.0.6/src/plone/app/folder/migration.py   plone.app.folder(Download)
from logging import getLogger
from time import clock, strftime
from Acquisition import aq_base
from Products.Five.browser import BrowserView
from Products.BTreeFolder2.BTreeFolder2 import BTreeFolder2Base as BTreeFolder

src/c/o/collective.migrator-1.8/collective/migrator/scripts/site_config.py   collective.migrator(Download)
from StringIO import StringIO
from Products.PlonePAS.Extensions.Install import activatePluginInterfaces
from zope.component import getMultiAdapter
from Products.CMFCore.utils import getToolByName
from Products.BTreeFolder2.BTreeFolder2 import BTreeFolder2Base as BTreeFolder

src/c/o/collective.upgrade-1.0/src/collective/upgrade/steps.py   collective.upgrade(Download)
    def upgrade(self):
        from Products.BTreeFolder2.BTreeFolder2 import (
            BTreeFolder2Base as BTreeFolder)
        from plone.app.folder.migration import BTreeMigrationView
        self.folder_class = BTreeFolder

src/u/w/uwosh.pfg.d2c-2.4.3/uwosh/pfg/d2c/upgrades.py   uwosh.pfg.d2c(Download)
from time import clock
from Acquisition import aq_base
from Products.BTreeFolder2.BTreeFolder2 import BTreeFolder2Base as BTreeFolder
from folderutils import timer, checkpointIterator
from transaction import get

src/c/o/collective.upgrade-HEAD/src/collective/upgrade/steps.py   collective.upgrade(Download)
    def upgrade(self):
        from Products.BTreeFolder2.BTreeFolder2 import (
            BTreeFolder2Base as BTreeFolder)
        from plone.app.folder.migration import BTreeMigrationView
        self.folder_class = BTreeFolder

  1 | 2  Next