public interface TaskService extends CommandExecutor
Modifier and Type | Method and Description |
---|---|
void |
activate(long taskId,
String userId) |
Long |
addComment(long taskId,
Comment comment) |
Long |
addComment(long taskId,
String addedByUserId,
String commentText) |
long |
addTask(Task task,
Map<String,Object> params) |
void |
claim(long taskId,
String userId) |
void |
claimNextAvailable(String userId,
String language) |
void |
complete(long taskId,
String userId,
Map<String,Object> data) |
void |
delegate(long taskId,
String userId,
String targetUserId) |
void |
deleteComment(long taskId,
long commentId) |
void |
exit(long taskId,
String userId) |
void |
fail(long taskId,
String userId,
Map<String,Object> faultData) |
void |
forward(long taskId,
String userId,
String targetEntityId) |
List<Comment> |
getAllCommentsByTaskId(long taskId) |
Attachment |
getAttachmentById(long attachId) |
Comment |
getCommentById(long commentId) |
Content |
getContentById(long contentId) |
Task |
getTaskById(long taskId) |
Task |
getTaskByWorkItemId(long workItemId) |
Map<String,Object> |
getTaskContent(long taskId) |
List<TaskSummary> |
getTasksAssignedAsBusinessAdministrator(String userId,
String language) |
List<TaskSummary> |
getTasksAssignedAsPotentialOwner(String userId,
List<String> groupIds,
String language,
int firstResult,
int maxResults)
Deprecated.
|
List<TaskSummary> |
getTasksAssignedAsPotentialOwner(String userId,
String language) |
List<TaskSummary> |
getTasksAssignedAsPotentialOwnerByProcessId(String userId,
String processId) |
List<TaskSummary> |
getTasksAssignedAsPotentialOwnerByStatus(String userId,
List<Status> status,
String language) |
List<Long> |
getTasksByProcessInstanceId(long processInstanceId) |
List<TaskSummary> |
getTasksByStatusByProcessInstanceId(long processInstanceId,
List<Status> status,
String language) |
List<TaskSummary> |
getTasksOwned(String userId,
String language) |
List<TaskSummary> |
getTasksOwnedByStatus(String userId,
List<Status> status,
String language) |
void |
nominate(long taskId,
String userId,
List<OrganizationalEntity> potentialOwners) |
void |
release(long taskId,
String userId) |
void |
resume(long taskId,
String userId) |
void |
setExpirationDate(long taskId,
Date date) |
void |
skip(long taskId,
String userId) |
void |
start(long taskId,
String userId) |
void |
stop(long taskId,
String userId) |
void |
suspend(long taskId,
String userId) |
execute
void activate(long taskId, String userId)
void claim(long taskId, String userId)
void exit(long taskId, String userId)
Task getTaskByWorkItemId(long workItemId)
Task getTaskById(long taskId)
List<TaskSummary> getTasksAssignedAsBusinessAdministrator(String userId, String language)
List<TaskSummary> getTasksAssignedAsPotentialOwner(String userId, String language)
@Deprecated List<TaskSummary> getTasksAssignedAsPotentialOwner(String userId, List<String> groupIds, String language, int firstResult, int maxResults)
List<TaskSummary> getTasksAssignedAsPotentialOwnerByStatus(String userId, List<Status> status, String language)
List<TaskSummary> getTasksOwned(String userId, String language)
List<TaskSummary> getTasksOwnedByStatus(String userId, List<Status> status, String language)
List<TaskSummary> getTasksByStatusByProcessInstanceId(long processInstanceId, List<Status> status, String language)
List<TaskSummary> getTasksAssignedAsPotentialOwnerByProcessId(String userId, String processId)
void release(long taskId, String userId)
void resume(long taskId, String userId)
void skip(long taskId, String userId)
void start(long taskId, String userId)
void stop(long taskId, String userId)
void suspend(long taskId, String userId)
void nominate(long taskId, String userId, List<OrganizationalEntity> potentialOwners)
Content getContentById(long contentId)
Attachment getAttachmentById(long attachId)
void deleteComment(long taskId, long commentId)
Comment getCommentById(long commentId)
void setExpirationDate(long taskId, Date date)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.