|
jBPM distribution 6.0.0-SNAPSHOT | |||||||||
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 TaskService
TaskException
void claim(long taskId, String userId) throws TaskException
claim
in interface TaskService
TaskException
void claimNextAvailable(String userId, String language) throws TaskException
claimNextAvailable
in interface TaskService
TaskException
void complete(long taskId, String userId, Map<String,Object> data) throws TaskException
complete
in interface TaskService
TaskException
void delegate(long taskId, String userId, String targetUserId) throws TaskException
delegate
in interface TaskService
TaskException
void exit(long taskId, String userId) throws TaskException
exit
in interface TaskService
TaskException
void fail(long taskId, String userId, Map<String,Object> faultData) throws TaskException
fail
in interface TaskService
TaskException
void forward(long taskId, String userId, String targetEntityId) throws TaskException
forward
in interface TaskService
TaskException
long addTask(Task task, Map<String,Object> params) throws TaskException
addTask
in interface TaskService
TaskException
void release(long taskId, String userId) throws TaskException
release
in interface TaskService
TaskException
void resume(long taskId, String userId) throws TaskException
resume
in interface TaskService
TaskException
void skip(long taskId, String userId) throws TaskException
skip
in interface TaskService
TaskException
void start(long taskId, String userId) throws TaskException
start
in interface TaskService
TaskException
void stop(long taskId, String userId) throws TaskException
stop
in interface TaskService
TaskException
void suspend(long taskId, String userId) throws TaskException
suspend
in interface TaskService
TaskException
void nominate(long taskId, String userId, List<OrganizationalEntity> potentialOwners) throws TaskException
nominate
in interface TaskService
TaskException
|
jBPM distribution 6.0.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |