Package ZenModel :: Module DataRoot :: Class DataRoot
[show private | hide private]
[frames | no frames]

Type DataRoot

                            Commandable --+
                                          |
             object --+                   |
                      |                   |
                   Base --+               |
                          |               |
        EtagSupport --+   |               |
                      |   |               |
           LockableItem --+               |
                          |               |
                   Resource --+           |
                              |           |
                     Collection --+       |
                                  |       |
                 object --+       |       |
                          |       |       |
                       Base --+   |       |
                              |   |       |
                    FindSupport --+       |
                                  |       |
                 object --+       |       |
                          |       |       |
                       Base --+   |       |
                              |   |       |
             object --+       |   |       |
                      |       |   |       |
                   Base --+   |   |       |
                          |   |   |       |
                 CopySource --+   |       |
                              |   |       |
                   Node --+   |   |       |
                          |   |   |       |
                    Element --+   |       |
                              |   |       |
             object --+       |   |       |
                      |       |   |       |
                   Base --+   |   |       |
                          |   |   |       |
                      Owned --+   |       |
                              |   |       |
             object --+       |   |       |
                      |       |   |       |
                   Base --+   |   |       |
                          |   |   |       |
        EtagSupport --+   |   |   |       |
                      |   |   |   |       |
           LockableItem --+   |   |       |
                          |   |   |       |
                   Resource --+   |       |
                              |   |       |
             object --+       |   |       |
                      |       |   |       |
                   Base --+   |   |       |
                          |   |   |       |
                       Tabs --+   |       |
                              |   |       |
                Traversable --+   |       |
                              |   |       |
             object --+       |   |       |
                      |       |   |       |
                   Base --+   |   |       |
                          |   |   |       |
                UndoSupport --+   |       |
                              |   |       |
                           Item --+       |
                                  |       |
         object --+               |       |
                  |               |       |
               Base --+           |       |
                      |           |       |
    EtagSupport --+   |           |       |
                  |   |           |       |
       LockableItem --+           |       |
                      |           |       |
               Resource --+       |       |
                          |       |       |
                 Collection --+   |       |
                              |   |       |
             object --+       |   |       |
                      |       |   |       |
                   Base --+   |   |       |
                          |   |   |       |
              CopyContainer --+   |       |
                              |   |       |
             object --+       |   |       |
                      |       |   |       |
                   Base --+   |   |       |
                          |   |   |       |
                 Navigation --+   |       |
                              |   |       |
             object --+       |   |       |
                      |       |   |       |
                   Base --+   |   |       |
                          |   |   |       |
             object --+   |   |   |       |
                      |   |   |   |       |
             Persistent --+   |   |       |
                          |   |   |       |
                 Persistent --+   |       |
                              |   |       |
             object --+       |   |       |
                      |       |   |       |
                   Base --+   |   |       |
                          |   |   |       |
                       Tabs --+   |       |
                              |   |       |
                Traversable --+   |       |
                              |   |       |
             object --+       |   |       |
                      |       |   |       |
                   Base --+   |   |       |
                          |   |   |       |
                   Acquirer --+   |       |
                              |   |       |
                  ObjectManager --+       |
                                  |       |
                 object --+       |       |
                          |       |       |
                       Base --+   |       |
                              |   |       |
               Node --+       |   |       |
                      |       |   |       |
                Element --+   |   |       |
                          |   |   |       |
      ElementWithAttributes --+   |       |
                              |   |       |
                PropertyManager --+       |
                                  |       |
                 object --+       |       |
                          |       |       |
                       Base --+   |       |
                              |   |       |
                RoleManager --+   |       |
                              |   |       |
                    RoleManager --+       |
                                  |       |
                             Folder --+   |
                                      |   |
                       OrderSupport --+   |
                                      |   |
                          OrderedFolder --+
                                          |
                            ZenMenuable --+
                                          |
                     object --+           |
                              |           |
                           Base --+       |
                                  |       |
                         Historical --+   |
                                      |   |
     object --+                       |   |
              |                       |   |
           Base --+                   |   |
                  |                   |   |
