src/pyams_content/shared/blog/interfaces/__init__.py
changeset 621 a75b1fc09fde
parent 492 04503227569d
child 963 fff756709617
equal deleted inserted replaced
620:7de4aaf90bff 621:a75b1fc09fde
    14 
    14 
    15 
    15 
    16 # import standard library
    16 # import standard library
    17 
    17 
    18 # import interfaces
    18 # import interfaces
    19 from pyams_content.shared.common.interfaces import ISharedSite, IBaseSharedTool, IWfSharedContent, ISharedContent, \
    19 from pyams_content.shared.common.interfaces import ISharedSite, IBaseSharedTool, ISharedContent, \
    20     IDeletableElement
    20     IDeletableElement, IWfSharedContentPortalContext
    21 from pyams_sequence.interfaces import ISequentialIdTarget
    21 from pyams_sequence.interfaces import ISequentialIdTarget
    22 from pyams_workflow.interfaces import IWorkflowPublicationSupport
    22 from pyams_workflow.interfaces import IWorkflowPublicationSupport
    23 from zope.container.interfaces import IContainer
    23 from zope.container.interfaces import IContainer
    24 
    24 
    25 # import packages
    25 # import packages
    31 
    31 
    32 BLOG_CONTENT_TYPE = 'blog'
    32 BLOG_CONTENT_TYPE = 'blog'
    33 BLOG_CONTENT_NAME = _("Blog post")
    33 BLOG_CONTENT_NAME = _("Blog post")
    34 
    34 
    35 
    35 
    36 class IWfBlogPost(IWfSharedContent):
    36 class IWfBlogPost(IWfSharedContentPortalContext):
    37     """Blog topic interface"""
    37     """Blog topic interface"""
    38 
    38 
    39 
    39 
    40 class IWfBlogPostFactory(Interface):
    40 class IWfBlogPostFactory(Interface):
    41     """Blog post factory interface"""
    41     """Blog post factory interface"""