source: products/quintagroup.transmogrifier.simpleblog2quills/trunk/quintagroup/transmogrifier/simpleblog2quills/interfaces.py @ 1489

Last change on this file since 1489 was 612, checked in by crchemist, 17 years ago

reverting erroneous commit [368] (svn merge -r 368:367 http://svn/products/qPloneComments/tags/2.0)

File size: 999 bytes
Line 
1from zope.interface import Interface
2
3class IBlog(Interface):
4    """ Marker interface for SimpleBlog blog object.
5    """
6
7class IBlogFolder(Interface):
8    """ Marker interface for SimpleBlog blog folder object.
9    """
10
11class IBlogEntry(Interface):
12    """ Marker interface for SimpleBlog blog entry object.
13    """
14
15class IItemManipulator(Interface):
16    """ Interface for adapters that are looked up in 'itemmanipulator'
17        pipeline section.
18    """
19
20    def __call__(item, **kw):
21        """ Do something with a pipeline item and return it.
22            kw - dictionary with extra arguments, for example some useful keys
23                in item (pathkey, ...)
24        """
25
26class IExportItemManipulator(IItemManipulator):
27    """ Exporting adapter.
28    """
29
30class IImportItemManipulator(IItemManipulator):
31    """ Importing adapter
32    """
33
34try:
35    from Products.Archetypes.interfaces import IBaseObject
36except ImportError:
37    from plone.app.transmogrifier.interfaces import IBaseObject
Note: See TracBrowser for help on using the repository browser.