Package | Description |
---|---|
org.jbpm.casemgmt.api |
Modifier and Type | Method and Description |
---|---|
String |
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 stage,
String processId,
Map<String,Object> parameters)
Adds new subprocess (identified by process id) to case.
|
Long |
CaseService.addDynamicSubprocessToStage(String caseId,
String stage,
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 stage,
TaskSpecification taskSpecification)
Adds new user task to specified case and stage on given process instance.
|
void |
CaseService.addDynamicTaskToStage(String caseId,
String stage,
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(Long processInstanceId,
String stage,
String fragmentName,
Object data)
Triggers given by fragmentName adhoc element (such as task, milestone) within given process instance and stage
|
void |
CaseService.triggerAdHocFragment(String caseId,
String fragmentName,
Object data)
Triggers given by fragmentName adhoc element (such as task, milestone) within given case.
|
void |
CaseService.triggerAdHocFragment(String caseId,
String stage,
String fragmentName,
Object data)
Triggers given by fragmentName adhoc element (such as task, milestone) within given case and stage.
|
void |
CaseService.updateCaseComment(String caseId,
String commentId,
String author,
String text,
String... restrictedTo)
Updated given comment with entire text provided
|
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.