src/pyams_content/shared/site/manager.py
changeset 353 4839285629d1
parent 300 49e8f3cef75a
child 481 b69f240fc46d
equal deleted inserted replaced
352:a84cf36e9d1b 353:4839285629d1
    14 
    14 
    15 
    15 
    16 # import standard library
    16 # import standard library
    17 
    17 
    18 # import interfaces
    18 # import interfaces
       
    19 from pyams_content.component.illustration import IIllustrationTarget
    19 from pyams_content.component.paragraph.interfaces import IParagraphFactorySettings
    20 from pyams_content.component.paragraph.interfaces import IParagraphFactorySettings
    20 from pyams_content.component.theme.interfaces import IThemesManagerTarget
    21 from pyams_content.component.theme.interfaces import IThemesManagerTarget
    21 from pyams_content.interfaces import MANAGE_SITE_PERMISSION
    22 from pyams_content.interfaces import MANAGE_SITE_PERMISSION
    22 from pyams_content.shared.site.interfaces import ISiteManager, TOPIC_CONTENT_TYPE
    23 from pyams_content.shared.site.interfaces import ISiteManager, TOPIC_CONTENT_TYPE
    23 from pyams_form.interfaces.form import IFormContextPermissionChecker
    24 from pyams_form.interfaces.form import IFormContextPermissionChecker
    44 from zope.schema.fieldproperty import FieldProperty
    45 from zope.schema.fieldproperty import FieldProperty
    45 from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
    46 from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
    46 
    47 
    47 
    48 
    48 @implementer(ISiteManager, IParagraphFactorySettings, IThemesManagerTarget,
    49 @implementer(ISiteManager, IParagraphFactorySettings, IThemesManagerTarget,
    49              IPortalContext, IAttributeAnnotatable)
    50              IIllustrationTarget, IPortalContext, IAttributeAnnotatable)
    50 class SiteManager(SiteContainerMixin, OrderedContainer, BaseSharedTool, UserSkinnableContent):
    51 class SiteManager(SiteContainerMixin, OrderedContainer, BaseSharedTool, UserSkinnableContent):
    51     """Site manager persistent class"""
    52     """Site manager persistent class"""
    52 
    53 
    53     folder_factory = SiteFolder
    54     folder_factory = SiteFolder
    54 
    55