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

Type ZenModelItem

  object --+    
           |    
ZenModelBase --+
               |
              ZenModelItem

Known Subclasses:
EventDetail, ZenossInfo

Simple class that non RelationshipManager items inherit from to provide primary path functionality.
Method Summary
  __init__(self, id)
  getPrimaryPath(self)
  getPrimaryUrlPath(self)
get the physicalpath as a url
  primaryAq(self)
return this object with is acquisition path set to primary path
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, zmanage_editProperties
Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variable Summary
tuple __ac_permissions__ = (('View', ('getPrimaryPath', 'getPr...
PermissionRole getPrimaryPath__roles__ = <PermissionRole object at 0x10...
PermissionRole getPrimaryUrlPath__roles__ = <PermissionRole object at 0...
str meta_type = 'ZenModelItem'
Inherited from ZenModelBase: breadCrumbs__roles__, getPrimaryDmdId__roles__, helpLink__roles__, index_html, manage_deleteObjects__roles__, sub_meta_types, view__roles__, zentinelTabs__roles__, zmanage_editProperties__roles__

Method Details

getPrimaryUrlPath(self)

get the physicalpath as a url

primaryAq(self)

return this object with is acquisition path set to primary path

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('View', ('getPrimaryPath', 'getPrimaryUrlPath')),)                   

getPrimaryPath__roles__

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

getPrimaryUrlPath__roles__

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

meta_type

Type:
str
Value:
'ZenModelItem'                                                         

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