Author: jmorliaguet Date: Thu Jun 29 20:55:31 2006 New Revision: 3564 Modified: cpsskins/branches/paris-sprint-2006/thememanager.py
Log: - added missing interface methods Modified: cpsskins/branches/paris-sprint-2006/thememanager.py ============================================================================== --- cpsskins/branches/paris-sprint-2006/thememanager.py (original) +++ cpsskins/branches/paris-sprint-2006/thememanager.py Thu Jun 29 20:55:31 2006 @@ -56,6 +56,9 @@ The methods may be moved to other classes. """ + def registerUtilities(): + """Register the various components.""" + def getIdRegistry(): """Return the unique id registry.""" @@ -68,14 +71,14 @@ def getFormatStorage(): """Return the format storage.""" - def getSnapshotStorage(): - """Return the snapshot storage.""" + def getPortletStorage(): + """Return the portlet storage.""" def getLocationStorage(): """Return the location storage.""" - def getPortletStorage(): - """Return the portlet storage.""" + def getSnapshotStorage(): + """Return the snapshot storage.""" def getPresets(): """Return the presets.""" @@ -95,12 +98,12 @@ def addPage(theme, page, name): """Add a page.""" - def isDefault(object): - """Return true if the object is used by default.""" - def getThemes(): """Return the list of available themes.""" + def getPages(theme): + """Return the list of available pages in a theme.""" + def deleteTheme(name): """Delete a theme.""" @@ -113,6 +116,12 @@ def getPageByName(name): """Return a page by its name.""" + def isDefault(object): + """Return true if the object is used by default.""" + + def setAsDefault(object): + """Set the object as a default object.""" + def getDefaultTheme(): """Return the default theme.""" -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins