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

Class OSProcessClass

source code

                                                   object --+        
                                                            |        
                                    ZenModelBase.ZenModelBase --+    
                                                                |    
Products.ZenRelations.RelationshipManager.RelationshipManager --+    
                                                                |    
                                      ExtensionClass.Base --+   |    
                                                            |   |    
                                       OFS.History.Historical --+    
                                                                |    
                                                   object --+   |    
                                                            |   |    
                                          ZenPacker.ZenPacker --+    
                                                                |    
                                            ZenModelRM.ZenModelRM --+
                                                                    |
                                          Commandable.Commandable --+
                                                                    |
                                                       object --+   |
                                                                |   |
                                          ZenPackable.ZenPackable --+
                                                                    |
                                                                   OSProcessClass

Instance Methods [hide private]
 
__init__(self, id) source code
 
getOSProcessClassName(self)
Return the full name of this process class.
source code
 
match(self, procKey)
match procKey against our regex.
source code
 
count(self)
Return count of instances in this class.
source code
 
manage_editOSProcessClass(self, name="", zMonitor=True, zAlertOnRestart=False, zFailSeverity=3, regex="", description="", ignoreParameters=False, REQUEST=None)
Edit a ProductClass from a web page.
source code
 
getUserCommandTargets(self)
Called by Commandable.doCommand() to ascertain objects on which a UserCommand should be executed.
source code
 
getUrlForUserCommands(self)
Return url for page which manages user commands
source code
 
getPrimaryParentOrgName(self)
Return the organizer name for the primary parent
source code

Inherited from ZenModelRM.ZenModelRM: changePythonClass, creator, editableDeviceList, findChild, 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.ZenModelBase: __call__, __hash__, all_meta_types, aqBaseHasAttr, breadCrumbs, callZenScreen, checkRemotePerm, checkValidId, createHierarchyObj, custPropertyIds, custPropertyMap, getBreadCrumbUrlPath, getDmd, getDmdObj, getDmdRoot, getHierarchyObj, getIconPath, getIdLink, getNowString, getObjByPath, getPrimaryDmdId, getUnusedId, getZ, getZopeObj, helpLink, isLocalName, manage_deleteObjects, prepId, saveCustProperties, todayDate, urlLink, view, visibleCustPropertyMap, yesterdayDate, zenScreenUrl, zenpathjoin, zenpathsplit, zentinelTabs

Inherited from OFS.History.Historical: manage_afterHistoryCopy, manage_beforeHistoryCopy, manage_change_history, manage_historicalComparison, manage_historyCompare, manage_historyCopy

Inherited from ZenPacker.ZenPacker: addToZenPack, eligiblePacks, findObject

Inherited from Commandable.Commandable: compile, doCommandForTarget, getAqChainForUserCommands, getUserCommand, getUserCommandEnvironment, getUserCommandIds, getUserCommands, manage_addUserCommand, manage_deleteUserCommand, manage_doUserCommand, manage_editUserCommand, redirectToUserCommands, write

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  meta_type = "OSProcessClass"
  dmdRootName = "Processes"
  default_catalog = "processSearch"
  name = ""
  regex = ""
  ignoreParameters = False
  description = ""
  sequence = 0
  _properties = {'id': 'name', 'type': 'string', 'mode': 'w'}, {...
  _relations = ZenPackable._relations+(("instances", ToMany(ToOn...
  factory_type_information = {'immediate_view': 'osProcessClassS...
  security = ClassSecurityInfo()

Inherited from ZenModelRM.ZenModelRM: isInTree

Inherited from ZenModelBase.ZenModelBase: index_html, sub_meta_types

Inherited from OFS.History.Historical: HistoricalRevisions, __ac_permissions__, manage_change_history_page, manage_options

Inherited from OFS.History.Historical (private): _manage_historyComparePage

Inherited from Commandable.Commandable: defaultTimeout

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, id)
(Constructor)

source code 
Overrides: ZenModelRM.ZenModelRM.__init__

getUserCommandTargets(self)

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

getUrlForUserCommands(self)

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

Class Variable Details [hide private]

_properties

Value:
{'id': 'name', 'type': 'string', 'mode': 'w'}, {'id': 'regex', 'type':\
 'string', 'mode': 'w'}, {'id': 'ignoreParameters', 'type': 'boolean',\
 'mode': 'w'}, {'id': 'description', 'type': 'text', 'mode': 'w'}, {'i\
d': 'sequence', 'type': 'int', 'mode': 'w'},

_relations

Value:
ZenPackable._relations+(("instances", ToMany(ToOne, "Products.ZenModel\
.OSProcess", "osProcessClass")), ("osProcessOrganizer", ToOne(ToManyCo\
nt, "Products.ZenModel.OSProcessOrganizer", "osProcessClasses")), ('us\
erCommands', ToManyCont(ToOne, 'Products.ZenModel.UserCommand', 'comma\
ndable')),)

factory_type_information

Value:
{'immediate_view': 'osProcessClassStatus', 'actions':({'id': 'status',\
 'name': 'Status', 'action': 'osProcessClassStatus', 'permissions':(Pe\
rmissions.view,)}, {'id': 'edit', 'name': 'Edit', 'action': 'osProcess\
ClassEdit', 'permissions':("Manage DMD",)}, {'id': 'manage', 'name': '\
Administration', 'action': 'osProcessClassManage', 'permissions':("Man\
age DMD",)}, {'id': 'zproperties', 'name': 'zProperties', 'action': 'z\
PropertyEdit', 'permissions':("Change Device",)}, {'id': 'viewHistory'\
, 'name': 'Modifications', 'action': 'viewHistory', 'permissions':(ZEN\
...