public interface ITasksService
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<TaskBO> | 
all()
This method returns all tasks that are available 
 | 
TaskBO | 
create(TaskVO taskVO)
This method creates a new task. 
 | 
void | 
delete(java.lang.Long taskId)
This method deletes a specified by id task. 
 | 
TaskBO | 
find(java.lang.Long taskId)
This method looks for a task specified by id. 
 | 
TaskBO | 
update(TaskVO taskVO,
      java.lang.Long taskId)
This method updates an existing specified by id task. 
 | 
java.util.List<TaskBO> all()
TaskBO create(TaskVO taskVO)
taskVO - TaskVO's instance with user's input datavoid delete(java.lang.Long taskId)
taskId - Id of task to deleteTaskBO update(TaskVO taskVO, java.lang.Long taskId)
taskVO - TaskVO's instance with user's changed and old data.taskId - Id of task to updateTaskBO find(java.lang.Long taskId)
taskId - Id of task to find