equal
deleted
inserted
replaced
16 # import standard library |
16 # import standard library |
17 |
17 |
18 # import interfaces |
18 # import interfaces |
19 from pyams_content.component.illustration import IIllustrationTarget, ILinkIllustrationTarget |
19 from pyams_content.component.illustration import IIllustrationTarget, ILinkIllustrationTarget |
20 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget |
20 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget |
21 from pyams_content.component.theme.interfaces import IThemesTarget |
21 from pyams_content.component.theme.interfaces import ITagsTarget, IThemesTarget |
22 from pyams_content.features.preview.interfaces import IPreviewTarget |
22 from pyams_content.features.preview.interfaces import IPreviewTarget |
23 from pyams_content.features.review.interfaces import IReviewTarget |
23 from pyams_content.features.review.interfaces import IReviewTarget |
24 from pyams_content.shared.site.interfaces import ITopic, IWfTopic, TOPIC_CONTENT_NAME, \ |
24 from pyams_content.shared.site.interfaces import ITopic, IWfTopic, TOPIC_CONTENT_NAME, \ |
25 TOPIC_CONTENT_TYPE, IWfTopicFactory |
25 TOPIC_CONTENT_TYPE, IWfTopicFactory |
26 from pyams_workflow.interfaces import IWorkflow, IWorkflowVersions, IWorkflowState |
26 from pyams_workflow.interfaces import IWorkflow, IWorkflowVersions, IWorkflowState |
30 from pyams_utils.adapter import adapter_config |
30 from pyams_utils.adapter import adapter_config |
31 from zope.interface import implementer, provider |
31 from zope.interface import implementer, provider |
32 |
32 |
33 |
33 |
34 @implementer(IWfTopic, IIllustrationTarget, ILinkIllustrationTarget, IParagraphContainerTarget, |
34 @implementer(IWfTopic, IIllustrationTarget, ILinkIllustrationTarget, IParagraphContainerTarget, |
35 IThemesTarget, IPreviewTarget, IReviewTarget) |
35 ITagsTarget, IThemesTarget, IPreviewTarget, IReviewTarget) |
36 class WfTopic(WfSharedContent): |
36 class WfTopic(WfSharedContent): |
37 """Base topic""" |
37 """Base topic""" |
38 |
38 |
39 content_type = TOPIC_CONTENT_TYPE |
39 content_type = TOPIC_CONTENT_TYPE |
40 content_name = TOPIC_CONTENT_NAME |
40 content_name = TOPIC_CONTENT_NAME |