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

Last change on this file since 1759 was 1759, checked in by mylan, 14 years ago

Added GS catalogupdater import handler and XMLAdapter for catalogupdate.xml files in the GS profile

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