Back to index

plone3  3.1.7
interfaces.py
Go to the documentation of this file.
00001 from zope.interface import Interface
00002 
00003 
00004 class IViewletSettingsStorage(Interface):
00005     """Stores settings for viewlets, like order and visibility."""
00006 
00007     def getOrder(name, skinname):
00008         """Returns tuple with ordered names of viewlets for the given
00009            viewletmanager (name) and skin name."""
00010 
00011     def setOrder(name, skinname, order):
00012         """Takes the tuple of names from ``order`` and stores it for the
00013            given viewletmanager (name) and skin name."""
00014 
00015     def getHidden(name, skinname):
00016         """Returns tuple with names of hidden viewlets for the given
00017            viewletmanager (name) and skin name."""
00018 
00019     def setHidden(name, skinname, hidden):
00020         """Takes the tuple of names from ``hidden`` and stores it for the
00021            given viewletmanager (name) and skin name."""
00022 
00023 
00024 class IViewletManagementView(Interface):
00025     pass