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

Class IEventStatus

source code

zope.interface.Interface --+
                           |
                          IEventStatus

Query real-time event system for status information.

Instance Methods [hide private]
 
getEventRainbow(self, where="")
Return a list of tuples with number of events for each severity and the color of the severity that the number represents.
source code
 
getOrganizerStatus(self, orgType, orgName, severity=None, where="")
Return a count of events that match where for orgName and children.
source code
 
getDeviceStatus(self, device, severity=None, where="")
Return a count of events that match where for a particular device.
source code
 
getComponentStatus(self, device, severity=None, where="")
Return a count of events that match where for a particular component.
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'getComponentStatus': <zope.interfac...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'ZenEvents.interfaces.IEventStatus'
  __iro__ = (<InterfaceClass ZenEvents.interfaces.IEventStatus>,...
  __name__ = 'IEventStatus'
  __sro__ = (<InterfaceClass ZenEvents.interfaces.IEventStatus>,...
  _implied = {<InterfaceClass ZenEvents.interfaces.IEventStatus>...
  dependents = <WeakKeyDictionary at 117487016>

Inherited from zope.interface.Interface (private): _Element__tagged_values

Method Details [hide private]

getEventRainbow(self, where="")

source code 
Return a list of tuples with number of events for each severity and the color of the severity that the number represents. ((5,"#FF0000"), (14,"#FFFF00")...)

Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'getComponentStatus': <zope.interface.interface.Method object at 0x67\
c1b70>,
 'getDeviceStatus': <zope.interface.interface.Method object at 0x67c1b\
50>,
 'getEventRainbow': <zope.interface.interface.Method object at 0x67c1b\
10>,
 'getOrganizerStatus': <zope.interface.interface.Method object at 0x67\
c1b30>}

__iro__

Value:
(<InterfaceClass ZenEvents.interfaces.IEventStatus>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass ZenEvents.interfaces.IEventStatus>,
 <InterfaceClass zope.interface.Interface>)

_implied

Value:
{<InterfaceClass ZenEvents.interfaces.IEventStatus>: (),
 <InterfaceClass zope.interface.Interface>: ()}