public interface ITasksRepository
| Modifier and Type | Method and Description |
|---|---|
void |
delete(java.lang.Long id)
This method deletes a specified by id task
|
java.lang.Iterable<Task> |
findAll()
This method finds all tasks that are stored in repository
|
Task |
findOne(java.lang.Long id)
This method finds a specified by id task
|
Task |
save(Task task)
This method saves data about task.
|
Task save(Task task)
task - Task instancevoid delete(java.lang.Long id)
id - Id of task to deletejava.lang.Iterable<Task> findAll()
Task findOne(java.lang.Long id)
id - Id of task to look up