src/pyams_content/shared/news/interfaces/__init__.py
changeset 621 a75b1fc09fde
parent 492 04503227569d
child 622 76b7c0b5bfa6
equal deleted inserted replaced
620:7de4aaf90bff 621:a75b1fc09fde
    14 
    14 
    15 
    15 
    16 # import standard library
    16 # import standard library
    17 
    17 
    18 # import interfaces
    18 # import interfaces
    19 from pyams_content.shared.common.interfaces import ISharedTool, IWfSharedContent, ISharedContent
    19 from pyams_content.shared.common.interfaces import ISharedTool, ISharedContent, \
       
    20     IWfSharedContentPortalContext
    20 
    21 
    21 # import packages
    22 # import packages
    22 from zope.interface import Interface
    23 from zope.interface import Interface
    23 
    24 
    24 from pyams_content import _
    25 from pyams_content import _
    34 
    35 
    35 class INewsManagerFactory(Interface):
    36 class INewsManagerFactory(Interface):
    36     """News manager factory interface"""
    37     """News manager factory interface"""
    37 
    38 
    38 
    39 
    39 class IWfNewsEvent(IWfSharedContent):
    40 class IWfNewsEvent(IWfSharedContentPortalContext):
    40     """News event interface"""
    41     """News event interface"""
    41 
    42 
    42 
    43 
    43 class IWfNewsEventFactory(Interface):
    44 class IWfNewsEventFactory(Interface):
    44     """News event parent interface"""
    45     """News event parent interface"""