Last change
on this file since 532 was
532,
checked in by crchemist, 18 years ago
|
Clean up code.
|
File size:
751 bytes
|
Line | |
---|
1 | from zope.interface import Interface |
---|
2 | |
---|
3 | class IBlog(Interface): |
---|
4 | """ Marker interface for SimpleBlog blog object. |
---|
5 | """ |
---|
6 | |
---|
7 | class IBlogEntry(Interface): |
---|
8 | """ Marker interface for SimpleBlog blog entry object. |
---|
9 | """ |
---|
10 | |
---|
11 | class 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 | |
---|
22 | class IExportItemManipulator(IItemManipulator): |
---|
23 | """ Exporting adapter. |
---|
24 | """ |
---|
25 | |
---|
26 | class IImportItemManipulator(IItemManipulator): |
---|
27 | """ Importing adapter |
---|
28 | """ |
---|
Note: See
TracBrowser
for help on using the repository browser.