public interface DataEventListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
addProject(TimerProject project)
Add project event.
|
void |
addTask(TimerTask task)
Add task event.
|
void |
changeClosedState(TimerTask task)
Change task state.
|
void |
dataLoaded(Collection<TimerProject> projects)
All data loaded.
|
void |
deleteProject(TimerProject project)
Delete project.
|
void |
deleteTask(TimerTask task)
Delete task.
|
void |
modifyProject(TimerProject project)
Modify project.
|
void |
modifyTask(TimerTask task)
Modify task.
|
void |
moveTask(TimerTask task)
Post move task.
|
void |
postMergeTasks(TimerTask destinationTask,
List<TimerTask> otherTasks)
Post merge task.
|
void |
preMergeTasks(TimerTask destinationTask,
List<TimerTask> otherTasks)
Pre merge task.
|
void |
preMoveTask(TimerTask task)
Pre move task.
|
void |
setAnnotation(TimerTask task,
Date date,
String annotation)
Add annotation.
|
void |
setTaskTime(TimerTask task,
Date date,
Long time)
Set task time.
|
void |
startTask(TimerTask task)
Start task.
|
void |
stopTask(TimerTask task)
Stop task.
|
void addProject(TimerProject project)
project
- project to addvoid addTask(TimerTask task)
task
- task to addvoid modifyProject(TimerProject project)
project
- modified projectvoid modifyTask(TimerTask task)
task
- modified taskvoid deleteProject(TimerProject project)
project
- deleted projectvoid deleteTask(TimerTask task)
task
- deleted taskvoid setAnnotation(TimerTask task, Date date, String annotation)
task
- task where annotation is changeddate
- dateannotation
- new annotation valuevoid setTaskTime(TimerTask task, Date date, Long time)
task
- task where time is changeddate
- datetime
- task timevoid changeClosedState(TimerTask task)
task
- taskvoid preMoveTask(TimerTask task)
task
- taskvoid moveTask(TimerTask task)
task
- taskvoid preMergeTasks(TimerTask destinationTask, List<TimerTask> otherTasks)
destinationTask
- task where all other task will be mergedotherTasks
- other tasks to mergevoid postMergeTasks(TimerTask destinationTask, List<TimerTask> otherTasks)
destinationTask
- task where all other task will be mergedotherTasks
- other tasks to mergevoid startTask(TimerTask task)
task
- started taskvoid stopTask(TimerTask task)
task
- stoped taskvoid dataLoaded(Collection<TimerProject> projects)
projects
- projects collectionCopyright © 2007–2013 CodeLutin. All rights reserved.