|
jBPM :: Human Task Core 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(org.kie.api.task.model.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<org.kie.api.task.model.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.task.TaskService |
|---|
getAttachmentById, getContentById, getTaskById, getTaskByWorkItemId, getTasksAssignedAsBusinessAdministrator, getTasksAssignedAsPotentialOwner, getTasksAssignedAsPotentialOwnerByStatus, getTasksByProcessInstanceId, getTasksByStatusByProcessInstanceId, getTasksByVariousFields, getTasksByVariousFields, getTasksOwned, getTasksOwnedByStatus |
| Methods inherited from interface org.kie.api.runtime.CommandExecutor |
|---|
execute |
| Method Detail |
|---|
void activate(long taskId,
String userId)
throws TaskException
activate in interface org.kie.api.task.TaskServiceTaskException
void claim(long taskId,
String userId)
throws TaskException
claim in interface org.kie.api.task.TaskServiceTaskException
void claimNextAvailable(String userId,
String language)
throws TaskException
claimNextAvailable in interface org.kie.api.task.TaskServiceTaskException
void complete(long taskId,
String userId,
Map<String,Object> data)
throws TaskException
complete in interface org.kie.api.task.TaskServiceTaskException
void delegate(long taskId,
String userId,
String targetUserId)
throws TaskException
delegate in interface org.kie.api.task.TaskServiceTaskException
void exit(long taskId,
String userId)
throws TaskException
exit in interface org.kie.api.task.TaskServiceTaskException
void fail(long taskId,
String userId,
Map<String,Object> faultData)
throws TaskException
fail in interface org.kie.api.task.TaskServiceTaskException
void forward(long taskId,
String userId,
String targetEntityId)
throws TaskException
forward in interface org.kie.api.task.TaskServiceTaskException
long addTask(org.kie.api.task.model.Task task,
Map<String,Object> params)
throws TaskException
addTask in interface org.kie.api.task.TaskServiceTaskException
void release(long taskId,
String userId)
throws TaskException
release in interface org.kie.api.task.TaskServiceTaskException
void resume(long taskId,
String userId)
throws TaskException
resume in interface org.kie.api.task.TaskServiceTaskException
void skip(long taskId,
String userId)
throws TaskException
skip in interface org.kie.api.task.TaskServiceTaskException
void start(long taskId,
String userId)
throws TaskException
start in interface org.kie.api.task.TaskServiceTaskException
void stop(long taskId,
String userId)
throws TaskException
stop in interface org.kie.api.task.TaskServiceTaskException
void suspend(long taskId,
String userId)
throws TaskException
suspend in interface org.kie.api.task.TaskServiceTaskException
void nominate(long taskId,
String userId,
List<org.kie.api.task.model.OrganizationalEntity> potentialOwners)
throws TaskException
nominate in interface org.kie.api.task.TaskServiceTaskException
|
jBPM :: Human Task Core 6.0.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||