src/pyams_content/shared/topic/interfaces/__init__.py
changeset 1059 34e6d07ea2e9
parent 1058 1fe028e17f70
child 1060 29b1aaf9e080
equal deleted inserted replaced
1058:1fe028e17f70 1059:34e6d07ea2e9
     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"""