1 # |
|
2 # Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net> |
|
3 # All Rights Reserved. |
|
4 # |
|
5 # This software is subject to the provisions of the Zope Public License, |
|
6 # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. |
|
7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED |
|
8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS |
|
10 # FOR A PARTICULAR PURPOSE. |
|
11 # |
|
12 |
|
13 __docformat__ = 'restructuredtext' |
|
14 |
|
15 from zope.interface import Interface |
|
16 |
|
17 from pyams_content import _ |
|
18 from pyams_content.shared.common.interfaces import ISharedContent, ISharedToolPortalContext, \ |
|
19 IWfSharedContentPortalContext |
|
20 |
|
21 |
|
22 TOPIC_CONTENT_TYPE = 'topic' |
|
23 TOPIC_CONTENT_NAME = _("Topic") |
|
24 |
|
25 |
|
26 class ITopicManager(ISharedToolPortalContext): |
|
27 """Topic manager interface""" |
|
28 |
|
29 |
|
30 class ITopicManagerFactory(Interface): |
|
31 """Topic manager factory interface""" |
|
32 |
|
33 |
|
34 class IWfTopic(IWfSharedContentPortalContext): |
|
35 """Topic interface""" |
|
36 |
|
37 |
|
38 class IWfTopicFactory(Interface): |
|
39 """Topic parent interface""" |
|
40 |
|
41 |
|
42 class ITopic(ISharedContent): |
|
43 """Workflow managed topic interface""" |
|