EtagSupport --+   |                   |   |
              |   |                   |   |
   LockableItem --+                   |   |
                  |                   |   |
           Resource --+               |   |
                      |               |   |
             Collection --+           |   |
                          |           |   |
         object --+       |           |   |
                  |       |           |   |
               Base --+   |           |   |
                      |   |           |   |
          CopyContainer --+           |   |
                          |           |   |
         object --+       |           |   |
                  |       |           |   |
               Base --+   |           |   |
                      |   |           |   |
             Navigation --+           |   |
                          |           |   |
         object --+       |           |   |
                  |       |           |   |
               Base --+   |           |   |
                      |   |           |   |
         object --+   |   |           |   |
                  |   |   |           |   |
         Persistent --+   |           |   |
                      |   |           |   |
             Persistent --+           |   |
                          |           |   |
         object --+       |           |   |
                  |       |           |   |
               Base --+   |           |   |
                      |   |           |   |
                   Tabs --+           |   |
                          |           |   |
            Traversable --+           |   |
                          |           |   |
         object --+       |           |   |
                  |       |           |   |
               Base --+   |           |   |
                      |   |           |   |
               Acquirer --+           |   |
                          |           |   |
              ObjectManager --+       |   |
                              |       |   |
         object --+           |       |   |
                  |           |       |   |
               Base --+       |       |   |
                      |       |       |   |
        RoleManager --+       |       |   |
                      |       |       |   |
            RoleManager --+   |       |   |
                          |   |       |   |
         object --+       |   |       |   |
                  |       |   |       |   |
               Base --+   |   |       |   |
                      |   |   |       |   |
     object --+       |   |   |       |   |
              |       |   |   |       |   |
           Base --+   |   |   |       |   |
                  |   |   |   |       |   |
         CopySource --+   |   |       |   |
                      |   |   |       |   |
     object --+       |   |   |       |   |
              |       |   |   |       |   |
           Base --+   |   |   |       |   |
                  |   |   |   |       |   |
              Owned --+   |   |       |   |
                      |   |   |       |   |
     object --+       |   |   |       |   |
              |       |   |   |       |   |
           Base --+   |   |   |       |   |
                  |   |   |   |       |   |
               Tabs --+   |   |       |   |
                      |   |   |       |   |
        Traversable --+   |   |       |   |
                      |   |   |       |   |
                  ZItem --+   |       |   |
                          |   |       |   |
         object --+       |   |       |   |
                  |       |   |       |   |
               Base --+   |   |       |   |
                      |   |   |       |   |
               Acquirer --+   |       |   |
                          |   |       |   |
         PrimaryPathManager --+       |   |
                              |       |   |
         object --+           |       |   |
                  |           |       |   |
               Base --+       |       |   |
                      |       |       |   |
          CopyContainer --+   |       |   |
                          |   |       |   |
           RelCopyContainer --+       |   |
                              |       |   |
             object --+       |       |   |
                      |       |       |   |
                   Base --+   |       |   |
                          |   |       |   |
                UndoSupport --+       |   |
                              |       |   |
       PrimaryPathObjectManager --+   |   |
                                  |   |   |
             object --+           |   |   |
                      |           |   |   |
                   Base --+       |   |   |
                          |       |   |   |
           Node --+       |       |   |   |
                  |       |       |   |   |
            Element --+   |       |   |   |
                      |   |       |   |   |
  ElementWithAttributes --+       |   |   |
                          |       |   |   |
            PropertyManager --+   |   |   |
                              |   |   |   |
             ZenPropertyManager --+   |   |
                                  |   |   |
                RelationshipManager --+   |
                                      |   |
                         object --+   |   |
                                  |   |   |
                       ZenModelBase --+   |
                                      |   |
                         object --+   |   |
                                  |   |   |
                          ZenPacker --+   |
                                      |   |
                             ZenModelRM --+
                                          |
                                         DataRoot


Base class for all Persistent classes that have relationships. Provides RelationshipManagement, Customized PropertyManagement, Catalog Indexing, and Historical change tracking.
Method Summary
  __init__(self, id, title)
  convertAttribute(self, numbValue, conversions)
convert a numeric production state to a textual representation using the prodStateConversions map
  convertPriority(self, priority)
  convertProdState(self, prodState)
