|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LocalTaskService
Provides services related to tasks
| Method Summary | |
|---|---|
void |
delete(java.lang.String username,
long id)
Deletes a task by task id. |
void |
delete(java.lang.String username,
java.lang.String globalId)
Deletes a task with the given user and global id. |
java.lang.Iterable<Task> |
findAll(java.lang.String username)
Finds all tasks for the given user. |
void |
moveBefore(java.lang.String username,
long sourceId,
java.lang.Long targetId)
Moves the source task before the target task. |
Task |
update(java.lang.String username,
Task task)
Updates a task. |
| Methods inherited from interface com.atlassian.mywork.service.TaskService |
|---|
createOrUpdate, createOrUpdate, find, markComplete, setTitle |
| Method Detail |
|---|
void delete(java.lang.String username,
java.lang.String globalId)
delete in interface TaskServiceusername - username of the user that owns the taskglobalId - global id of the task to deletejava.lang.Iterable<Task> findAll(java.lang.String username)
username - username of the user owning the tasks
void delete(java.lang.String username,
long id)
id - id of the task to delete
void moveBefore(java.lang.String username,
long sourceId,
java.lang.Long targetId)
username - sourceId - Source task ID, i.e. the task to be movedtargetId - Target task ID, i.e. the task before which the source task will be moved to or
null if the source task should be moved to the end of the list
Task update(java.lang.String username,
Task task)
username - owner of the tasktask - task to update
PermissionException - if the user does not own the task
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||