org.jtheque.core.managers.event
Interface IEventManager

All Superinterfaces:
IManager
All Known Implementing Classes:
EventManager

public interface IEventManager
extends IManager

An event manager specification.

Author:
Baptiste Wicht

Method Summary
 void addEventLog(java.lang.String log, EventLog event)
          Add an event to a log.
 java.util.List<EventLog> getEventLogs(java.lang.String log)
          Return all the events from a log.
 java.util.Set<java.lang.String> getLogs()
          Return all the logs.
 
Methods inherited from interface org.jtheque.core.managers.IManager
close, init, preInit
 

Method Detail

getLogs

java.util.Set<java.lang.String> getLogs()
Return all the logs.

Returns:
A Set containing all the logs.

getEventLogs

java.util.List<EventLog> getEventLogs(java.lang.String log)
Return all the events from a log.

Parameters:
log - The log to get the events from.
Returns:
A List containing all the events of the log.

addEventLog

void addEventLog(java.lang.String log,
                 EventLog event)
Add an event to a log.

Parameters:
log - The log to add the event to.
event - The event to add.


Copyright © 2009 JTheque. All Rights Reserved.