source: products/quintagroup.catalogupdater/trunk/quintagroup/catalogupdater/interfaces.py

Last change on this file was 3142, checked in by vmaksymiv, 13 years ago

pep8 fixes

  • Property svn:eol-style set to native
File size: 591 bytes
Line 
1from zope.interface import Interface
2
3
4class IUpdatableCatalog(Interface):
5    """ Marker interface for separate GenericSetup
6        exportimport handler
7    """
8
9
10class ICatalogUpdater(Interface):
11
12    def updateMetadata4All(catalog, columns):
13        """ Update metadata in the *catalog* for each column
14            in the *columns* list for all records.
15
16              * catalog - ZCatalog descendent catalog;
17              * columns - list of metadata names, or
18                          string with name of single
19                          metadata, which must be updated.
20        """
Note: See TracBrowser for help on using the repository browser.