|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WatcherTaskDAO
DAO for accessing watcher tasks
Method Summary | |
---|---|
void |
createNewTask(TaskType taskType,
java.lang.Long targetId)
Creates a new task |
WatcherTask |
fetchNextPendingTask()
Returns the next pending task |
void |
removeTask(WatcherTask watcherTask)
Removes the following task |
void |
updateTask(WatcherTask watcherTask)
Updates the given task |
Method Detail |
---|
WatcherTask fetchNextPendingTask()
void createNewTask(TaskType taskType, java.lang.Long targetId)
taskType
- the new task's typetargetId
- the new task's target ID, if anyvoid updateTask(WatcherTask watcherTask)
watcherTask
- the taskvoid removeTask(WatcherTask watcherTask)
watcherTask
- the task to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |