Back to index

plone3  3.1.7
controlpanel.py
Go to the documentation of this file.
00001 from basetool import IPloneBaseTool
00002 
00003 class IControlPanel(IPloneBaseTool):
00004     """ Interface for the ControlPanel """
00005 
00006     def registerConfiglet( id
00007                  , name
00008                  , action
00009                  , condition=''
00010                  , permission=''
00011                  , category='Plone'
00012                  , visible=1
00013                  , appId=None
00014                  , imageUrl=None
00015                  , description=''
00016                  , REQUEST=None
00017                  ):
00018         """ Registration of a Configlet """
00019 
00020     def unregisterConfiglet(id):
00021         """ unregister Configlet """
00022 
00023     def unregisterApplication(appId):
00024         """ unregister Application with all configlets """
00025 
00026     def getGroupIds():
00027         """ list of the group ids """
00028 
00029     def getGroups():
00030         """ list of groups as dicts with id and title """
00031 
00032     def enumConfiglets(group=None):
00033         """ lists the Configlets of a group, returns them as dicts by
00034             calling .getAction() on each of them """