src/pyams_content/shared/site/interfaces/__init__.py
changeset 756 328866bc10ba
parent 621 a75b1fc09fde
child 841 d50743e69693
equal deleted inserted replaced
755:8446facedb4a 756:328866bc10ba
    17 
    17 
    18 # import interfaces
    18 # import interfaces
    19 from pyams_content.interfaces import IBaseContent
    19 from pyams_content.interfaces import IBaseContent
    20 from pyams_sequence.interfaces import ISequentialIdTarget, IInternalReference
    20 from pyams_sequence.interfaces import ISequentialIdTarget, IInternalReference
    21 from pyams_workflow.interfaces import IWorkflowPublicationSupport
    21 from pyams_workflow.interfaces import IWorkflowPublicationSupport
       
    22 from zope.annotation.interfaces import IAttributeAnnotatable
    22 from zope.container.interfaces import IContainer, IContained
    23 from zope.container.interfaces import IContainer, IContained
    23 
    24 
    24 # import packages
    25 # import packages
    25 from pyams_content.shared.common.interfaces import ISharedSite, ISharedContent, \
    26 from pyams_content.shared.common.interfaces import ISharedSite, ISharedContent, \
    26     IBaseContentManagerRoles, IBaseSharedTool, IDeletableElement, IWfSharedContentPortalContext
    27     IBaseContentManagerRoles, IBaseSharedTool, IDeletableElement, IWfSharedContentPortalContext
   105 
   106 
   106 class ITopic(ISharedContent, ISiteElement):
   107 class ITopic(ISharedContent, ISiteElement):
   107     """Workflow managed topic interface"""
   108     """Workflow managed topic interface"""
   108 
   109 
   109 
   110 
   110 class IContentLink(ISiteElement, IInternalReference):
   111 class IContentLink(ISiteElement, IInternalReference, IAttributeAnnotatable):
   111     """Rented content interface"""
   112     """Rented content interface"""
   112 
   113 
   113     alt_title = I18nTextLineField(title=_("Alternate title"),
   114     alt_title = I18nTextLineField(title=_("Alternate title"),
   114                                   description=_("Content title, as shown in front-office"),
   115                                   description=_("Content title, as shown in front-office"),
   115                                   required=False)
   116                                   required=False)