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

Class IEventList

source code

zope.interface.Interface --+
                           |
                          IEventList

Query event system for lists of events and event details.

Instance Methods [hide private]
 
getEventList(self, resultFields=[], where="", orderby="", severity=0, startdate=None, enddate=None, offset=0, rows=0)
Return a list of events that have resultFields based on where and severity and ordered by orderby.
source code
 
getEventDetail(self, where="")
Return an event with its full details populated.
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'getEventDetail': <zope.interface.in...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'ZenEvents.interfaces.IEventList'
  __iro__ = (<InterfaceClass ZenEvents.interfaces.IEventList>, <...
  __name__ = 'IEventList'
  __sro__ = (<InterfaceClass ZenEvents.interfaces.IEventList>, <...
  _implied = {<InterfaceClass ZenEvents.interfaces.IEventList>: ...
  dependents = <WeakKeyDictionary at 117486936>

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

Method Details [hide private]

getEventList(self, resultFields=[], where="", orderby="", severity=0, startdate=None, enddate=None, offset=0, rows=0)

source code 
Return a list of events that have resultFields based on where and severity and ordered by orderby. Offset and rows can be used to limit the size of the result set. startdate and enddate can limit the time range of the event list.

Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'getEventDetail': <zope.interface.interface.Method object at 0x67c1ad\
0>,
 'getEventList': <zope.interface.interface.Method object at 0x67c1ab0>\
}

__iro__

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

__sro__

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

_implied

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