src/pyams_content/shared/blog/manager.py
changeset 694 4541a452fd4c
parent 618 3c48622a2937
child 963 fff756709617
equal deleted inserted replaced
693:26d51b558325 694:4541a452fd4c
    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.illustration import IIllustrationTarget, ILinkIllustrationTarget
    20 from pyams_content.component.paragraph.interfaces import IParagraphFactorySettings
    20 from pyams_content.component.paragraph.interfaces import IParagraphFactorySettings
    21 from pyams_content.component.theme.interfaces import IThemesManagerTarget
    21 from pyams_content.component.theme.interfaces import IThemesManagerTarget
    22 from pyams_content.features.footer.interfaces import IFooterTarget
    22 from pyams_content.features.footer.interfaces import IFooterTarget
    23 from pyams_content.features.header.interfaces import IHeaderTarget
    23 from pyams_content.features.header.interfaces import IHeaderTarget
    24 from pyams_content.features.preview.interfaces import IPreviewTarget
    24 from pyams_content.features.preview.interfaces import IPreviewTarget
    52                 return False
    52                 return False
    53         return True
    53         return True
    54 
    54 
    55 
    55 
    56 @implementer(IBlogManager, IParagraphFactorySettings, IThemesManagerTarget, IPictogramManagerTarget,
    56 @implementer(IBlogManager, IParagraphFactorySettings, IThemesManagerTarget, IPictogramManagerTarget,
    57              IIllustrationTarget, IHeaderTarget, IFooterTarget, IPortalContext, IPreviewTarget)
    57              IIllustrationTarget, ILinkIllustrationTarget, IHeaderTarget, IFooterTarget, IPortalContext, IPreviewTarget)
    58 class BlogManager(Folder, BaseSharedTool, UserSkinnableContent):
    58 class BlogManager(Folder, BaseSharedTool, UserSkinnableContent):
    59     """Nlog manager class"""
    59     """Nlog manager class"""
    60 
    60 
    61     allowed_paragraphs = FieldProperty(IParagraphFactorySettings['allowed_paragraphs'])
    61     allowed_paragraphs = FieldProperty(IParagraphFactorySettings['allowed_paragraphs'])
    62     auto_created_paragraphs = FieldProperty(IParagraphFactorySettings['auto_created_paragraphs'])
    62     auto_created_paragraphs = FieldProperty(IParagraphFactorySettings['auto_created_paragraphs'])