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

# Class EventView

source code

    object --+
             |
            EventView

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
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
getEventDetail(self, evid=None, dedupid=None, better=False) Return an EventDetail for an event on this object. | source code
getEventDetailFromStatusOrHistory(self, evid=None, dedupid=None, better=False) Return the event detail for an event within the context of a device or other device organizer | source code
convertEventField(self, field, value, default="") | source code
manage_addLogMessage(self, evid=None, message='', REQUEST=None) Add a log message to an event | 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()`

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.