|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.systemevent.service.SystemEventServiceImpl
public class SystemEventServiceImpl
SystemEvent service implementation
| Constructor Summary | |
|---|---|
SystemEventServiceImpl(SystemEventDao systemEventDao,
Long eventExpiryMinutes)
Constructor |
|
| Method Summary | |
|---|---|
void |
housekeep()
Cleanup all expired system events |
PagedSearchResult<SystemEvent> |
listSystemEvents(int pageNo,
int pageSize,
String orderBy,
boolean orderAscending,
String subject,
String action,
Date timestampFrom,
Date timestampTo,
String actor)
Performs a paged search for SystemEvents restricting by criteria fields as supplied |
void |
logSystemEvent(String subject,
String action,
String actor)
Logs some system level happening |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemEventServiceImpl(SystemEventDao systemEventDao,
Long eventExpiryMinutes)
systemEventDao - eventExpiryMinutes - - no of minutes for this event to be kept until eligible for housekeep| Method Detail |
|---|
public void logSystemEvent(String subject,
String action,
String actor)
SystemEventService
logSystemEvent in interface SystemEventServicesubject - - system level entity that has been affectedaction - - what has happenedactor - - who/what was driving the happening
public PagedSearchResult<SystemEvent> listSystemEvents(int pageNo,
int pageSize,
String orderBy,
boolean orderAscending,
String subject,
String action,
Date timestampFrom,
Date timestampTo,
String actor)
SystemEventServiceSystemEvents restricting by criteria fields as supplied
listSystemEvents in interface SystemEventServicepageNo - - page control field - page no of results to returnpageSize - - page control field - size of pageorderBy - - page control - field to order byorderAscending - - page control field - true/false results in ascending order with respect to orderBy fieldsubject - - criteria field - filter for exact match on subjectaction - - criteria field - filter for exact match on actiontimestampFrom - - criteria field - filter for events with timestamp greater than this valuetimestampTo - - criteria field - filter for events with timestamp less than this valueactor - - criteria field - filter for exact match on actor
public void housekeep()
SystemEventService
housekeep in interface SystemEventService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||