|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskService
Method Summary | |
---|---|
void |
activate(long taskId,
String userId)
|
void |
addAttachment(long taskId,
Attachment attachment,
Content content)
|
void |
addComment(long taskId,
Comment comment)
|
void |
addTask(Task task,
ContentData content)
|
void |
claim(long taskId,
String userId)
|
void |
claim(long taskId,
String userId,
List<String> groupIds)
Deprecated. |
void |
claimNextAvailable(String userId,
List<String> groupIds,
String language)
Deprecated. |
void |
claimNextAvailable(String userId,
String language)
|
void |
complete(long taskId,
String userId,
ContentData outputData)
|
void |
completeWithResults(long taskId,
String userId,
Object results)
|
boolean |
connect()
|
boolean |
connect(String address,
int port)
|
void |
delegate(long taskId,
String userId,
String targetUserId)
|
void |
deleteAttachment(long taskId,
long attachmentId,
long contentId)
|
void |
deleteComment(long taskId,
long commentId)
|
void |
deleteFault(long taskId,
String userId)
|
void |
deleteOutput(long taskId,
String userId)
|
void |
disconnect()
|
void |
exit(long taskId,
String userId)
|
void |
fail(long taskId,
String userId,
FaultData faultData)
|
void |
forward(long taskId,
String userId,
String targetEntityId)
|
Content |
getContent(long contentId)
|
List<TaskSummary> |
getSubTasksAssignedAsPotentialOwner(long parentId,
String userId,
String language)
|
List<TaskSummary> |
getSubTasksByParent(long parentId)
|
Task |
getTask(long taskId)
|
Task |
getTaskByWorkItemId(long workItemId)
|
List<TaskSummary> |
getTasksAssignedAsBusinessAdministrator(String userId,
String language)
|
List<TaskSummary> |
getTasksAssignedAsExcludedOwner(String userId,
String language)
|
List<TaskSummary> |
getTasksAssignedAsPotentialOwner(String userId,
List<String> groupIds,
String language)
Deprecated. |
List<TaskSummary> |
getTasksAssignedAsPotentialOwner(String userId,
List<String> groupIds,
String language,
int firstResult,
int maxResult)
Deprecated. |
List<TaskSummary> |
getTasksAssignedAsPotentialOwner(String userId,
String language)
|
List<TaskSummary> |
getTasksAssignedAsPotentialOwnerByStatus(String userId,
List<Status> status,
String language)
|
List<TaskSummary> |
getTasksAssignedAsPotentialOwnerByStatusByGroup(String userId,
List<String> groupIds,
List<Status> status,
String language)
Deprecated. |
List<TaskSummary> |
getTasksAssignedAsRecipient(String userId,
String language)
|
List<TaskSummary> |
getTasksAssignedAsTaskInitiator(String userId,
String language)
|
List<TaskSummary> |
getTasksAssignedAsTaskStakeholder(String userId,
String language)
|
List<TaskSummary> |
getTasksByStatusByProcessId(long processInstanceId,
List<Status> status,
String language)
|
List<TaskSummary> |
getTasksByStatusByProcessIdByTaskName(long processInstanceId,
List<Status> status,
String taskName,
String language)
|
List<TaskSummary> |
getTasksOwned(String userId,
List<Status> status,
String language)
|
List<TaskSummary> |
getTasksOwned(String userId,
String language)
|
void |
nominate(long taskId,
String userId,
List<OrganizationalEntity> potentialOwners)
|
List<?> |
query(String qlString,
Integer size,
Integer offset)
Deprecated. |
void |
register(long taskId,
String userId)
|
void |
registerForEvent(EventKey key,
boolean remove,
EventResponseHandler responseHandler)
This method registers for an event key a handler to notify the task life cycle events |
void |
release(long taskId,
String userId)
|
void |
remove(long taskId,
String userId)
|
void |
resume(long taskId,
String userId)
|
void |
setDocumentContent(long taskId,
Content content)
|
void |
setFault(long taskId,
String userId,
FaultData fault)
|
void |
setOutput(long taskId,
String userId,
ContentData outputContentData)
|
void |
setPriority(long taskId,
String userId,
int priority)
|
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 |
unregisterForEvent(EventKey key)
This method removes all the handlers associated with an EventKey |
Method Detail |
---|
void activate(long taskId, String userId)
void addAttachment(long taskId, Attachment attachment, Content content)
void addComment(long taskId, Comment comment)
void addTask(Task task, ContentData content)
void claim(long taskId, String userId)
@Deprecated void claim(long taskId, String userId, List<String> groupIds)
void claimNextAvailable(String userId, String language)
@Deprecated void claimNextAvailable(String userId, List<String> groupIds, String language)
void complete(long taskId, String userId, ContentData outputData)
void completeWithResults(long taskId, String userId, Object results)
boolean connect()
boolean connect(String address, int port)
void delegate(long taskId, String userId, String targetUserId)
void deleteAttachment(long taskId, long attachmentId, long contentId)
void deleteComment(long taskId, long commentId)
void deleteFault(long taskId, String userId)
void deleteOutput(long taskId, String userId)
void disconnect() throws Exception
Exception
void exit(long taskId, String userId)
void fail(long taskId, String userId, FaultData faultData)
void forward(long taskId, String userId, String targetEntityId)
Content getContent(long contentId)
List<TaskSummary> getSubTasksAssignedAsPotentialOwner(long parentId, String userId, String language)
List<TaskSummary> getSubTasksByParent(long parentId)
Task getTask(long taskId)
Task getTaskByWorkItemId(long workItemId)
List<TaskSummary> getTasksAssignedAsBusinessAdministrator(String userId, String language)
List<TaskSummary> getTasksAssignedAsExcludedOwner(String userId, String language)
List<TaskSummary> getTasksAssignedAsPotentialOwner(String userId, String language)
@Deprecated List<TaskSummary> getTasksAssignedAsPotentialOwner(String userId, List<String> groupIds, String language)
@Deprecated List<TaskSummary> getTasksAssignedAsPotentialOwner(String userId, List<String> groupIds, String language, int firstResult, int maxResult)
List<TaskSummary> getTasksAssignedAsRecipient(String userId, String language)
List<TaskSummary> getTasksAssignedAsTaskInitiator(String userId, String language)
List<TaskSummary> getTasksAssignedAsTaskStakeholder(String userId, String language)
List<TaskSummary> getTasksOwned(String userId, String language)
List<TaskSummary> getTasksOwned(String userId, List<Status> status, String language)
void nominate(long taskId, String userId, List<OrganizationalEntity> potentialOwners)
@Deprecated List<?> query(String qlString, Integer size, Integer offset)
qlString
- The query string.size
- Maximum number of results to return.offset
- The offset from the beginning of the result list determining the first result.
void register(long taskId, String userId)
void registerForEvent(EventKey key, boolean remove, EventResponseHandler responseHandler)
key
- remove
- The remove boolean is used to remove the handler after firing a notificationresponseHandler
- void unregisterForEvent(EventKey key)
key
- void release(long taskId, String userId)
void remove(long taskId, String userId)
void resume(long taskId, String userId)
void setDocumentContent(long taskId, Content content)
void setFault(long taskId, String userId, FaultData fault)
void setOutput(long taskId, String userId, ContentData outputContentData)
void setPriority(long taskId, String userId, int priority)
void skip(long taskId, String userId)
void start(long taskId, String userId)
void stop(long taskId, String userId)
void suspend(long taskId, String userId)
List<TaskSummary> getTasksAssignedAsPotentialOwnerByStatus(String userId, List<Status> status, String language)
@Deprecated List<TaskSummary> getTasksAssignedAsPotentialOwnerByStatusByGroup(String userId, List<String> groupIds, List<Status> status, String language)
List<TaskSummary> getTasksByStatusByProcessId(long processInstanceId, List<Status> status, String language)
List<TaskSummary> getTasksByStatusByProcessIdByTaskName(long processInstanceId, List<Status> status, String taskName, String language)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |