## Uses of Class
org.jbpm.casemgmt.api.CaseNotFoundException

- Packages that use CaseNotFoundException
  Package | Description
  --- | ---
  org.jbpm.casemgmt.api |
  org.jbpm.casemgmt.impl |

- - ### Uses of CaseNotFoundException in org.jbpm.casemgmt.api

    Methods in org.jbpm.casemgmt.api that throw CaseNotFoundException
    Modifier and Type | Method and Description
    --- | ---
    `void` | CaseService.`addCaseComment(String caseId, String author, String comment, String... restrictedTo)` Adds new comment to the case
    `void` | CaseService.`addDataToCaseFile(String caseId, Map<String,Object> data, String... restrictedTo)` Adds complete map to case file of given case.
    `void` | CaseService.`addDataToCaseFile(String caseId, String name, Object value, String... restrictedTo)` Adds given named value into case file of given case.
    `Long` | CaseService.`addDynamicSubprocess(Long processInstanceId, String processId, Map<String,Object> parameters)` Adds new subprocess (identified by process id) to case.
    `Long` | CaseService.`addDynamicSubprocess(String caseId, String processId, Map<String,Object> parameters)` Adds new subprocess (identified by process id) to given process instance.
    `Long` | CaseService.`addDynamicSubprocessToStage(Long processInstanceId, String stageId, String processId, Map<String,Object> parameters)` Adds new subprocess (identified by process id) to case.
    `Long` | CaseService.`addDynamicSubprocessToStage(String caseId, String stageId, String processId, Map<String,Object> parameters)` Adds new subprocess (identified by process id) to given process instance.
    `void` | CaseService.`addDynamicTask(String caseId, TaskSpecification taskSpecification)` Adds new user task to specified case.
    `void` | CaseService.`addDynamicTaskToStage(Long processInstanceId, String stageId, TaskSpecification taskSpecification)` Adds new user task to specified case and stage on given process instance.
    `void` | CaseService.`addDynamicTaskToStage(String caseId, String stageId, TaskSpecification taskSpecification)` Adds new user task to specified case and stage.
    `void` | CaseService.`assignToCaseRole(String caseId, String role, org.kie.api.task.model.OrganizationalEntity entity)` Assigns given entity (user or group) to case role for a given case.
    `void` | CaseService.`cancelCase(String caseId)` Cancels case with given case id (including all attached process instances if any).
    `void` | CaseService.`closeCase(String caseId, String comment)` Closes case with given case id (including all attached process instances if any).
    `void` | CaseService.`destroyCase(String caseId)` Permanently destroys case identified by given case id.
    `Collection<CommentInstance>` | CaseService.`getCaseComments(String caseId, CommentSortBy sortBy, org.kie.api.runtime.query.QueryContext queryContext)` Returns all case comments sorted with given sortBy
    `Collection<CommentInstance>` | CaseService.`getCaseComments(String caseId, org.kie.api.runtime.query.QueryContext queryContext)` Returns all case comments sorted by date
    `CaseFileInstance` | CaseService.`getCaseFileInstance(String caseId)` Returns Case file for give case id
    `CaseInstance` | CaseService.`getCaseInstance(String caseId)` Returns case instance (only if it's active) identified by given case id - does not load case file, roles, milestones nor stages.
    `CaseInstance` | CaseService.`getCaseInstance(String caseId, boolean withData, boolean withRoles, boolean withMilestones, boolean withStages)` Returns case instance (only if it's active) identified by given case id with options on what should be fetched
    `Collection<CaseRoleInstance>` | CaseService.`getCaseRoleAssignments(String caseId)` Returns role assignments for given case
    `void` | CaseService.`removeCaseComment(String caseId, String commentId)` Removes given comment from the case comments list
    `void` | CaseService.`removeDataFromCaseFile(String caseId, List<String> variableNames)` Removes given variables (stored under variableNames) from case file of given case.
    `void` | CaseService.`removeDataFromCaseFile(String caseId, String name)` Removes given variable (stored under name) from case file of given case.
    `void` | CaseService.`removeFromCaseRole(String caseId, String role, org.kie.api.task.model.OrganizationalEntity entity)` Removes given entity (user or group) from the case role for a given case.
    `void` | CaseService.`reopenCase(String caseId, String deploymentId, String caseDefinitionId)` Reopens case given by case id by starting another instance of case definition.
    `void` | CaseService.`reopenCase(String caseId, String deploymentId, String caseDefinitionId, Map<String,Object> data)` Reopens case given by case id by starting another instance of case definition.
    `void` | CaseService.`triggerAdHocFragment(Long processInstanceId, String fragmentName, Object data)` Triggers given by fragmentName adhoc element (such as task, milestone) within given process instance
    `void` | CaseService.`triggerAdHocFragment(String caseId, String fragmentName, Object data)` Triggers given by fragmentName adhoc element (such as task, milestone) within given case.
    `void` | CaseService.`updateCaseComment(String caseId, String commentId, String author, String text, String... restrictedTo)` Updated given comment with entire text provided

  - ### Uses of CaseNotFoundException in org.jbpm.casemgmt.impl

    Methods in org.jbpm.casemgmt.impl that throw CaseNotFoundException
    Modifier and Type | Method and Description
    --- | ---
    `void` | CaseServiceImpl.`addCaseComment(String caseId, String author, String comment, String... restrictedTo)`
    `void` | CaseServiceImpl.`addDataToCaseFile(String caseId, Map<String,Object> data, String... restrictedTo)`
    `void` | CaseServiceImpl.`addDataToCaseFile(String caseId, String name, Object value, String... restrictedTo)`
    `Long` | CaseServiceImpl.`addDynamicSubprocess(Long processInstanceId, String processId, Map<String,Object> parameters)`
    `Long` | CaseServiceImpl.`addDynamicSubprocess(String caseId, String processId, Map<String,Object> parameters)`
    `Long` | CaseServiceImpl.`addDynamicSubprocessToStage(Long processInstanceId, String stageId, String processId, Map<String,Object> parameters)`
    `Long` | CaseServiceImpl.`addDynamicSubprocessToStage(String caseId, String stageId, String processId, Map<String,Object> parameters)`
    `void` | CaseServiceImpl.`addDynamicTask(String caseId, TaskSpecification taskSpecification)`
    `void` | CaseServiceImpl.`addDynamicTaskToStage(Long processInstanceId, String stageId, TaskSpecification taskSpecification)`
    `void` | CaseServiceImpl.`addDynamicTaskToStage(String caseId, String stageId, TaskSpecification taskSpecification)`
    `void` | CaseServiceImpl.`assignToCaseRole(String caseId, String role, org.kie.api.task.model.OrganizationalEntity entity)`
    `void` | CaseServiceImpl.`cancelCase(String caseId)`
    `void` | CaseServiceImpl.`closeCase(String caseId, String comment)`
    `void` | CaseServiceImpl.`destroyCase(String caseId)`
    `Collection<CommentInstance>` | CaseServiceImpl.`getCaseComments(String caseId, CommentSortBy sortBy, org.kie.api.runtime.query.QueryContext queryContext)`
    `Collection<CommentInstance>` | CaseServiceImpl.`getCaseComments(String caseId, org.kie.api.runtime.query.QueryContext queryContext)`
    `CaseFileInstance` | CaseServiceImpl.`getCaseFileInstance(String caseId)`
    `CaseInstance` | CaseServiceImpl.`getCaseInstance(String caseId)`
    `CaseInstance` | CaseServiceImpl.`getCaseInstance(String caseId, boolean withData, boolean withRoles, boolean withMilestones, boolean withStages)`
    `Collection<CaseRoleInstance>` | CaseServiceImpl.`getCaseRoleAssignments(String caseId)`
    `protected void` | CaseServiceImpl.`internalTriggerAdHocFragment(ProcessInstanceDesc pi, String fragmentName, Object data)`
    `void` | CaseServiceImpl.`removeCaseComment(String caseId, String commentId)`
    `void` | CaseServiceImpl.`removeDataFromCaseFile(String caseId, List<String> variableNames)`
    `void` | CaseServiceImpl.`removeDataFromCaseFile(String caseId, String name)`
    `void` | CaseServiceImpl.`removeFromCaseRole(String caseId, String role, org.kie.api.task.model.OrganizationalEntity entity)`
    `void` | CaseServiceImpl.`reopenCase(String caseId, String deploymentId, String caseDefinitionId)`
    `void` | CaseServiceImpl.`reopenCase(String caseId, String deploymentId, String caseDefinitionId, Map<String,Object> data)`
    `void` | CaseServiceImpl.`triggerAdHocFragment(Long processInstanceId, String fragmentName, Object data)`
    `void` | CaseServiceImpl.`triggerAdHocFragment(String caseId, String fragmentName, Object data)`
    `void` | CaseServiceImpl.`updateCaseComment(String caseId, String commentId, String author, String text, String... restrictedTo)`
    `protected ProcessInstanceDesc` | CaseServiceImpl.`verifyCaseIdExisted(String caseId)`
    `protected ProcessInstanceDesc` | CaseServiceImpl.`verifyCaseIdExists(String caseId)`

Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.