|
jBPM distribution 6.0.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ThrowableInteranlTaskService
Extension to the regular task service interface to declare exceptions that might be thrown from the logic of operations. Exceptions are generically RuntimeExceptions so there is no need to be declared although it makes it much easier to use with Proxy classes.
| Method Summary | |
|---|---|
void |
activate(long taskId,
String userId)
|
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 |
exit(long taskId,
String userId)
|
void |
fail(long taskId,
String userId,
Map<String,Object> faultData)
|
void |
forward(long taskId,
String userId,
String targetEntityId)
|
void |
nominate(long taskId,
String userId,
List<OrganizationalEntity> potentialOwners)
|
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)
|
| Methods inherited from interface org.kie.internal.task.api.InternalTaskService |
|---|
addAttachment, addComment, addContent, addContent, addGroup, addMarshallerContext, addTask, addUser, addUsersAndGroups, archiveTasks, claim, claimNextAvailable, deleteAttachment, deleteComment, deleteContent, deleteFault, deleteOutput, deployTaskDef, getActiveTasks, getActiveTasks, getAllAttachmentsByTaskId, getAllCommentsByTaskId, getAllContentByTaskId, getAllTaskDef, getArchivedTasks, getCommentById, getCompletedTaskByUserId, getCompletedTasks, getCompletedTasks, getCompletedTasksByProcessId, getDescriptions, getExpirationDate, getGroupById, getGroups, getMarshallerContext, getOrganizationalEntityById, getPendingSubTasksByParent, getPendingTaskByUserId, getPotentialOwnersForTaskIds, getPriority, getSubTasksAssignedAsPotentialOwner, getSubTasksByParent, getSubTaskStrategy, getTaskContent, getTaskDefById, getTaskEventsById, getTaskInstanceById, getTasksAssignedAsExcludedOwner, getTasksAssignedAsPotentialOwner, getTasksAssignedAsPotentialOwner, getTasksAssignedAsPotentialOwnerByExpirationDate, getTasksAssignedAsPotentialOwnerByExpirationDateOptional, getTasksAssignedAsPotentialOwnerByStatusByGroup, getTasksAssignedAsRecipient, getTasksAssignedAsTaskInitiator, getTasksAssignedAsTaskStakeholder, getTasksAssignedByGroup, getTasksAssignedByGroups, getTasksByStatusByProcessInstanceIdByTaskName, getTasksOwnedByExpirationDate, getTasksOwnedByExpirationDateBeforeSpecifiedDate, getTasksOwnedByExpirationDateOptional, getUserById, getUserInfo, getUsers, isSkipable, remove, removeAllTasks, removeGroup, removeMarshallerContext, removeTaskEventsById, removeTasks, removeUser, setDescriptions, setExpirationDate, setFault, setOutput, setPriority, setSkipable, setSubTaskStrategy, setTaskNames, setUserInfo, undeployTaskDef |
| Methods inherited from interface org.kie.api.runtime.CommandExecutor |
|---|
execute |
| Method Detail |
|---|
void activate(long taskId,
String userId)
throws TaskException
activate in interface TaskServiceTaskException
void claim(long taskId,
String userId)
throws TaskException
claim in interface TaskServiceTaskException
void claimNextAvailable(String userId,
String language)
throws TaskException
claimNextAvailable in interface TaskServiceTaskException
void complete(long taskId,
String userId,
Map<String,Object> data)
throws TaskException
complete in interface TaskServiceTaskException
void delegate(long taskId,
String userId,
String targetUserId)
throws TaskException
delegate in interface TaskServiceTaskException
void exit(long taskId,
String userId)
throws TaskException
exit in interface TaskServiceTaskException
void fail(long taskId,
String userId,
Map<String,Object> faultData)
throws TaskException
fail in interface TaskServiceTaskException
void forward(long taskId,
String userId,
String targetEntityId)
throws TaskException
forward in interface TaskServiceTaskException
long addTask(Task task,
Map<String,Object> params)
throws TaskException
addTask in interface TaskServiceTaskException
void release(long taskId,
String userId)
throws TaskException
release in interface TaskServiceTaskException
void resume(long taskId,
String userId)
throws TaskException
resume in interface TaskServiceTaskException
void skip(long taskId,
String userId)
throws TaskException
skip in interface TaskServiceTaskException
void start(long taskId,
String userId)
throws TaskException
start in interface TaskServiceTaskException
void stop(long taskId,
String userId)
throws TaskException
stop in interface TaskServiceTaskException
void suspend(long taskId,
String userId)
throws TaskException
suspend in interface TaskServiceTaskException
void nominate(long taskId,
String userId,
List<OrganizationalEntity> potentialOwners)
throws TaskException
nominate in interface TaskServiceTaskException
|
jBPM distribution 6.0.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||