diff -r 1fe028e17f70 -r 34e6d07ea2e9 src/pyams_content/shared/news/interfaces/__init__.py --- a/src/pyams_content/shared/news/interfaces/__init__.py Mon Nov 05 13:20:10 2018 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -# -# Copyright (c) 2008-2015 Thierry Florac -# All Rights Reserved. -# -# This software is subject to the provisions of the Zope Public License, -# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. -# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED -# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS -# FOR A PARTICULAR PURPOSE. -# - -__docformat__ = 'restructuredtext' - - -# import standard library - -# import interfaces -from pyams_content.shared.common.interfaces import ISharedContent, \ - IWfSharedContentPortalContext, ISharedToolPortalContext - -# import packages -from zope.interface import Interface - -from pyams_content import _ - - -NEWS_CONTENT_TYPE = 'news' -NEWS_CONTENT_NAME = _("News topic") - - -class INewsManager(ISharedToolPortalContext): - """News manager interface""" - - -class INewsManagerFactory(Interface): - """News manager factory interface""" - - -class IWfNewsEvent(IWfSharedContentPortalContext): - """News event interface""" - - -class IWfNewsEventFactory(Interface): - """News event parent interface""" - - -class INewsEvent(ISharedContent): - """Workflow managed news event interface"""