Back to index

plone3  3.1.7
__init__.py
Go to the documentation of this file.
00001 """
00002 This file is here to make the module importable.
00003 """
00004 import Products.Five
00005 from Products.Archetypes import utils
00006 from _annotations import IATAnnotatable, IATAnnotations
00007 from _base import IBaseObject, IBaseContent, IBaseFolder, IBaseUnit
00008 from _event import IObjectInitializedEvent, IObjectEditedEvent, IEditBegunEvent, IEditCancelledEvent
00009 from _field import IField, IObjectField, IImageField, IFileField, IFieldDefaultProvider
00010 from _layer import ILayer, ILayerContainer, ILayerRuntime
00011 from _marshall import IMarshall
00012 from _orderedfolder import IOrderedFolder, IOrderedContainer
00013 from _referenceable import IReferenceable
00014 from _referenceengine import IReference, IContentReference, IReferenceCatalog, IUIDCatalog
00015 from _schema import ISchema, ISchemata, ICompositeSchema, IBindableSchema, IManagedSchema, IMultiPageSchema
00016 from _storage import IStorage, ISQLStorage
00017 from _templatemixin import ITemplateMixin
00018 from _vocabulary import IVocabulary
00019 from _athistoryaware import IATHistoryAware
00020 from _archetypetool import IArchetypeTool
00021 from _edit import IEditForm
00022 from _validator import IObjectPreValidation, IObjectPostValidation
00023 from _viewlet import IEditAfterFieldsets
00024 
00025 # BBB
00026 from Interface.bridge import createZope3Bridge
00027 
00028 # metadata will follow style of other interfaces come CMF 1.6
00029 from metadata import IExtensibleMetadata
00030 from Products.Five.bridge import fromZ2Interface
00031 IExtensibleMetadata=fromZ2Interface(IExtensibleMetadata)
00032 
00033 import annotations
00034 import base
00035 import field
00036 import layer
00037 import marshall
00038 import metadata
00039 import orderedfolder
00040 import referenceable
00041 import referenceengine
00042 import schema
00043 import storage
00044 import vocabulary
00045 import templatemixin
00046 import athistoryaware
00047 
00048 # generate zope2 interfaces
00049 _m=utils.makeZ3Bridges
00050 _m(annotations, IATAnnotatable, IATAnnotations)
00051 _m(base, IBaseObject, IBaseContent, IBaseFolder, IBaseUnit)
00052 _m(field, IField, IObjectField, IImageField, IFileField)
00053 _m(layer, ILayer, ILayerContainer, ILayerRuntime)
00054 _m(marshall, IMarshall)
00055 _m(referenceable, IReferenceable)
00056 _m(referenceengine, IReference, IContentReference, IReferenceCatalog, IUIDCatalog)
00057 _m(schema, ISchema, ISchemata, ICompositeSchema, IBindableSchema, IManagedSchema )
00058 _m(storage, IStorage, ISQLStorage)
00059 _m(vocabulary, IVocabulary)
00060 _m(orderedfolder, IOrderedFolder, IOrderedContainer)
00061 _m(templatemixin, ITemplateMixin)
00062 _m(athistoryaware, IATHistoryAware)