15 from zope.container.constraints import containers, contains |
15 from zope.container.constraints import containers, contains |
16 from zope.container.interfaces import IContainer |
16 from zope.container.interfaces import IContainer |
17 from zope.interface import Attribute, Interface |
17 from zope.interface import Attribute, Interface |
18 from zope.schema import Text |
18 from zope.schema import Text |
19 |
19 |
20 from pyams_content.shared.common.interfaces import ISharedSite, IBaseSharedTool, ISharedContent, \ |
20 from pyams_content import _ |
21 IDeletableElement, IWfSharedContentPortalContext |
21 from pyams_content.shared.common.interfaces import IBaseSharedTool, IDeletableElement, ISharedContent, ISharedSite, \ |
|
22 IWfSharedContentPortalContext |
22 from pyams_i18n.schema import I18nTextField |
23 from pyams_i18n.schema import I18nTextField |
23 from pyams_sequence.interfaces import ISequentialIdTarget |
24 from pyams_sequence.interfaces import IInternalReferencesList, ISequentialIdTarget |
24 from pyams_workflow.interfaces import IWorkflowPublicationSupport |
25 from pyams_workflow.interfaces import IWorkflowPublicationSupport |
25 |
|
26 from pyams_content import _ |
|
27 |
26 |
28 |
27 |
29 BLOG_CONTENT_TYPE = 'blog' |
28 BLOG_CONTENT_TYPE = 'blog' |
30 BLOG_CONTENT_NAME = _("Blog post") |
29 BLOG_CONTENT_NAME = _("Blog post") |
31 |
30 |
32 |
31 |
33 class IWfBlogPost(IWfSharedContentPortalContext): |
32 class IWfBlogPost(IWfSharedContentPortalContext, IInternalReferencesList): |
34 """Blog topic interface""" |
33 """Blog topic interface""" |
35 |
34 |
36 |
35 |
37 class IWfBlogPostFactory(Interface): |
36 class IWfBlogPostFactory(Interface): |
38 """Blog post factory interface""" |
37 """Blog post factory interface""" |