convert a numeric production state to a textual representation using the prodStateConversions map
  convertStatus(self, status)
get text strings for status field
  exportXmlHook(self, ofile, ignorerels)
  filterObjectsRegex(self, filter, objects, filteratt, negatefilter)
filter a list of objects based on a regex
  getAllUserGroups(self)
  getBrokenPackName(self, pack)
Extract the zenpack name from the broken module
  getConversions(self, attribute)
get the text list of itmes that convert to ints
  getDmdRoots(self)
  getEmailFrom(self)
Return self.emailFrom or a suitable default
  getEventCount(self, **kwargs)
Return the current event list for this managed entity.
  getInterfaceStateConversions(self)
get text strings for interface status
  getPriorityConversions(self)
  getProdStateConversions(self)
getProdStateConversions() -> return a list of tuples for prodstat select edit box
  getStatusConversions(self)
get text strings for status field
  getUrlForUserCommands(self)
Return url for page which manages user commands
  getUserCommandTargets(self)
Called by Commandable.doCommand() to ascertain objects on which a UserCommand should be executed.
  manage_addZenPack(self, id, author, organization, version, REQUEST)
make a new ZenPack
  myUserGroups(self)
  removeZenPacks(self, ids, REQUEST)
remove a ZenPack
  reportError(self)
send an email to the zenoss error email address then send user to a thankyou page or an email error page.
  writeExportRows(self, fieldsAndLabels, objects, out)
