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

Last change on this file since 532 was 532, checked in by crchemist, 18 years ago

Clean up code.

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