Back to index

plone3  3.1.7
interfaces.py
Go to the documentation of this file.
00001 
00002 from zope.interface import Interface
00003 from kss.core.interfaces import IKSSView
00004 
00005 # Important for 2.1, in 2.5 these are defined alreadyy
00006 # XXX IMO AT's IBaseContent should inherit IContentish and
00007 # AT's IBaseFolder IFolderish but it's not so, however we
00008 # provide our contentish and folderish interfaces in a way
00009 # to include these already
00010 
00011 # Products.CMFPlone.interfaces.siteroot.IPloneSiteRoot
00012 class IPloneSiteRoot(Interface):
00013     'The portal root'
00014         
00015 #Products.CMFCore.interfaces._content.IFolderish
00016 #Products.Archetypes.interfaces._base.IBaseFolder
00017 class IFolderish(Interface):
00018     'All folderish objects including AT ones'
00019 
00020 #Products.CMFCore.interfaces._content.IContentish
00021 #Products.Archetypes.interfaces._base.IBaseContent
00022 class IContentish(Interface):
00023     'All contentish objects including AT ones'
00024 
00025 # this is not found in 2.5
00026 
00027 # contentish + folderish (incl. site root)
00028 class IPortalObject(Interface):
00029     'All portal objects including AT ones'
00030 
00031 class IPloneKSSView(IKSSView):
00032     '''View for Plone'''