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

Last change on this file since 586 was 586, checked in by chervol, 18 years ago

showButtons renamed to showByline

File size: 850 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    """
Note: See TracBrowser for help on using the repository browser.