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