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
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.