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

Class EventView

source code

object --+
         |
        EventView
Known Subclasses:
ManagedEntity.ManagedEntity, Organizer.Organizer

Instance Methods [hide private]
 
getEventManager(self, table='status')
Return the current event manager for this object.
source code
 
getEventHistory(self)
Return the current event history for this object.
source code
 
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.
source code
 
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.
source code
 
getJSONFields(self, history=False)
Return the current event list for this managed entity.
source code
 
getStatus(self, statusclass=None, **kwargs)
Return the status number for this device of class statClass.
source code
 
getStatusString(self, statclass, **kwargs)
Return the status number for this device of class statClass.
source code
 
getEventSummary(self, severity=1, state=1, prodState=None)
Return an event summary list for this managed entity.
source code
 
getEventOwnerList(self, severity=0, state=1)
Return list of event owners for this mangaed entity.
source code
 
getStatusImgSrc(self, status)
Return the image source for a status number
source code
 
getStatusCssClass(self, status)
Return the css class for a status number.
source code
 
manage_deleteEvents(self, evids=(), REQUEST=None)
Delete events form this managed entity.
source code
 
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.
source code
 
manage_undeleteEvents(self, evids=(), REQUEST=None)
Delete events form this managed entity.
source code
 
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.
source code
 
manage_deleteHeartbeat(self, REQUEST=None)
Delete events form this managed entity.
source code
 
manage_ackEvents(self, evids=(), REQUEST=None)
Set event state form this managed entity.
source code
 
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.
source code
 
manage_setEventStates(self, eventState=None, evids=(), REQUEST=None)
Set event state form this managed entity.
source code
 
manage_createEventMap(self, eventClass=None, evids=(), table='status', REQUEST=None)
Create an event map from an event or list of events.
source code

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

Class Variables [hide private]
  security = ClassSecurityInfo()
  __ac_permissions__ = (('Manage Events', ('manage_deleteEvents'...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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)

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

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)

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

Class Variable Details [hide private]

__ac_permissions__

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