Write out csv rows with the given objects and fields.
Inherited from ZenModelRM: changePythonClass, creator, editableDeviceList, getCreatedTimeString, getDmdKey, getModificationTimeString, getSubObjects, getTreeItems, getZenRootNode, index_object, primarySortKey, reindex_all, rename, unindex_object, viewName, zmanage_addProperty, zmanage_delObjects, zmanage_delProperties, zmanage_editProperties, zmanage_exportObject, zmanage_importObject, zmanage_importObjects
Inherited from ZenModelBase: __call__, __hash__, all_meta_types, breadCrumbs, callZenScreen, checkValidId, createHierarchyObj, custPropertyIds, custPropertyMap, getDmd, getDmdObj, getDmdRoot, getHierarchyObj, getIdLink, getNowString, getObjByPath, getPrimaryDmdId, getZopeObj, helpLink, isLocalName, manage_deleteObjects, prepId, saveCustProperties, todayDate, view, visibleCustPropertyMap, yesterdayDate, zenpathjoin, zenpathsplit, zenScreenUrl, zentinelTabs
Inherited from RelationshipManager: addRelation, buildRelations, cb_isMoveable, checkRelations, exportXml, exportXmlProperties, exportXmlRelationships, getRelationshipManagerId, getRelationshipNames, getRelationships, lookupSchema, manage_addRelation, manage_beforeDelete, manage_removeRelation, manage_workspace, removeRelation
Inherited from RelCopyContainer: manage_linkObjects, manage_renameObject, manage_unlinkObjects
Inherited from CopyContainer: _old_manage_renameObject, cb_dataItems, cb_dataValid, manage_clone, manage_CopyContainerAllItems, manage_CopyContainerFirstItem, manage_copyObjects, manage_cutObjects, manage_pasteObjects, manage_renameObjects, validClipData
Inherited from ObjectManager: __class_init__, __getitem__, _checkId, filtered_meta_types, hasObject, list_imports, manage_afterAdd, manage_afterClone, manage_delObjects, manage_exportObject, manage_FTPlist, manage_FTPstat, manage_hasId, manage_importObject, objectIds, objectIds_d, objectItems, objectItems_d, objectMap, objectMap_d, objectValues, objectValues_d, superValues, tpValues
Inherited from Navigation: manage_zmi_logout
Inherited from Tabs: class_manage_path, filtered_manage_options, tabs_path_default, tabs_path_info
Inherited from Persistent: __getattribute__, bobobase_modification_time, locked_in_version, modified_in_version
Inherited from Persistent: __delattr__, __getstate__, __reduce__, __setattr__, __setstate__
Inherited from Collection: dav__init, DELETE, HEAD, listDAVObjects, PUT
Inherited from Resource: COPY, dav__simpleifhandler, dav__validate, LOCK, manage_DAVget, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, TRACE, UNLOCK
Inherited from LockableItem: wl_clearLocks, wl_delLock, wl_getLock, wl_hasLock, wl_isLocked, wl_lockItems, wl_lockmapping, wl_lockTokens, wl_lockValues, wl_setLock
Inherited from EtagSupport: http__etag, http__parseMatchList, http__processMatchHeaders, http__refreshEtag
Inherited from Traversable: absolute_url, absolute_url_path, getPhysicalPath, restrictedTraverse, unrestrictedTraverse, virtual_url_path
Inherited from PrimaryPathManager: getPrimaryId, getPrimaryParent, getPrimaryPath, getPrimaryUrlPath, primaryAq
Inherited from ZItem: __len__, __repr__, getId, manage_editedDialog, raise_standardErrorMessage, this, title_and_id, title_or_id, tpURL
Inherited from CopySource: cb_isCopyable, cb_userHasCopyOrMovePermission
Inherited from Owned: changeOwnership, getOwner, getOwnerTuple, getWrappedOwner, manage_fixupOwnershipAfterAdd, owner_info, userCanTakeOwnership
Inherited from RoleManager: ac_inherited_permissions, access_debug_info, acquiredRolesAreUsedBy, get_local_roles, get_local_roles_for_userid, get_valid_userids, has_local_roles, manage_access, manage_defined_roles, manage_editRoles, manage_role, permission_settings, permissionsOfRole, possible_permissions, rolesOfPermission, userdefined_roles, users_with_local_role, valid_roles, validate_roles, validRoles
Inherited from RoleManager: manage_getPermissionMapping
Inherited from UndoSupport: get_request_var_or_attr, manage_undo_transactions, undoable_transactions
Inherited from ZenPropertyManager: deleteZenProperty, isLocal, manage_editProperties, saveZenProperties, setZenProperty, zenPropertyIds, zenPropertyItems, zenPropertyMap, zenPropertyOptions, zenPropertyPath, zenPropertyString, zenPropertyType, zenPropIsPassword
Inherited from PropertyManager: getProperty, getPropertyType, hasProperty, manage_addProperty, manage_changeProperties, manage_changePropertyTypes, manage_delProperties, propdict, propertyIds, propertyItems, propertyLabel, propertyMap, propertyValues, valid_property_id
Inherited from ElementWithAttributes: getAttribute, getAttributeNode, getAttributes
Inherited from Element: getChildNodes, getElementsByTagName, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getParentNode, getPreviousSibling, getTagName
Inherited from Node: getNodeValue, getOwnerDocument, hasChildNodes
Inherited from Historical: manage_afterHistoryCopy, manage_beforeHistoryCopy, manage_change_history, manage_historicalComparison, manage_historyCompare, manage_historyCopy
Inherited from ZenPacker: addToZenPack, findObject
Inherited from OrderSupport: getDefaultSorting, getObjectPosition, manage_move_objects_down, manage_move_objects_to_bottom, manage_move_objects_to_top, manage_move_objects_up, manage_set_default_sorting, moveObjectsByDelta, moveObjectsDown, moveObjectsToBottom, moveObjectsToTop, moveObjectsUp, moveObjectToPosition, orderObjects, setDefaultSorting
Inherited from FindSupport: PrincipiaFind, ZopeFind, ZopeFindAndApply
Inherited from Commandable: compile, doCommandForTarget, getAqChainForUserCommands, getUserCommand, getUserCommandEnvironment, getUserCommands, manage_addUserCommand, manage_deleteUserCommand, manage_doUserCommand, manage_editUserCommand, redirectToUserCommands, write
Inherited from ZenMenuable: buildMenus, getMenus, manage_addItemsToZenMenu, manage_addZenMenu, manage_addZenMenuItem, manage_deleteZenMenu, manage_deleteZenMenuItem, manage_saveMenuItemOrdering
Inherited from Base: __getnewargs__
Inherited from object: __reduce_ex__, __str__

