Package ZenEvents :: Module BetterEventDetail :: Class BetterEventDetail
[hide private]
[frames] | no frames]

Class BetterEventDetail

source code

                                 object --+            
                                          |            
                                Event.Event --+        
                                              |        
                                  ZEvent.ZEvent --+    
                                                  |    
                                 object --+       |    
                                          |       |    
Products.ZenModel.ZenModelBase.ZenModelBase --+   |    
                                              |   |    
    Products.ZenModel.ZenModelItem.ZenModelItem --+    
                                                  |    
                                 object --+       |    
                                          |       |    
                        ExtensionClass.Base --+   |    
                                              |   |    
                           EventDetail.Implicit --+    
                                                  |    
                            EventDetail.EventDetail --+
                                                      |
                                                     BetterEventDetail

Event that lives in the zope context has zope security mechanisms and url back to event manager

Instance Methods [hide private]
list
>>> dmd.Devices.Server.breadCrumbs()
[('/zport/dmd/Devices', 'Devices'), 
    ('/zport/dmd/Devices/Server', 'Server')]
breadCrumbs(self, terminator='dmd')
Return the breadcrumb links for this object add event.
source code
 
getContext(self)
something here to get this published
source code
 
zentinelTabs(self, templateName)
Return a list of hashs that define the screen tabs for this object.
source code

Inherited from EventDetail.EventDetail: __init__, getEventDetails, getEventLogs

Inherited from ZEvent.ZEvent: getCssClass, getDataForJSON, getDataListWithLinks, getEventDetailHref, zem

Inherited from Event.Event: clearClasses, getDataList, getDedupFields, getEventData, getEventFields, updateFromDict, updateFromFields

Inherited from Products.ZenModel.ZenModelItem.ZenModelItem: getPrimaryPath, getPrimaryUrlPath, primaryAq

Inherited from Products.ZenModel.ZenModelBase.ZenModelBase: __call__, __hash__, all_meta_types, 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, zmanage_editProperties

Inherited from EventDetail.Implicit: __new__, __of__

Inherited from ExtensionClass.Base: __getattribute__, __getnewargs__, __getstate__, __reduce__, __setstate__

Inherited from object: __delattr__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  security = ClassSecurityInfo()
  factory_type_information = ({'actions': ({'action': 'eventFiel...

Inherited from ZEvent.ZEvent: __ac_permissions__, __allow_access_to_unprotected_subobjects__

Inherited from Products.ZenModel.ZenModelItem.ZenModelItem: meta_type

Inherited from Products.ZenModel.ZenModelBase.ZenModelBase: index_html, sub_meta_types

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

breadCrumbs(self, terminator='dmd')

source code 
Return the breadcrumb links for this object add event. [('url','id'), ...]
Returns: list
>>> dmd.Devices.Server.breadCrumbs()
[('/zport/dmd/Devices', 'Devices'), 
    ('/zport/dmd/Devices/Server', 'Server')]
List of tuples to create a bread crumbs
Overrides: Products.ZenModel.ZenModelBase.ZenModelBase.breadCrumbs

zentinelTabs(self, templateName)

source code 
Return a list of hashs that define the screen tabs for this object. [{'name':'Name','action':'template','selected':False},...]
Overrides: Products.ZenModel.ZenModelBase.ZenModelBase.zentinelTabs

Class Variable Details [hide private]

factory_type_information

Value:
({'actions': ({'action': 'eventFields',
               'id': 'fields',
               'name': 'Fields',
               'permissions': ('View')},
              {'action': 'eventDetail',
               'id': 'details',
               'name': 'Details',
               'permissions': ('View')},
...