src/pyams_content/shared/common/interfaces/__init__.py
changeset 621 a75b1fc09fde
parent 602 5f78ad6fe809
child 622 76b7c0b5bfa6
equal deleted inserted replaced
620:7de4aaf90bff 621:a75b1fc09fde
     7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
     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
     8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
     9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
     9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
    10 # FOR A PARTICULAR PURPOSE.
    10 # FOR A PARTICULAR PURPOSE.
    11 #
    11 #
       
    12 from pyams_portal.interfaces import IPortalContext
    12 
    13 
    13 __docformat__ = 'restructuredtext'
    14 __docformat__ = 'restructuredtext'
    14 
    15 
    15 
    16 
    16 # import standard library
    17 # import standard library
   154     notepad = Text(title=_("Notepad"),
   155     notepad = Text(title=_("Notepad"),
   155                    description=_("Internal information to be known about this content"),
   156                    description=_("Internal information to be known about this content"),
   156                    required=False)
   157                    required=False)
   157 
   158 
   158 
   159 
       
   160 class IWfSharedContentPortalContext(IWfSharedContent, IPortalContext):
       
   161     """Shared content with portal support"""
       
   162 
       
   163 
   159 class IWfSharedContentFactory(Interface):
   164 class IWfSharedContentFactory(Interface):
   160     """Shared content factory interface"""
   165     """Shared content factory interface"""
   161 
   166 
   162 
   167 
   163 class IWfSharedContentRoles(Interface):
   168 class IWfSharedContentRoles(Interface):