Package ZenWidgets :: Module Portlet
[hide private]
[frames] | no frames]

Module Portlet

source code

Classes [hide private]
  PortletSourceNotFound
  Portlet
A wrapper for a portlet javascript source file that can include metadata such as a name, a title, a description and permissions.
Functions [hide private]
 
manage_addPortlet(self, context, REQUEST=None)
Add a portlet.
source code
Variables [hide private]
  MANAGER_ROLE = 'Manager'
  OWNER_ROLE = 'Owner'
  RELMETATYPES = ('ToOneRelationship', 'ToManyContRelationship',...
  ZEN_ADD = 'Add DMD Objects'
  ZEN_ADMINISTRATORS_EDIT = 'Administrators Edit'
  ZEN_ADMINISTRATORS_VIEW = 'Administrators View'
  ZEN_ADMIN_DEVICE = 'Admin Device'
  ZEN_CHANGE_ADMIN_OBJECTS = 'Change Admin Objects'
  ZEN_CHANGE_ALERTING_RULES = 'Change Alerting Rules'
  ZEN_CHANGE_DEVICE = 'Change Device'
  ZEN_CHANGE_EVENT_VIEWS = 'Change Event Views'
  ZEN_CHANGE_SETTINGS = 'Change Settings'
  ZEN_COMMON = 'ZenCommon'
  ZEN_DEFINE_COMMANDS_EDIT = 'Define Commands Edit'
  ZEN_DEFINE_COMMANDS_VIEW = 'Define Commands View'
  ZEN_DELETE = 'Delete objects'
  ZEN_EDIT_LOCAL_TEMPLATES = 'Edit Local Templates'
  ZEN_MAINTENANCE_WINDOW_EDIT = 'Maintenance Windows Edit'
  ZEN_MAINTENANCE_WINDOW_VIEW = 'Maintenance Windows View'
  ZEN_MANAGER_ROLE = 'ZenManager'
  ZEN_MANAGE_DEVICE = 'Manage Device'
  ZEN_MANAGE_DEVICE_STATUS = 'Manage Device Status'
  ZEN_MANAGE_DMD = 'Manage DMD'
  ZEN_UPDATE = 'ZenUpdate'
  ZEN_USER_ROLE = 'ZenUser'
  ZEN_VIEW = 'View'
  ZEN_VIEW_HISTORY = 'View History'
  ZEN_VIEW_MODIFICATIONS = 'View Modifications'
  ZEN_ZPROPERTIES_EDIT = 'zProperties Edit'
  ZEN_ZPROPERTIES_VIEW = 'zProperties View'
Variables Details [hide private]

RELMETATYPES

Value:
('ToOneRelationship', 'ToManyContRelationship', 'ToManyRelationship')