public class TaskResourceImpl extends Object implements TaskResource
Constructor and Description |
---|
TaskResourceImpl(ProcessEngine engine,
String taskId) |
Modifier and Type | Method and Description |
---|---|
void |
claim(UserIdDto dto) |
void |
complete(CompleteTaskDto dto) |
void |
delegate(UserIdDto delegatedUser) |
FormDto |
getForm() |
TaskDto |
getTask() |
protected Task |
getTaskById(String id)
Returns the task with the given id
|
void |
resolve(CompleteTaskDto dto) |
void |
setAssignee(UserIdDto dto) |
void |
unclaim() |
public TaskResourceImpl(ProcessEngine engine, String taskId)
public void claim(UserIdDto dto)
claim
in interface TaskResource
public void unclaim()
unclaim
in interface TaskResource
public void complete(CompleteTaskDto dto)
complete
in interface TaskResource
public void delegate(UserIdDto delegatedUser)
delegate
in interface TaskResource
public TaskDto getTask()
getTask
in interface TaskResource
public FormDto getForm()
getForm
in interface TaskResource
public void resolve(CompleteTaskDto dto)
resolve
in interface TaskResource
protected Task getTaskById(String id)
id
- public void setAssignee(UserIdDto dto)
setAssignee
in interface TaskResource
Copyright © 2015. All rights reserved.