@Service public class CaseInstanceService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FlowableClientService |
clientUtil |
static String |
CURRENT_PLAN_ITEM_INSTANCE_LIST_URL |
static String |
HISTORIC_ACTIVITY_INSTANCE_LIST_URL |
static String |
HISTORIC_CASE_INSTANCE_URL |
static String |
HISTORIC_DECISION_EXECUTION_LIST_URL |
static String |
HISTORIC_TASK_LIST_URL |
static String |
HISTORIC_VARIABLE_INSTANCE_LIST_URL |
protected CmmnJobService |
jobService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
static String |
RUNTIME_CASE_INSTANCE_CHANGE_STATE_URL |
static String |
RUNTIME_CASE_INSTANCE_MIGRATE_URL |
static String |
RUNTIME_CASE_INSTANCE_URL |
static String |
RUNTIME_CASE_INSTANCE_VARIABLE_URL |
static String |
RUNTIME_CASE_INSTANCE_VARIABLES |
| Constructor and Description |
|---|
CaseInstanceService() |
| Modifier and Type | Method and Description |
|---|---|
void |
changePlanItemState(ServerConfig serverConfig,
String caseInstanceId,
com.fasterxml.jackson.databind.JsonNode changeActivityBody) |
void |
createVariable(ServerConfig serverConfig,
String caseInstanceId,
com.fasterxml.jackson.databind.node.ObjectNode objectNode) |
void |
deleteVariable(ServerConfig serverConfig,
String caseInstanceId,
String variableName) |
void |
executeAction(ServerConfig serverConfig,
String caseInstanceId,
com.fasterxml.jackson.databind.JsonNode actionBody) |
com.fasterxml.jackson.databind.JsonNode |
getCaseInstance(ServerConfig serverConfig,
String caseInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getDecisionExecutions(ServerConfig serverConfig,
String caseInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getJobs(ServerConfig serverConfig,
String caseInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getPlanItemInstancesForCaseInstance(ServerConfig serverConfig,
String caseInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getTasks(ServerConfig serverConfig,
String caseInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getVariables(ServerConfig serverConfig,
String caseInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
listCaseInstances(com.fasterxml.jackson.databind.node.ObjectNode bodyNode,
ServerConfig serverConfig) |
com.fasterxml.jackson.databind.JsonNode |
listCaseInstancesForCaseDefinition(com.fasterxml.jackson.databind.node.ObjectNode bodyNode,
ServerConfig serverConfig) |
void |
migrateCaseInstance(ServerConfig serverConfig,
String caseInstanceId,
String migrationDocument) |
void |
updateVariable(ServerConfig serverConfig,
String caseInstanceId,
String variableName,
com.fasterxml.jackson.databind.node.ObjectNode objectNode) |
public static final String HISTORIC_CASE_INSTANCE_URL
public static final String HISTORIC_TASK_LIST_URL
public static final String HISTORIC_VARIABLE_INSTANCE_LIST_URL
public static final String HISTORIC_ACTIVITY_INSTANCE_LIST_URL
public static final String HISTORIC_DECISION_EXECUTION_LIST_URL
public static final String RUNTIME_CASE_INSTANCE_URL
public static final String RUNTIME_CASE_INSTANCE_VARIABLES
public static final String RUNTIME_CASE_INSTANCE_VARIABLE_URL
public static final String CURRENT_PLAN_ITEM_INSTANCE_LIST_URL
public static final String RUNTIME_CASE_INSTANCE_CHANGE_STATE_URL
public static final String RUNTIME_CASE_INSTANCE_MIGRATE_URL
@Autowired protected FlowableClientService clientUtil
@Autowired protected CmmnJobService jobService
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public com.fasterxml.jackson.databind.JsonNode listCaseInstances(com.fasterxml.jackson.databind.node.ObjectNode bodyNode,
ServerConfig serverConfig)
public com.fasterxml.jackson.databind.JsonNode listCaseInstancesForCaseDefinition(com.fasterxml.jackson.databind.node.ObjectNode bodyNode,
ServerConfig serverConfig)
public com.fasterxml.jackson.databind.JsonNode getCaseInstance(ServerConfig serverConfig, String caseInstanceId)
public com.fasterxml.jackson.databind.JsonNode getTasks(ServerConfig serverConfig, String caseInstanceId)
public com.fasterxml.jackson.databind.JsonNode getDecisionExecutions(ServerConfig serverConfig, String caseInstanceId)
public void changePlanItemState(ServerConfig serverConfig, String caseInstanceId, com.fasterxml.jackson.databind.JsonNode changeActivityBody) throws FlowableServiceException
FlowableServiceExceptionpublic void migrateCaseInstance(ServerConfig serverConfig, String caseInstanceId, String migrationDocument) throws FlowableServiceException
FlowableServiceExceptionpublic com.fasterxml.jackson.databind.JsonNode getVariables(ServerConfig serverConfig, String caseInstanceId)
public void updateVariable(ServerConfig serverConfig, String caseInstanceId, String variableName, com.fasterxml.jackson.databind.node.ObjectNode objectNode)
public void createVariable(ServerConfig serverConfig, String caseInstanceId, com.fasterxml.jackson.databind.node.ObjectNode objectNode)
public void deleteVariable(ServerConfig serverConfig, String caseInstanceId, String variableName)
public void executeAction(ServerConfig serverConfig, String caseInstanceId, com.fasterxml.jackson.databind.JsonNode actionBody) throws FlowableServiceException
FlowableServiceExceptionpublic com.fasterxml.jackson.databind.JsonNode getJobs(ServerConfig serverConfig, String caseInstanceId)
public com.fasterxml.jackson.databind.JsonNode getPlanItemInstancesForCaseInstance(ServerConfig serverConfig, String caseInstanceId)
Copyright © 2020 Flowable. All rights reserved.