source: products/quintagroup.transmogrifier.simpleblog2quills/branches/without_image_move/quintagroup/transmogrifier/simpleblog2quills/interfaces.py @ 1552

Last change on this file since 1552 was 1247, checked in by koval, 15 years ago

now images are not moved to central folder on export

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