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

Class Software

source code

                                                   object --+                
                                                            |                
                                    ZenModelBase.ZenModelBase --+            
                                                                |            
Products.ZenRelations.RelationshipManager.RelationshipManager --+            
                                                                |            
                                      ExtensionClass.Base --+   |            
                                                            |   |            
                                       OFS.History.Historical --+            
                                                                |            
                                                   object --+   |            
                                                            |   |            
                                          ZenPacker.ZenPacker --+            
                                                                |            
                                            ZenModelRM.ZenModelRM --+        
                                                                    |        
                                  DeviceResultInt.DeviceResultInt --+        
                                                                    |        
                                                       object --+   |        
                                                                |   |        
                                              EventView.EventView --+        
                                                                    |        
                                                       object --+   |        
                                                                |   |        
                                                  RRDView.RRDView --+        
                                                                    |        
                                          ManagedEntity.ManagedEntity --+    
                                                                        |    
                                                      MEProduct.MEProduct --+
                                                                            |
                                                                           Software

Software object

Instance Methods [hide private]
 
__init__(self, id, title="") source code
 
__getattr__(self, name) source code
 
_setPropValue(self, id, value)
override from PropertyManager to handle checks and ip creation
source code
 
setProduct(self, productName, manufacturer="Unknown", newProductName="", REQUEST=None, **kwargs)
Set the product class of this software.
source code
 
setProductKey(self, prodKey, manufacturer="Unknown")
Set the product class of this software by its productKey.
source code
 
name(self)
Return the name of this software (from its softwareClass)
source code
 
version(self)
Return the version of this software (from its softwareClass)
source code
 
build(self)
Return the build of this software (from its softwareClass)
source code
 
getInstallDateObj(self)
Return the install date as a DateTime object.
source code
 
getInstallDate(self)
Return the install date in the form 'YYYY/MM/DD HH:MM:SS'
source code
 
setInstallDate(self, value)
Set the install date should be string in form 'YYYY/MM/DD HH:MM:SS'
source code
 
getDeviceLink(self, screen='deviceSoftwareDetail')
Get the primary link for the device
source code
 
device(self)
Return our Device for DeviceResultInt.
source code

Inherited from MEProduct.MEProduct: getDescription, getManufacturer, getManufacturerLink, getManufacturerName, getModelName, getProductContext, getProductKey, getProductLink, getProductName, setDescription

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 DeviceResultInt.DeviceResultInt: getDeviceClassName, getDeviceClassPath, getDeviceIp, getDeviceIpAddress, getDeviceMacaddress, getDeviceName, getDeviceUrl, getPingStatus, getPingStatusNumber, getProdState, getSnmpStatus, getSnmpStatusNumber, isResultLockedFromDeletion, isResultLockedFromUpdates, sendEventWhenResultBlocked

Inherited from EventView.EventView: convertEventField, getEventDetail, getEventDetailFromStatusOrHistory, getEventHistory, getEventManager, getEventOwnerList, getEventSummary, getStatus, getStatusCssClass, getStatusImgSrc, getStatusString, manage_ackBatchEvents, manage_ackEvents, manage_addLogMessage, manage_createEventMap, manage_deleteBatchEvents, manage_deleteEvents, manage_deleteHeartbeat, manage_setEventStates, manage_undeleteBatchEvents, manage_undeleteEvents

Inherited from RRDView.RRDView: cacheRRDValue, fetchRRDValue, fetchRRDValues, fullRRDPath, getDefaultGraphDefs, getGraphDef, getGraphDefUrl, getRRDContextData, getRRDDataPoint, getRRDDataPoints, getRRDFileName, getRRDNames, getRRDPaths, getRRDSum, getRRDTemplate, getRRDTemplateByName, getRRDTemplateName, getRRDTemplates, getRRDValue, getRRDValues, getThresholdInstances, getThresholds, makeLocalRRDTemplate, removeLocalRRDTemplate, rrdPath, snmpIgnore

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

Class Variables [hide private]
  meta_type = 'Software'
  portal_type = 'Software'
  procRegex = ""
  monitorProc = False
  _properties = {'id': 'procRegex', 'type': 'string', 'mode': 'w...
  _relations = MEProduct._relations+(("os", ToOne(ToManyCont, "P...
  factory_type_information = {'id': 'Software', 'meta_type': 'So...
  security = ClassSecurityInfo()

Inherited from ManagedEntity.ManagedEntity: monitor, snmpindex

Inherited from ZenModelRM.ZenModelRM: default_catalog, 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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, id, title="")
(Constructor)

source code 
Overrides: ZenModelRM.ZenModelRM.__init__

getDeviceLink(self, screen='deviceSoftwareDetail')

source code 
Get the primary link for the device
Overrides: DeviceResultInt.DeviceResultInt.getDeviceLink
(inherited documentation)

device(self)

source code 
Return our Device for DeviceResultInt.
Overrides: ManagedEntity.ManagedEntity.device

Class Variable Details [hide private]

_properties

Value:
{'id': 'procRegex', 'type': 'string', 'mode': 'w'}, {'id': 'monitorPro\
c', 'type': 'boolean', 'mode': 'w'}, {'id': 'installDate', 'type': 'da\
te', 'mode': ''},

_relations

Value:
MEProduct._relations+(("os", ToOne(ToManyCont, "Products.ZenModel.Oper\
atingSystem", "software")),)

factory_type_information

Value:
{'id': 'Software', 'meta_type': 'Software', 'description': """Class to\
 manage product information""", 'icon': 'Software_icon.gif', 'product'\
: 'ZenModel', 'factory': 'manage_addSoftware', 'immediate_view': 'view\
ProductOverview', 'actions':({'id': 'overview', 'name': 'Overview', 'a\
ction': 'viewSoftwareOverview', 'permissions':(permissions.view,)}, {'\
id': 'viewHistory', 'name': 'Modifications', 'action': 'viewHistory', \
'permissions':(ZEN_VIEW_MODIFICATIONS,)},)},