## Uses of Class
org.jbpm.services.api.TaskNotFoundException

- Packages that use TaskNotFoundException
  Package | Description
  --- | ---
  org.jbpm.kie.services.impl.admin |
  org.jbpm.services.api.admin |

- - ### Uses of TaskNotFoundException in org.jbpm.kie.services.impl.admin

    Methods in org.jbpm.kie.services.impl.admin that throw TaskNotFoundException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | UserTaskAdminServiceImpl.`addBusinessAdmins​(long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`addBusinessAdmins​(String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`addBusinessAdmins​(String userId, String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`addExcludedOwners​(long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`addExcludedOwners​(String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`addExcludedOwners​(String userId, String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `protected void` | UserTaskAdminServiceImpl.`addPeopleAssignment​(String deploymentId, long taskId, boolean removeExisting, int type, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `protected void` | UserTaskAdminServiceImpl.`addPeopleAssignment​(String userId, String deploymentId, long taskId, boolean removeExisting, int type, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`addPotentialOwners​(long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`addPotentialOwners​(String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`addPotentialOwners​(String userId, String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`addTaskInput​(long taskId, String name, Object value)` |
    `void` | UserTaskAdminServiceImpl.`addTaskInput​(String deploymentId, long taskId, String name, Object value)` |
    `void` | UserTaskAdminServiceImpl.`addTaskInputs​(long taskId, Map<String,​Object> data)` |
    `void` | UserTaskAdminServiceImpl.`addTaskInputs​(String deploymentId, long taskId, Map<String,​Object> data)` |
    `void` | UserTaskAdminServiceImpl.`cancelNotification​(long taskId, long notificationId)` |
    `void` | UserTaskAdminServiceImpl.`cancelNotification​(String deploymentId, long taskId, long notificationId)` |
    `void` | UserTaskAdminServiceImpl.`cancelReassignment​(long taskId, long reassignmentId)` |
    `void` | UserTaskAdminServiceImpl.`cancelReassignment​(String deploymentId, long taskId, long reassignmentId)` |
    `Collection<TaskNotification>` | UserTaskAdminServiceImpl.`getTaskNotifications​(long taskId, boolean activeOnly)` |
    `Collection<TaskNotification>` | UserTaskAdminServiceImpl.`getTaskNotifications​(String deploymentId, long taskId, boolean activeOnly)` |
    `Collection<TaskReassignment>` | UserTaskAdminServiceImpl.`getTaskReassignments​(long taskId, boolean activeOnly)` |
    `Collection<TaskReassignment>` | UserTaskAdminServiceImpl.`getTaskReassignments​(String deploymentId, long taskId, boolean activeOnly)` |
    `protected Long` | UserTaskAdminServiceImpl.`notify​(String deploymentId, long taskId, String timeExpression, org.kie.internal.task.api.TaskDeadlinesService.DeadlineType type, org.kie.internal.task.api.model.Notification notification)` |
    `Long` | UserTaskAdminServiceImpl.`notifyWhenNotCompleted​(long taskId, String timeExpression, org.kie.internal.task.api.model.Notification notification)` |
    `Long` | UserTaskAdminServiceImpl.`notifyWhenNotCompleted​(String deploymentId, long taskId, String timeExpression, org.kie.internal.task.api.model.Notification notification)` |
    `Long` | UserTaskAdminServiceImpl.`notifyWhenNotStarted​(long taskId, String timeExpression, org.kie.internal.task.api.model.Notification notification)` |
    `Long` | UserTaskAdminServiceImpl.`notifyWhenNotStarted​(String deploymentId, long taskId, String timeExpression, org.kie.internal.task.api.model.Notification notification)` |
    `protected Long` | UserTaskAdminServiceImpl.`reassign​(String deploymentId, long taskId, String timeExpression, org.kie.internal.task.api.TaskDeadlinesService.DeadlineType type, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `Long` | UserTaskAdminServiceImpl.`reassignWhenNotCompleted​(long taskId, String timeExpression, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `Long` | UserTaskAdminServiceImpl.`reassignWhenNotCompleted​(String deploymentId, long taskId, String timeExpression, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `Long` | UserTaskAdminServiceImpl.`reassignWhenNotStarted​(long taskId, String timeExpression, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `Long` | UserTaskAdminServiceImpl.`reassignWhenNotStarted​(String deploymentId, long taskId, String timeExpression, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`removeBusinessAdmins​(long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`removeBusinessAdmins​(String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`removeBusinessAdmins​(String userId, String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`removeExcludedOwners​(long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`removeExcludedOwners​(String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`removeExcludedOwners​(String userId, String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `protected void` | UserTaskAdminServiceImpl.`removePeopleAssignment​(String deploymentId, long taskId, int type, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `protected void` | UserTaskAdminServiceImpl.`removePeopleAssignment​(String userId, String deploymentId, long taskId, int type, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`removePotentialOwners​(long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`removePotentialOwners​(String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`removePotentialOwners​(String userId, String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` |
    `void` | UserTaskAdminServiceImpl.`removeTaskInputs​(long taskId, String... name)` |
    `void` | UserTaskAdminServiceImpl.`removeTaskInputs​(String deploymentId, long taskId, String... name)` |
    `void` | UserTaskAdminServiceImpl.`removeTaskOutputs​(long taskId, String... name)` |
    `void` | UserTaskAdminServiceImpl.`removeTaskOutputs​(String deploymentId, long taskId, String... name)` |

  - ### Uses of TaskNotFoundException in org.jbpm.services.api.admin

    Methods in org.jbpm.services.api.admin that throw TaskNotFoundException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | UserTaskAdminService.`addBusinessAdmins​(long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Adds new business admin for a given task.
    `void` | UserTaskAdminService.`addBusinessAdmins​(String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Adds new business admin for a given task.
    `void` | UserTaskAdminService.`addBusinessAdmins​(String userId, String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Adds new business admin for a given task.
    `void` | UserTaskAdminService.`addExcludedOwners​(long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Adds new excluded owners for a given task.
    `void` | UserTaskAdminService.`addExcludedOwners​(String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Adds new excluded owners for a given task.
    `void` | UserTaskAdminService.`addExcludedOwners​(String userId, String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Adds new excluded owners for a given task.
    `void` | UserTaskAdminService.`addPotentialOwners​(long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Adds new potential owners for a given task.
    `void` | UserTaskAdminService.`addPotentialOwners​(String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Adds new potential owners for a given task.
    `void` | UserTaskAdminService.`addPotentialOwners​(String userId, String deploymentId, long taskId, boolean removeExisting, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Adds new potential owners for a given task.
    `void` | UserTaskAdminService.`addTaskInput​(long taskId, String name, Object value)` | Adds new item to task input variables.
    `void` | UserTaskAdminService.`addTaskInput​(String deploymentId, long taskId, String name, Object value)` | Adds new item to task input variables.
    `void` | UserTaskAdminService.`addTaskInputs​(long taskId, Map<String,​Object> data)` | Adds new items to task input variables.
    `void` | UserTaskAdminService.`addTaskInputs​(String deploymentId, long taskId, Map<String,​Object> data)` | Adds new items to task input variables.
    `void` | UserTaskAdminService.`cancelNotification​(long taskId, long notificationId)` | Cancels given notification on a task
    `void` | UserTaskAdminService.`cancelNotification​(String deploymentId, long taskId, long notificationId)` | Cancels given notification on a task
    `void` | UserTaskAdminService.`cancelReassignment​(long taskId, long reassignmentId)` | Cancels given reassignment on a task
    `void` | UserTaskAdminService.`cancelReassignment​(String deploymentId, long taskId, long reassignmentId)` | Cancels given reassignment on a task
    `Collection<TaskNotification>` | UserTaskAdminService.`getTaskNotifications​(long taskId, boolean activeOnly)` | Returns task notifications scheduled for given task
    `Collection<TaskNotification>` | UserTaskAdminService.`getTaskNotifications​(String deploymentId, long taskId, boolean activeOnly)` | Returns task notifications scheduled for given task
    `Collection<TaskReassignment>` | UserTaskAdminService.`getTaskReassignments​(long taskId, boolean activeOnly)` | Returns task reassignments scheduled for given task
    `Collection<TaskReassignment>` | UserTaskAdminService.`getTaskReassignments​(String deploymentId, long taskId, boolean activeOnly)` | Returns task reassignments scheduled for given task
    `Long` | UserTaskAdminService.`notifyWhenNotCompleted​(long taskId, String timeExpression, org.kie.internal.task.api.model.Notification notification)` | Sends notification (of notification type) to given recipients in case task was not completed before time given as timeExpression elapses.
    `Long` | UserTaskAdminService.`notifyWhenNotCompleted​(String deploymentId, long taskId, String timeExpression, org.kie.internal.task.api.model.Notification notification)` | Sends notification (of notification type) to given recipients in case task was not completed before time given as timeExpression elapses.
    `Long` | UserTaskAdminService.`notifyWhenNotStarted​(long taskId, String timeExpression, org.kie.internal.task.api.model.Notification notification)` | Sends notification (of notification type) to given recipients in case task was not started before time given as timeExpression elapses.
    `Long` | UserTaskAdminService.`notifyWhenNotStarted​(String deploymentId, long taskId, String timeExpression, org.kie.internal.task.api.model.Notification notification)` | Sends notification (of notification type) to given recipients in case task was not started before time given as timeExpression elapses.
    `Long` | UserTaskAdminService.`reassignWhenNotCompleted​(long taskId, String timeExpression, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Reassign automatically a task in case it was not completed before time given as timeExpression elapses.
    `Long` | UserTaskAdminService.`reassignWhenNotCompleted​(String deploymentId, long taskId, String timeExpression, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Reassign automatically a task in case it was not completed before time given as timeExpression elapses.
    `Long` | UserTaskAdminService.`reassignWhenNotStarted​(long taskId, String timeExpression, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Reassign automatically a task in case it was not started before time given as timeExpression elapses.
    `Long` | UserTaskAdminService.`reassignWhenNotStarted​(String deploymentId, long taskId, String timeExpression, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Reassign automatically a task in case it was not started before time given as timeExpression elapses.
    `void` | UserTaskAdminService.`removeBusinessAdmins​(long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Remove existing business admin from given task.
    `void` | UserTaskAdminService.`removeBusinessAdmins​(String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Remove existing business admin from given task.
    `void` | UserTaskAdminService.`removeBusinessAdmins​(String userId, String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Remove existing business admin from given task.
    `void` | UserTaskAdminService.`removeExcludedOwners​(long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Remove existing excluded owners from given task.
    `void` | UserTaskAdminService.`removeExcludedOwners​(String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Remove existing excluded owners from given task.
    `void` | UserTaskAdminService.`removeExcludedOwners​(String userId, String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Remove existing excluded owners from given task.
    `void` | UserTaskAdminService.`removePotentialOwners​(long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Remove existing potential owners from given task.
    `void` | UserTaskAdminService.`removePotentialOwners​(String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Remove existing potential owners from given task.
    `void` | UserTaskAdminService.`removePotentialOwners​(String userId, String deploymentId, long taskId, org.kie.api.task.model.OrganizationalEntity... orgEntities)` | Remove existing potential owners from given task.
    `void` | UserTaskAdminService.`removeTaskInputs​(long taskId, String... name)` | Removes one or more input variables from a task.
    `void` | UserTaskAdminService.`removeTaskInputs​(String deploymentId, long taskId, String... name)` | Removes one or more input variables from a task.
    `void` | UserTaskAdminService.`removeTaskOutputs​(long taskId, String... name)` | Removes one or more output variables from a task.
    `void` | UserTaskAdminService.`removeTaskOutputs​(String deploymentId, long taskId, String... name)` | Removes one or more output variables from a task.