|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.task.service.TaskClient
public class TaskClient
Constructor Summary | |
---|---|
TaskClient(TaskClientConnector connector)
|
|
TaskClient(TaskClientConnector connector,
Environment environment)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskClient(TaskClientConnector connector)
public TaskClient(TaskClientConnector connector, Environment environment)
Method Detail |
---|
public void addTask(Task task, ContentData content, TaskClientHandler.AddTaskResponseHandler responseHandler)
addTask
in interface AsyncTaskService
public void getTask(long taskId, TaskClientHandler.GetTaskResponseHandler responseHandler)
getTask
in interface AsyncTaskService
public void addComment(long taskId, Comment comment, TaskClientHandler.AddCommentResponseHandler responseHandler)
addComment
in interface AsyncTaskService
public void deleteComment(long taskId, long commentId, TaskClientHandler.DeleteCommentResponseHandler responseHandler)
deleteComment
in interface AsyncTaskService
public void addAttachment(long taskId, Attachment attachment, Content content, TaskClientHandler.AddAttachmentResponseHandler responseHandler)
addAttachment
in interface AsyncTaskService
public void deleteAttachment(long taskId, long attachmentId, long contentId, TaskClientHandler.DeleteAttachmentResponseHandler responseHandler)
deleteAttachment
in interface AsyncTaskService
public void setDocumentContent(long taskId, Content content, TaskClientHandler.SetDocumentResponseHandler responseHandler)
setDocumentContent
in interface AsyncTaskService
public void getContent(long contentId, TaskClientHandler.GetContentResponseHandler responseHandler)
getContent
in interface AsyncTaskService
public void claim(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
claim
in interface AsyncTaskService
@Deprecated public void claim(long taskId, String userId, List<String> groupIds, TaskClientHandler.TaskOperationResponseHandler responseHandler)
claim
in interface AsyncTaskService
public void start(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
start
in interface AsyncTaskService
public void stop(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
stop
in interface AsyncTaskService
public void release(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
release
in interface AsyncTaskService
public void suspend(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
suspend
in interface AsyncTaskService
public void resume(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
resume
in interface AsyncTaskService
public void skip(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
skip
in interface AsyncTaskService
public void delegate(long taskId, String userId, String targetUserId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
delegate
in interface AsyncTaskService
public void forward(long taskId, String userId, String targetEntityId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
forward
in interface AsyncTaskService
public void complete(long taskId, String userId, ContentData outputData, TaskClientHandler.TaskOperationResponseHandler responseHandler)
complete
in interface AsyncTaskService
public void completeWithResults(long taskId, String userId, Object results, TaskClientHandler.TaskOperationResponseHandler responseHandler)
completeWithResults
in interface AsyncTaskService
public void fail(long taskId, String userId, FaultData faultData, TaskClientHandler.TaskOperationResponseHandler responseHandler)
fail
in interface AsyncTaskService
public void getTasksOwned(String userId, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksOwned
in interface AsyncTaskService
public void getTasksOwned(String userId, List<Status> status, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksOwned
in interface AsyncTaskService
public void getTaskByWorkItemId(long workItemId, TaskClientHandler.GetTaskResponseHandler responseHandler)
getTaskByWorkItemId
in interface AsyncTaskService
public void getTasksAssignedAsBusinessAdministrator(String userId, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksAssignedAsBusinessAdministrator
in interface AsyncTaskService
public void getTasksAssignedAsExcludedOwner(String userId, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksAssignedAsExcludedOwner
in interface AsyncTaskService
public void getTasksAssignedAsPotentialOwner(String userId, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksAssignedAsPotentialOwner
in interface AsyncTaskService
@Deprecated public void getTasksAssignedAsPotentialOwner(String userId, List<String> groupIds, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksAssignedAsPotentialOwner
in interface AsyncTaskService
@Deprecated public void getTasksAssignedAsPotentialOwner(String userId, List<String> groupIds, String language, int firstResult, int maxResult, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksAssignedAsPotentialOwner
in interface AsyncTaskService
public void getSubTasksAssignedAsPotentialOwner(long parentId, String userId, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getSubTasksAssignedAsPotentialOwner
in interface AsyncTaskService
public void getSubTasksByParent(long parentId, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getSubTasksByParent
in interface AsyncTaskService
public void getTasksAssignedAsRecipient(String userId, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksAssignedAsRecipient
in interface AsyncTaskService
public void getTasksAssignedAsTaskInitiator(String userId, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksAssignedAsTaskInitiator
in interface AsyncTaskService
public void getTasksAssignedAsTaskStakeholder(String userId, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksAssignedAsTaskStakeholder
in interface AsyncTaskService
public void registerForEvent(EventKey key, boolean remove, EventResponseHandler responseHandler)
AsyncTaskService
registerForEvent
in interface AsyncTaskService
remove
- The remove boolean is used to remove the handler after firing a notificationpublic void unregisterForEvent(EventKey key)
AsyncTaskService
unregisterForEvent
in interface AsyncTaskService
@Deprecated public void query(String qlString, Integer size, Integer offset, TaskClientHandler.QueryGenericResponseHandler responseHandler)
query
in interface AsyncTaskService
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.public void register(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
register
in interface AsyncTaskService
public void remove(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
remove
in interface AsyncTaskService
public void nominate(long taskId, String userId, List<OrganizationalEntity> potentialOwners, TaskClientHandler.TaskOperationResponseHandler responseHandler)
nominate
in interface AsyncTaskService
public void activate(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
activate
in interface AsyncTaskService
public void exit(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
exit
in interface AsyncTaskService
public void setOutput(long taskId, String userId, ContentData outputContentData, TaskClientHandler.TaskOperationResponseHandler responseHandler)
setOutput
in interface AsyncTaskService
public void deleteOutput(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
deleteOutput
in interface AsyncTaskService
public void setFault(long taskId, String userId, FaultData fault, TaskClientHandler.TaskOperationResponseHandler responseHandler)
setFault
in interface AsyncTaskService
public void deleteFault(long taskId, String userId, TaskClientHandler.TaskOperationResponseHandler responseHandler)
deleteFault
in interface AsyncTaskService
public void setPriority(long taskId, String userId, int priority, TaskClientHandler.TaskOperationResponseHandler responseHandler)
setPriority
in interface AsyncTaskService
public boolean connect()
connect
in interface AsyncTaskService
public boolean connect(String address, int port)
connect
in interface AsyncTaskService
public void disconnect() throws Exception
disconnect
in interface AsyncTaskService
Exception
public void claimNextAvailable(String userId, String language, TaskClientHandler.TaskOperationResponseHandler responseHandler)
claimNextAvailable
in interface AsyncTaskService
@Deprecated public void claimNextAvailable(String userId, List<String> groupIds, String language, TaskClientHandler.TaskOperationResponseHandler responseHandler)
claimNextAvailable
in interface AsyncTaskService
public void getTasksAssignedAsPotentialOwnerByStatus(String userId, List<Status> status, String language, BlockingTaskSummaryResponseHandler responseHandler)
getTasksAssignedAsPotentialOwnerByStatus
in interface AsyncTaskService
@Deprecated public void getTasksAssignedAsPotentialOwnerByStatusByGroup(String userId, List<String> groupIds, List<Status> status, String language, BlockingTaskSummaryResponseHandler responseHandler)
getTasksAssignedAsPotentialOwnerByStatusByGroup
in interface AsyncTaskService
public void getTasksByStatusByProcessId(long processInstanceId, List<Status> status, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksByStatusByProcessId
in interface AsyncTaskService
public void getTasksByStatusByProcessIdByTaskName(long processInstanceId, List<Status> status, String taskName, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler)
getTasksByStatusByProcessIdByTaskName
in interface AsyncTaskService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |