src/pyams_content/shared/topic/interfaces/__init__.py
changeset 972 bfdb9bbc9175
parent 622 76b7c0b5bfa6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/topic/interfaces/__init__.py	Fri Sep 21 14:51:25 2018 +0200
@@ -0,0 +1,43 @@
+#
+# Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net>
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+
+__docformat__ = 'restructuredtext'
+
+from zope.interface import Interface
+
+from pyams_content import _
+from pyams_content.shared.common.interfaces import ISharedContent, ISharedToolPortalContext, \
+    IWfSharedContentPortalContext
+
+
+TOPIC_CONTENT_TYPE = 'topic'
+TOPIC_CONTENT_NAME = _("Topic")
+
+
+class ITopicManager(ISharedToolPortalContext):
+    """Topic manager interface"""
+
+
+class ITopicManagerFactory(Interface):
+    """Topic manager factory interface"""
+
+
+class IWfTopic(IWfSharedContentPortalContext):
+    """Topic interface"""
+
+
+class IWfTopicFactory(Interface):
+    """Topic parent interface"""
+
+
+class ITopic(ISharedContent):
+    """Workflow managed topic interface"""