src/pyams_content/shared/hub/interfaces.py
changeset 1424 60d14cecb200
parent 1420 f2cc8872bcc1
child 1434 13db47aeac34
equal deleted inserted replaced
1423:31c1bc24a308 1424:60d14cecb200
       
     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 from collections import OrderedDict
       
    14 
       
    15 from zope.annotation.interfaces import IAttributeAnnotatable
       
    16 from zope.container.constraints import containers, contains
       
    17 from zope.container.interfaces import IContained, IContainer
       
    18 from zope.interface import Attribute, Interface
       
    19 from zope.schema import Bool, Choice, Text, URI
       
    20 from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
       
    21 
       
    22 from pyams_content.interfaces import IBaseContent
       
    23 from pyams_content.shared.common.interfaces import IBaseContentManagerRoles, IBaseSharedTool, \
       
    24     IDeletableElement, ISharedSite
       
    25 from pyams_content.shared.common.interfaces.types import DATA_TYPES_VOCABULARY
       
    26 from pyams_content.shared.site.interfaces import ISiteManager
       
    27 from pyams_content.shared.topic.interfaces import ITopic, IWfTopic, IWfTopicFactory
       
    28 from pyams_i18n.schema import I18nTextField, I18nTextLineField
       
    29 from pyams_sequence.interfaces import IInternalReference, IInternalReferencesList, \
       
    30     ISequentialIdTarget
       
    31 from pyams_workflow.interfaces import IWorkflowPublicationSupport
       
    32 
       
    33 
       
    34 __docformat__ = 'restructuredtext'
       
    35 
       
    36 from pyams_content import _
       
    37 
       
    38 
       
    39 class IHubManager(ISiteManager):
       
    40     """Hub manager interface"""
       
    41 
       
    42 
       
    43 class IHubManagerFactory(Interface):
       
    44     """Hub manager factory interface"""