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

# Class Software

source code

    ManagedEntity.ManagedEntity --+
                                  |
                MEProduct.MEProduct --+
                                      |
                                     Software

Known Subclasses:
  - OperatingSystem.OperatingSystem

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=None) 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
device(self) Return our Device for DeviceResultInt. | source code
Inherited from `MEProduct.MEProduct`: `getDescription`, `getDeviceLink`, `getManufacturer`, `getManufacturerHref`, `getManufacturerLink`, `getManufacturerName`, `getModelName`, `getProductContext`, `getProductHref`, `getProductKey`, `getProductLink`, `getProductName`, `setDescription`

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 `MEProduct.MEProduct` (private): `_manufacturer`, `_prodKey`

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,)},)},