|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectibspan.tss.dao.HistoryDAO
public class HistoryDAO
Data Access Object providing nice interface to model with history.
| Constructor Summary | |
|---|---|
HistoryDAO(OntModel mHistoryDB)
Construct HistoryDAO object providing interface to the given model with history. |
|
| Method Summary | |
|---|---|
Event |
addEvent()
Creates new event and adds it to History model. |
EventSession |
addSession(String sessionID,
int userID)
Creates new session with date of starting defined as "now". |
List<Event> |
getEvents(Date since)
Returns events logged in History model since the given date. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HistoryDAO(OntModel mHistoryDB)
throws DAOException
HistoryDAO object providing interface to the given model with history.
mHistoryDB - is a model with history
DAOException| Method Detail |
|---|
public Event addEvent()
public EventSession addSession(String sessionID,
int userID)
sessionID - is ID of session to be created.userID - is ID of user for which the given session is to be created.
public List<Event> getEvents(Date since)
since - is a date from which all logged events will be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||