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

Type EventView

object --+
         |
        EventView

Known Subclasses:
EventClassInst, ManagedEntity, Organizer

Method Summary
  getEventHistory(self)
Return the current event history for this object.
  getEventManager(self, table)
Return the current event manager for this object.
  getEventOwnerList(self, severity, state)
Return list of event owners for this mangaed entity.
  getEventSummary(self, severity, state, prodState)
Return an event summary list for this managed entity.
  getJSONEventsInfo(self, offset, count, fields, getTotalCount, filter, severity, state, orderby, REQUEST)
Return the current event list for this managed entity.
  getJSONFields(self, history)
Return the current event list for this managed entity.
  getJSONHistoryEventsInfo(self, offset, count, fields, getTotalCount, startdate, enddate, filter, severity, state, orderby, REQUEST)
Return the current event list for this managed entity.
  getStatus(self, statusclass, **kwargs)
Return the status number for this device of class statClass.
  getStatusCssClass(self, status)
Return the css class for a status number.
  getStatusImgSrc(self, status)
Return the image source for a status number
  getStatusString(self, statclass, **kwargs)
Return the status number for this device of class statClass.
  manage_ackBatchEvents(self, selectstatus, goodevids, badevids, filter, offset, count, fields, getTotalCount, startdate, enddate, severity, state, orderby, REQUEST, **kwargs)
Delete events form this managed entity.
  manage_ackEvents(self, evids, REQUEST)
Set event state form this managed entity.
  manage_createEventMap(self, eventClass, evids, table, REQUEST)
Create an event map from an event or list of events.
  manage_deleteBatchEvents(self, selectstatus, goodevids, badevids, filter, offset, count, fields, getTotalCount, startdate, enddate, severity, state, orderby, REQUEST, **kwargs)
Delete events form this managed entity.
  manage_deleteEvents(self, evids, REQUEST)
Delete events form this managed entity.
  manage_deleteHeartbeat(self, REQUEST)
Delete events form this managed entity.
  manage_setEventStates(self, eventState, evids, REQUEST)
Set event state form this managed entity.
  manage_undeleteBatchEvents(self, selectstatus, goodevids, badevids, filter, offset, count, fields, getTotalCount, startdate, enddate, severity, state, orderby, REQUEST, **kwargs)
Delete events form this managed entity.
  manage_undeleteEvents(self, evids, REQUEST)
Delete events form this managed entity.
Inherited from object: __init__, __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variable Summary
tuple __ac_permissions__ = (('Manage Events', ('manage_deleteE...
PermissionRole manage_ackBatchEvents__roles__ = <PermissionRole object ...
PermissionRole manage_ackEvents__roles__ = <PermissionRole object at 0x...
PermissionRole manage_createEventMap__roles__ = <PermissionRole object ...
tuple manage_deleteBatchEvents__roles__ = ('Manager',)
PermissionRole manage_deleteEvents__roles__ = <PermissionRole object at...
PermissionRole manage_deleteHeartbeat__roles__ = <PermissionRole object...
PermissionRole manage_setEventStates__roles__ = <PermissionRole object ...
tuple manage_undeleteBatchEvents__roles__ = ('Manager',)
PermissionRole manage_undeleteEvents__roles__ = <PermissionRole object ...

Method Details

getEventHistory(self)

Return the current event history for this object.

getEventManager(self, table='status')

Return the current event manager for this object.

getEventOwnerList(self, severity=0, state=1)

Return list of event owners for this mangaed entity.

getEventSummary(self, severity=1, state=1, prodState=None)

Return an event summary list for this managed entity.

getJSONEventsInfo(self, offset=0, count=50, fields=[], getTotalCount=True, filter='', severity=2, state=1, orderby='', REQUEST=None)

Return the current event list for this managed entity.

getJSONFields(self, history=False)

Return the current event list for this managed entity.

getJSONHistoryEventsInfo(self, offset=0, count=50, fields=[], getTotalCount=True, startdate=None, enddate=None, filter='', severity=2, state=1, orderby='', REQUEST=None)

Return the current event list for this managed entity.

getStatus(self, statusclass=None, **kwargs)

Return the status number for this device of class statClass.

getStatusCssClass(self, status)

Return the css class for a status number.

getStatusImgSrc(self, status)

Return the image source for a status number

getStatusString(self, statclass, **kwargs)

Return the status number for this device of class statClass.

manage_ackBatchEvents(self, selectstatus='none', goodevids=[], badevids=[], filter='', offset=0, count=50, fields=[], getTotalCount=True, startdate=None, enddate=None, severity=2, state=1, orderby='', REQUEST=None, **kwargs)

Delete events form this managed entity. Only called from event console, so uses FakeRequest to avoid page rendering.

manage_ackEvents(self, evids=(), REQUEST=None)

Set event state form this managed entity.

manage_createEventMap(self, eventClass=None, evids=(), table='status', REQUEST=None)

Create an event map from an event or list of events.

manage_deleteBatchEvents(self, selectstatus='none', goodevids=[], badevids=[], filter='', offset=0, count=50, fields=[], getTotalCount=True, startdate=None, enddate=None, severity=2, state=1, orderby='', REQUEST=None, **kwargs)

Delete events form this managed entity.

manage_deleteEvents(self, evids=(), REQUEST=None)

Delete events form this managed entity.

manage_deleteHeartbeat(self, REQUEST=None)

Delete events form this managed entity.

manage_setEventStates(self, eventState=None, evids=(), REQUEST=None)

Set event state form this managed entity.

manage_undeleteBatchEvents(self, selectstatus='none', goodevids=[], badevids=[], filter='', offset=0, count=50, fields=[], getTotalCount=True, startdate=None, enddate=None, severity=2, state=1, orderby='', REQUEST=None, **kwargs)

Delete events form this managed entity. Only called from event console, so uses FakeRequest to avoid page rendering.

manage_undeleteEvents(self, evids=(), REQUEST=None)

Delete events form this managed entity.

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('Manage Events',
  ('manage_deleteEvents',
   'manage_setEventStates',
   'manage_ackBatchEvents',
   'manage_deleteHeartbeat',
   'manage_ackEvents',
   'manage_undeleteEvents',
   'manage_createEventMap')),)                                         

manage_ackBatchEvents__roles__

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

manage_ackEvents__roles__

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

manage_createEventMap__roles__

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

manage_deleteBatchEvents__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_deleteEvents__roles__

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

manage_deleteHeartbeat__roles__

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

manage_setEventStates__roles__

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

manage_undeleteBatchEvents__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_undeleteEvents__roles__

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

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