Last change
on this file since 2683 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
|
Rev | Line | |
---|
[1754] | 1 | from zope.interface import Interface |
---|
| 2 | |
---|
[1759] | 3 | class IUpdatableCatalog(Interface): |
---|
| 4 | """ Marker interface for separate GenericSetup |
---|
| 5 | exportimport handler |
---|
| 6 | """ |
---|
| 7 | |
---|
[1754] | 8 | class ICatalogUpdater(Interface): |
---|
| 9 | |
---|
[1755] | 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. |
---|
[1754] | 18 | """ |
---|
| 19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.