Class Variable Summary
tuple __ac_permissions__ = (('View', ('getStatusConversions', ...
bool acceptedTerms = False
tuple administrativeRoles = ('Administrator', 'Analyst', 'Engi...
NoneType availableVersion = None                                                                  
PermissionRole convertAttribute__roles__ = <PermissionRole object at 0x...
PermissionRole convertPriority__roles__ = <PermissionRole object at 0x1...
PermissionRole convertProdState__roles__ = <PermissionRole object at 0x...
PermissionRole convertStatus__roles__ = <PermissionRole object at 0x10b...
int defaultDateRange = 129600                                                                
str emailFrom = ''
tuple factory_type_information = ({'product': 'ZenModel', 'des...
NoneType filterObjectsRegex__roles__ = None                                                                  
PermissionRole getAllUserGroups__roles__ = <PermissionRole object at 0x...
PermissionRole getConversions__roles__ = <PermissionRole object at 0x10...
PermissionRole getInterfaceStateConversions__roles__ = <PermissionRole ...
PermissionRole getPriorityConversions__roles__ = <PermissionRole object...
PermissionRole getProdStateConversions__roles__ = <PermissionRole objec...
PermissionRole getStatusConversions__roles__ = <PermissionRole object a...
list interfaceStateConversions = ['up:1', 'down:2', 'testing:...
int lastVersionCheck = 0                                                                     
int lastVersionCheckAttempt = 0                                                                     
tuple manage_addZenPack__roles__ = ('Manager',)
DTMLFile manage_main = <App.special_dtml.DTMLFile object at 0x148...
tuple manage_main__roles__ = ('Manager',)
tuple manage_options = ({'action': 'manage_main', 'help': ('OF...
str meta_type = 'DataRoot'
tuple meta_types = ()
PermissionRole myUserGroups__roles__ = <PermissionRole object at 0x10bf...
list performanceDateRanges = [('Hourly', 129600), ('Daily', 8...
str portal_type = 'DataRoot'
list priorityConversions = ['Highest:5', 'High:4', 'Normal:3'...
int priorityDashboardThresh = 2                                                                     
list prodStateConversions = ['Production:1000', 'Pre-Producti...
int prodStateDashboardThresh = 1000                                                                  
bool reportMetricsOptIn = True
str smtpHost = 'localhost'
str smtpPass = ''
int smtpPort = 25                                                                    
str smtpUser = ''
int smtpUseTLS = 0                                                                     
str snppHost = 'localhost'
int snppPort = 444                                                                   
list statusConversions = ['Up:0', 'None:-1', 'No DNS:-2']
NoneType uuid = None                                                                  
bool versionCheckOptIn = True
tuple zPrimaryBasePath = ('', 'zport')
Inherited from ZenModelRM: default_catalog, getDmdKey__roles__, isInTree, primarySortKey__roles__, rename__roles__, viewName__roles__, zmanage_editProperties__roles__
Inherited from ZenModelBase: breadCrumbs__roles__, getPrimaryDmdId__roles__, helpLink__roles__, index_html, manage_deleteObjects__roles__, sub_meta_types, view__roles__, zentinelTabs__roles__
Inherited from RelationshipManager: manage_addRelation__roles__, manage_beforeDelete__roles__, manage_removeRelation__roles__, manage_workspace__roles__
Inherited from CopyContainer: __implemented__, __providedBy__, __provides__, manage_clone__roles__, manage_CopyContainerAllItems__roles__, manage_CopyContainerFirstItem__roles__, manage_copyObjects__roles__, manage_cutObjects__roles__, manage_pasteObjects__roles__, manage_renameForm, manage_renameForm__roles__, manage_renameObject__roles__, manage_renameObjects__roles__
Inherited from ObjectManager: __roles__, isAnObjectManager, isPrincipiaFolderish, manage_addProduct, manage_afterAdd__roles__, manage_afterClone__roles__, manage_delObjects__roles__, manage_exportObject__roles__, manage_FTPlist__roles__, manage_FTPstat__roles__, manage_hasId__roles__, manage_importExportForm, manage_importExportForm__roles__, manage_importObject__roles__, manage_index_main, manage_index_main__roles__, objectIds__roles__, objectItems__roles__, objectValues__roles__
Inherited from Navigation: manage, manage__roles__, manage_copyright, manage_copyright__roles__, manage_form_title, manage_form_title__roles__, manage_menu, manage_menu__roles__, manage_page_footer, manage_page_footer__roles__, manage_page_header, manage_page_header__roles__, manage_page_style.css, manage_page_style.css__roles__, manage_top_frame, manage_top_frame__roles__, manage_zmi_logout__roles__, manage_zmi_prefs, manage_zmi_prefs__roles__, zope_quick_start, zope_quick_start__roles__
Inherited from Tabs: class_manage_path__roles__, filtered_manage_options__roles__, manage_tabs, manage_tabs__roles__
Inherited from Collection: __dav_collection__
Inherited from Resource: __dav_resource__, __http_methods__, COPY__roles__, DELETE__roles__, HEAD__roles__, listDAVObjects__roles__, LOCK__roles__, manage_DAVget__roles__, MOVE__roles__, OPTIONS__roles__, PROPFIND__roles__, PROPPATCH__roles__, TRACE__roles__, UNLOCK__roles__
Inherited from LockableItem: wl_clearLocks__roles__, wl_delLock__roles__, wl_getLock__roles__, wl_isLocked__roles__, wl_isLockedByUser__roles__, wl_lockItems__roles__, wl_lockmapping__roles__, wl_lockTokens__roles__, wl_lockValues__roles__, wl_setLock__roles__
Inherited from EtagSupport: __implements__
Inherited from Traversable: absolute_url__roles__, absolute_url_path__roles__, getPhysicalPath__roles__, getPhysicalRoot, getPhysicalRoot__roles__, restrictedTraverse__roles__, unrestrictedTraverse__roles__, virtual_url_path__roles__
Inherited from ZItem: __allow_access_to_unprotected_subobjects__, __name__, __propsets__, getId__roles__, icon, id, isTopLevelPrincipiaApplicationObject, REQUEST, title
Inherited from Owned: changeOwnership__roles__, getOwner__roles__, getOwnerTuple__roles__, getWrappedOwner__roles__, manage_changeOwnershipType__roles__, manage_fixupOwnershipAfterAdd__roles__, manage_owner, manage_owner__roles__, manage_takeOwnership__roles__, owner_info__roles__
Inherited from RoleManager: __ac_local_roles__, __ac_roles__, ac_inherited_permissions__roles__, access_debug_info__roles__, aclAChecked, aclEChecked, aclPChecked, acquiredRolesAreUsedBy__roles__, manage_access__roles__, manage_acquiredForm, manage_acquiredForm__roles__, manage_acquiredPermissions__roles__, manage_addLocalRoles__roles__, manage_changePermissions__roles__, manage_defined_roles__roles__, manage_delLocalRoles__roles__, manage_editLocalRoles, manage_editLocalRoles__roles__, manage_editRoles__roles__, manage_listLocalRoles, manage_listLocalRoles__roles__, manage_permission__roles__, manage_permissionForm, manage_permissionForm__roles__, manage_role__roles__, manage_roleForm, manage_roleForm__roles__, manage_setLocalRoles__roles__, permission_settings__roles__, permissionMappingPossibleValues, permissionsOfRole__roles__, rolesOfPermission__roles__, selectedRoles, smallRolesWidget, userdefined_roles__roles__
Inherited from RoleManager: manage_getPermissionMapping__roles__, manage_setPermissionMapping__roles__
Inherited from UndoSupport: manage_undo_transactions__roles__, manage_UndoForm, manage_UndoForm__roles__, undoable_transactions__roles__
Inherited from ZenPropertyManager: manage_editProperties__roles__, manage_propertiesForm, manage_propertiesForm__roles__
Inherited from PropertyManager: getProperty__roles__, getPropertyType__roles__, hasProperty__roles__, manage_addProperty__roles__, manage_changeProperties__roles__, manage_changePropertyTypes__roles__, manage_delProperties__roles__, manage_propertyTypeForm, manage_propertyTypeForm__roles__, propdict__roles__, propertyIds__roles__, propertyItems__roles__, propertyLabel__roles__, propertyMap__roles__, propertysheets, propertyValues__roles__, valid_property_id__roles__
Inherited from Historical: HistoricalRevisions, manage_afterHistoryCopy__roles__, manage_beforeHistoryCopy__roles__, manage_change_history__roles__, manage_change_history_page, manage_change_history_page__roles__, manage_historicalComparison__roles__, manage_historyCompare__roles__, manage_historyCopy__roles__
Inherited from ZenPacker: security
Inherited from OrderSupport: getDefaultSorting__roles__, getObjectPosition__roles__, has_order_support, manage_move_objects_down__roles__, manage_move_objects_to_bottom__roles__, manage_move_objects_to_top__roles__, manage_move_objects_up__roles__, manage_set_default_sorting__roles__, moveObjectsByDelta__roles__, moveObjectsDown__roles__, moveObjectsToBottom__roles__, moveObjectsToTop__roles__, moveObjectsUp__roles__, moveObjectToPosition__roles__, orderObjects__roles__, setDefaultSorting__roles__
Inherited from Item: manage_editedDialog__roles__
Inherited from FindSupport: manage_findAdv, manage_findAdv__roles__, manage_findForm, manage_findForm__roles__, manage_findFrame, manage_findFrame__roles__, manage_findResult, manage_findResult__roles__, PrincipiaFind__roles__, ZopeFind__roles__, ZopeFindAndApply__roles__
Inherited from Commandable: defaultTimeout, getUserCommands__roles__, manage_addUserCommand__roles__, manage_deleteUserCommand__roles__, manage_doUserCommand__roles__, manage_editUserCommand__roles__
Inherited from ZenMenuable: buildMenus__roles__, getMenus__roles__, manage_addItemsToZenMenu__roles__, manage_addZenMenu__roles__, manage_addZenMenuItem__roles__, manage_deleteZenMenu__roles__, manage_deleteZenMenuItem__roles__, manage_saveMenuItemOrdering__roles__

Instance Method Details

convertAttribute(self, numbValue, conversions)

convert a numeric production state to a textual representation using the prodStateConversions map

convertProdState(self, prodState)

convert a numeric production state to a textual representation using the prodStateConversions map

convertStatus(self, status)

get text strings for status field

filterObjectsRegex(self, filter, objects, filteratt='id', negatefilter=0)

filter a list of objects based on a regex

getBrokenPackName(self, pack)

Extract the zenpack name from the broken module

getConversions(self, attribute)

get the text list of itmes that convert to ints

getEmailFrom(self)

Return self.emailFrom or a suitable default

getEventCount(self, **kwargs)

Return the current event list for this managed entity.

getInterfaceStateConversions(self)

get text strings for interface status

getProdStateConversions(self)

getProdStateConversions() -> return a list of tuples for prodstat select edit box

getStatusConversions(self)

get text strings for status field

getUrlForUserCommands(self)

Return url for page which manages user commands
Overrides:
ZenModel.Commandable.Commandable.getUrlForUserCommands (inherited documentation)

getUserCommandTargets(self)

Called by Commandable.doCommand() to ascertain objects on which a UserCommand should be executed.
Overrides:
ZenModel.Commandable.Commandable.getUserCommandTargets

manage_addZenPack(self, id, author='', organization='', version='', REQUEST=None)

make a new ZenPack

removeZenPacks(self, ids=(), REQUEST=None)

remove a ZenPack

reportError(self)

send an email to the zenoss error email address then send user to a thankyou page or an email error page.

writeExportRows(self, fieldsAndLabels, objects, out=None)

Write out csv rows with the given objects and fields.
If out is not None then call out.write() with the result and return None
otherwise return the result.
Each item in fieldsAndLabels is either a string representing a 
 field/key/index (see getDataField) or it is a tuple of (field, label)
 where label is the string to be used in the first row as label
 for that column.
Objects can be either dicts, lists/tuples or other objects. Field
 is interpreted as a key, index or attribute depending on what
 object is.
Method names can be passed instead of attribute/key/indices as field.
 In this case the method is called and the return value is used in
 the export.

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('View',
  ('getStatusConversions',
   'convertPriority',
   'getInterfaceStateConversions',
   'convertProdState',
   'convertStatus',
   'getAllUserGroups',
   'getConversions',
...                                                                    

acceptedTerms

Type:
bool
Value:
False                                                                  

administrativeRoles

Type:
tuple
Value:
('Administrator', 'Analyst', 'Engineer', 'Tester')                     

availableVersion

Type:
NoneType
Value:
None                                                                  

convertAttribute__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x10bf860>                                   

convertPriority__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x10bf860>                                   

convertProdState__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x10bf860>                                   

convertStatus__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x10bf860>                                   

defaultDateRange

Type:
int
Value:
129600                                                                

emailFrom

Type:
str
Value:
''                                                                     

factory_type_information

Type:
tuple
Value:
({'actions': ({'action': 'editSettings',
               'id': 'settings',
               'name': 'Settings',
               'permissions': ('Manage DMD',)},
              {'action': 'dataRootManage',
               'id': 'manage',
               'name': 'Commands',
               'permissions': ('Manage DMD',)},
...                                                                    

filterObjectsRegex__roles__

Type:
NoneType
Value:
None                                                                  

getAllUserGroups__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x10bf860>                                   

getConversions__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x10bf860>                                   

getInterfaceStateConversions__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x10bf860>                                   

getPriorityConversions__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x10bf860>                                   

getProdStateConversions__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x10bf860>                                   

getStatusConversions__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x10bf860>                                   

interfaceStateConversions

Type:
list
Value:
['up:1',
 'down:2',
 'testing:3',
 'unknown:4',
 'dormant:5',
 'notPresent:6',
 'lowerLayerDown:7']                                                   

lastVersionCheck

Type:
int
Value:
0                                                                     

lastVersionCheckAttempt

Type:
int
Value:
0                                                                     

manage_addZenPack__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_main

Type:
DTMLFile
Value:
<App.special_dtml.DTMLFile object at 0x148c0d0>                        

manage_main__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_options

Type:
tuple
Value:
({'action': 'manage_main',
  'help': ('OFSP', 'OrderSupport_Contents.stx'),
  'label': 'Contents'},
 {'action': '', 'help': ('OFSP', 'Folder_View.stx'), 'label': 'View'},
 {'action': 'manage_propertiesForm',
  'help': ('OFSP', 'Properties.stx'),
  'label': 'Properties'},
 {'action': 'manage_access',
...                                                                    

meta_type

Type:
str
Value:
'DataRoot'                                                             

meta_types

Type:
tuple
Value:
()                                                                     

myUserGroups__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x10bf860>                                   

performanceDateRanges

Type:
list
Value:
[('Hourly', 129600),
 ('Daily', 864000),
 ('Weekly', 3628800),
 ('Monthly', 41472000),
 ('Yearly', 62208000)]                                                 

portal_type

Type:
str
Value:
'DataRoot'                                                             

priorityConversions

Type:
list
Value:
['Highest:5', 'High:4', 'Normal:3', 'Low:2', 'Lowest:1', 'Trivial:0']  

priorityDashboardThresh

Type:
int
Value:
2                                                                     

prodStateConversions

Type:
list
Value:
['Production:1000',
 'Pre-Production:500',
 'Test:400',
 'Maintenance:300',
 'Decommissioned:-1']                                                  

prodStateDashboardThresh

Type:
int
Value:
1000                                                                  

reportMetricsOptIn

Type:
bool
Value:
True                                                                   

smtpHost

Type:
str
Value:
'localhost'                                                            

smtpPass

Type:
str
Value:
''                                                                     

smtpPort

Type:
int
Value:
25                                                                    

smtpUser

Type:
str
Value:
''                                                                     

smtpUseTLS

Type:
int
Value:
0                                                                     

snppHost

Type:
str
Value:
'localhost'                                                            

snppPort

Type:
int
Value:
444                                                                   

statusConversions

Type:
list
Value:
['Up:0', 'None:-1', 'No DNS:-2']                                       

uuid

Type:
NoneType
Value:
None                                                                  

versionCheckOptIn

Type:
bool
Value:
True                                                                   

zPrimaryBasePath

Type:
tuple
Value:
('', 'zport')                                                          

Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 http://epydoc.sf.net