Uses of Class
pro.taskana.task.api.exceptions.InvalidTaskStateException
Packages that use InvalidTaskStateException
-
Uses of InvalidTaskStateException in pro.taskana.task.api
Methods in pro.taskana.task.api that throw InvalidTaskStateExceptionModifier and TypeMethodDescriptionTaskService.cancelClaim(String taskId) Cancel the claim of an existing Task if it was claimed by the current user before.TaskService.cancelClaim(String taskId, boolean keepOwner) Cancel the claim of an existing Task if it was claimed by the current user before.TaskService.cancelTask(String taskId) Claim an existing Task for the current user.TaskService.completeTask(String taskId) voidTaskService.deleteTask(String taskId) TaskService.forceCancelClaim(String taskId) Cancel the claim of an existing Task even if it was claimed by another user.TaskService.forceCancelClaim(String taskId, boolean keepOwner) Cancel the claim of an existing Task even if it was claimed by another user.TaskService.forceClaim(String taskId) Claim an existing Task for the current user even if it is already claimed by someone else.TaskService.forceCompleteTask(String taskId) voidTaskService.forceDeleteTask(String taskId) TaskService.forceRequestChanges(String taskId) Request changes for an existing Task even if the current user is not the owner or the Task is not in TaskState.IN_REVIEW yet.TaskService.forceRequestReview(String taskId) Request review for an existing Task even if the current user is not the owner or the Task is not in TaskState.CLAIMED yet.TaskService.requestChanges(String taskId) Request changes for an existing Task that is in TaskState.IN_REVIEW.TaskService.requestReview(String taskId) Request review for an existing Task that is in TaskState.CLAIMED.TaskService.terminateTask(String taskId) Terminates a Task.default TaskTransfers a Task to another Workbasket.default TaskTransfers a Task to another Workbasket.default TaskTaskService.transferWithOwner(String taskId, String destinationWorkbasketId, String owner) Transfers a Task to another Workbasket and sets the owner of the Task in the new Workbasket to owner while always setting isTransferred to true.TaskService.transferWithOwner(String taskId, String destinationWorkbasketId, String owner, boolean setTransferFlag) default TaskTaskService.transferWithOwner(String taskId, String workbasketKey, String domain, String owner) Transfers a Task to another Workbasket and sets the owner of the Task in new Workbasket to owner while always setting isTransferred .TaskService.transferWithOwner(String taskId, String workbasketKey, String domain, String owner, boolean setTransferFlag) TaskService.updateTask(Task task) Update a Task. -
Uses of InvalidTaskStateException in pro.taskana.task.internal
Methods in pro.taskana.task.internal that throw InvalidTaskStateExceptionModifier and TypeMethodDescriptionTaskServiceImpl.cancelClaim(String taskId) TaskServiceImpl.cancelClaim(String taskId, boolean keepOwner) TaskServiceImpl.cancelTask(String taskId) TaskServiceImpl.completeTask(String taskId) voidTaskServiceImpl.deleteTask(String taskId) TaskServiceImpl.forceCancelClaim(String taskId) TaskServiceImpl.forceCancelClaim(String taskId, boolean keepOwner) TaskServiceImpl.forceClaim(String taskId) TaskServiceImpl.forceCompleteTask(String taskId) voidTaskServiceImpl.forceDeleteTask(String taskId) TaskServiceImpl.forceRequestChanges(String taskId) TaskServiceImpl.forceRequestReview(String taskId) TaskServiceImpl.requestChanges(String taskId) TaskServiceImpl.requestReview(String taskId) TaskServiceImpl.terminateTask(String taskId) TaskServiceImpl.transfer(String taskId, String workbasketKey, String domain, boolean setTransferFlag) TaskServiceImpl.transferWithOwner(String taskId, String destinationWorkbasketId, String owner, boolean setTransferFlag) TaskServiceImpl.transferWithOwner(String taskId, String workbasketKey, String domain, String owner, boolean setTransferFlag) TaskServiceImpl.updateTask(Task task)