Back to index

plone3  3.1.7
__init__.py
Go to the documentation of this file.
00001 ##############################################################################
00002 #
00003 # Copyright (c) 2005 Zope Corporation and Contributors. All Rights Reserved.
00004 #
00005 # This software is subject to the provisions of the Zope Public License,
00006 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
00007 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
00008 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00009 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
00010 # FOR A PARTICULAR PURPOSE.
00011 #
00012 ##############################################################################
00013 """ CMFCore.interfaces package.
00014 
00015 $Id: __init__.py 71686 2007-01-02 14:51:01Z tseaver $
00016 """
00017 
00018 from _content import *
00019 from _tools import *
00020 from _events import *
00021 
00022 import CachingPolicyManager
00023 import Contentish
00024 import ContentTypeRegistry
00025 import Discussions
00026 import DublinCore
00027 import Dynamic
00028 import Folderish
00029 import IOpaqueItems
00030 import portal_actions
00031 import portal_catalog
00032 import portal_discussion
00033 import portal_memberdata
00034 import portal_membership
00035 import portal_metadata
00036 import portal_properties
00037 import portal_registration
00038 import portal_skins
00039 import portal_types
00040 import portal_undo
00041 import portal_url
00042 import portal_workflow
00043 import Syndicatable
00044 
00045 # BBB: will be removed in CMF 2.2
00046 #      create zope2 interfaces
00047 from Interface.bridge import createZope3Bridge
00048 createZope3Bridge(ICachingPolicyManager, CachingPolicyManager,
00049                   'CachingPolicyManager')
00050 createZope3Bridge(IContentish, Contentish, 'Contentish')
00051 createZope3Bridge(IContentTypeRegistryPredicate, ContentTypeRegistry,
00052                   'ContentTypeRegistryPredicate')
00053 createZope3Bridge(IContentTypeRegistry, ContentTypeRegistry,
00054                   'ContentTypeRegistry')
00055 createZope3Bridge(IDiscussable, Discussions, 'Discussable')
00056 createZope3Bridge(IOldstyleDiscussable, Discussions, 'OldDiscussable')
00057 createZope3Bridge(IDiscussionResponse, Discussions, 'DiscussionResponse')
00058 createZope3Bridge(IDublinCore, DublinCore, 'DublinCore')
00059 createZope3Bridge(ICatalogableDublinCore, DublinCore, 'CatalogableDublinCore')
00060 createZope3Bridge(IMutableDublinCore, DublinCore, 'MutableDublinCore')
00061 createZope3Bridge(IDynamicType, Dynamic, 'DynamicType')
00062 createZope3Bridge(IFolderish, Folderish, 'Folderish')
00063 createZope3Bridge(ICallableOpaqueItem, IOpaqueItems, 'ICallableOpaqueItem')
00064 createZope3Bridge(ICallableOpaqueItemEvents, IOpaqueItems,
00065                   'ICallableOpaqueItemEvents')
00066 createZope3Bridge(IActionsTool, portal_actions, 'portal_actions')
00067 createZope3Bridge(IActionProvider, portal_actions, 'ActionProvider')
00068 createZope3Bridge(IActionInfo, portal_actions, 'ActionInfo')
00069 createZope3Bridge(ICatalogTool, portal_catalog, 'portal_catalog')
00070 createZope3Bridge(IIndexableObjectWrapper, portal_catalog,
00071                   'IndexableObjectWrapper')
00072 createZope3Bridge(IOldstyleDiscussionTool, portal_discussion,
00073                   'oldstyle_portal_discussion')
00074 createZope3Bridge(IDiscussionTool, portal_discussion, 'portal_discussion')
00075 createZope3Bridge(IMemberDataTool, portal_memberdata, 'portal_memberdata')
00076 createZope3Bridge(IMemberData, portal_memberdata, 'MemberData')
00077 createZope3Bridge(IMembershipTool, portal_membership, 'portal_membership')
00078 createZope3Bridge(IMetadataTool, portal_metadata, 'portal_metadata')
00079 createZope3Bridge(IPropertiesTool, portal_properties, 'portal_properties')
00080 createZope3Bridge(IRegistrationTool, portal_registration,
00081                   'portal_registration')
00082 createZope3Bridge(ISkinsContainer, portal_skins, 'SkinsContainer')
00083 createZope3Bridge(ISkinsTool, portal_skins, 'portal_skins')
00084 createZope3Bridge(ITypeInformation, portal_types, 'ContentTypeInformation')
00085 createZope3Bridge(ITypesTool, portal_types, 'portal_types')
00086 createZope3Bridge(IUndoTool, portal_undo, 'portal_undo')
00087 createZope3Bridge(IURLTool, portal_url, 'portal_url')
00088 createZope3Bridge(IWorkflowTool, portal_workflow, 'portal_workflow')
00089 createZope3Bridge(IWorkflowDefinition, portal_workflow, 'WorkflowDefinition')
00090 createZope3Bridge(ISyndicatable, Syndicatable, 'Syndicatable')
00091 
00092 del createZope3Bridge