public class VariableUtil extends Object
Modifier and Type | Field and Description |
---|---|
protected static List<String> |
EXCLUDE_TYPES |
protected static List<String> |
PRIMITIVE_VARIABLE_TYPES |
Modifier and Type | Method and Description |
---|---|
static void |
addCaseInstanceVariables(org.flowable.cmmn.api.runtime.CaseInstance caseInstance,
Map<String,Object> variableMap,
org.flowable.engine.RuntimeService runtimeService,
org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
protected static void |
addCaseVariableValues(org.flowable.cmmn.api.runtime.CaseInstance caseInstance,
boolean useRootLevelOnly,
Map<String,Object> variableMap,
org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
static void |
addHistoricCaseInstanceVariables(org.flowable.cmmn.api.history.HistoricCaseInstance caseInstance,
Map<String,Object> variableMap,
org.flowable.engine.HistoryService historyService,
org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
protected static void |
addHistoricCaseVariableValues(org.flowable.cmmn.api.history.HistoricCaseInstance caseInstance,
boolean useRootLevelOnly,
Map<String,Object> variableMap,
org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService,
PlatformRestVariableTransformer variableTransformer) |
static void |
addHistoricProcessInstanceVariables(org.flowable.engine.history.HistoricProcessInstance processInstance,
Map<String,Object> variableMap,
org.flowable.engine.HistoryService historyService,
org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
protected static void |
addHistoricProcessVariableValues(org.flowable.engine.history.HistoricProcessInstance processInstance,
boolean useRootLevelOnly,
Map<String,Object> variableMap,
org.flowable.engine.HistoryService historyService,
PlatformRestVariableTransformer variableTransformer) |
protected static void |
addParentVariableValues(org.flowable.entitylink.api.EntityLink parentEntityLink,
Map<String,Object> variableMap,
org.flowable.engine.RuntimeService runtimeService,
org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
protected static void |
addParentVariableValues(org.flowable.entitylink.api.history.HistoricEntityLink parentEntityLink,
Map<String,Object> variableMap,
org.flowable.engine.HistoryService historyService,
org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
protected static void |
addParentVariableValues(String id,
String name,
String businessKey,
String startUserId,
Map<String,Object> variableMap,
Map<String,Object> parentVariableMap) |
static void |
addProcessInstanceVariables(org.flowable.engine.runtime.ProcessInstance processInstance,
Map<String,Object> variableMap,
org.flowable.engine.RuntimeService runtimeService,
org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
protected static void |
addProcessVariableValues(org.flowable.engine.runtime.ProcessInstance processInstance,
boolean useRootLevelOnly,
Map<String,Object> variableMap,
org.flowable.engine.RuntimeService runtimeService,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
protected static void |
addScopeVariablesValues(String id,
String name,
String businessKey,
String startUserId,
boolean useScopeLevelOnly,
Map<String,Object> variableMap,
Map<String,Object> scopeVariables) |
static void |
addTaskVariables(org.flowable.task.api.history.HistoricTaskInstance task,
Map<String,Object> variableMap,
org.flowable.engine.HistoryService historyService,
PlatformRestVariableTransformer variableTransformer) |
static void |
addTaskVariables(org.flowable.task.api.Task task,
Map<String,Object> variableMap,
org.flowable.engine.TaskService taskService,
PlatformRestVariableTransformer variableTransformer) |
protected static void |
addToMapIfNotEmpty(String value,
String name,
Map<String,Object> variableMap) |
static void |
createFlowableDatabasePayloadObject(Map<String,Object> variableMap,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
static Map<String,Object> |
filterVariableMap(List<org.flowable.variable.api.history.HistoricVariableInstance> variableInstances,
PlatformRestVariableTransformer variableTransformer) |
static Map<String,Object> |
filterVariableMap(Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> variableInstances,
org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService,
PlatformRestVariableTransformer variableTransformer) |
static Map<String,Object> |
filterVariableMap(Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> variableInstances,
org.flowable.engine.RuntimeService runtimeService,
org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService,
org.flowable.engine.TaskService taskService,
PlatformRestVariableTransformer variableTransformer) |
static Map<String,Object> |
filterVariableMap(Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> variableInstances,
org.flowable.engine.RuntimeService runtimeService,
PlatformRestVariableTransformer variableTransformer) |
static Map<String,Object> |
filterVariableMap(Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> variableInstances,
org.flowable.engine.TaskService taskService,
PlatformRestVariableTransformer variableTransformer) |
protected static Map<String,Object> |
getHistoricCaseVariableMap(org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService,
String caseInstanceId,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
protected static Map<String,Object> |
getHistoricProcessVariableMap(org.flowable.engine.HistoryService historyService,
String processInstanceId,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
protected static Map<String,Object> |
getRuntimeCaseVariableMap(org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService,
String caseInstanceId,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
protected static Map<String,Object> |
getRuntimeProcessVariableMap(org.flowable.engine.RuntimeService runtimeService,
String processInstanceId,
PlatformContentItemService contentService,
PlatformRestVariableTransformer variableTransformer) |
protected static void |
handlePotentialContentItems(Map<String,Object> variables,
PlatformContentItemService contentService) |
protected static Object |
transformToRestValue(Object value) |
public static void addProcessInstanceVariables(org.flowable.engine.runtime.ProcessInstance processInstance, Map<String,Object> variableMap, org.flowable.engine.RuntimeService runtimeService, org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
public static void addCaseInstanceVariables(org.flowable.cmmn.api.runtime.CaseInstance caseInstance, Map<String,Object> variableMap, org.flowable.engine.RuntimeService runtimeService, org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
public static void addHistoricProcessInstanceVariables(org.flowable.engine.history.HistoricProcessInstance processInstance, Map<String,Object> variableMap, org.flowable.engine.HistoryService historyService, org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
public static void addHistoricCaseInstanceVariables(org.flowable.cmmn.api.history.HistoricCaseInstance caseInstance, Map<String,Object> variableMap, org.flowable.engine.HistoryService historyService, org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
public static void addTaskVariables(org.flowable.task.api.Task task, Map<String,Object> variableMap, org.flowable.engine.TaskService taskService, PlatformRestVariableTransformer variableTransformer)
public static void addTaskVariables(org.flowable.task.api.history.HistoricTaskInstance task, Map<String,Object> variableMap, org.flowable.engine.HistoryService historyService, PlatformRestVariableTransformer variableTransformer)
public static void createFlowableDatabasePayloadObject(Map<String,Object> variableMap, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
protected static void addCaseVariableValues(org.flowable.cmmn.api.runtime.CaseInstance caseInstance, boolean useRootLevelOnly, Map<String,Object> variableMap, org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
protected static void addProcessVariableValues(org.flowable.engine.runtime.ProcessInstance processInstance, boolean useRootLevelOnly, Map<String,Object> variableMap, org.flowable.engine.RuntimeService runtimeService, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
protected static void addHistoricCaseVariableValues(org.flowable.cmmn.api.history.HistoricCaseInstance caseInstance, boolean useRootLevelOnly, Map<String,Object> variableMap, org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService, PlatformRestVariableTransformer variableTransformer)
protected static void addHistoricProcessVariableValues(org.flowable.engine.history.HistoricProcessInstance processInstance, boolean useRootLevelOnly, Map<String,Object> variableMap, org.flowable.engine.HistoryService historyService, PlatformRestVariableTransformer variableTransformer)
protected static void addParentVariableValues(org.flowable.entitylink.api.EntityLink parentEntityLink, Map<String,Object> variableMap, org.flowable.engine.RuntimeService runtimeService, org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
protected static void addParentVariableValues(org.flowable.entitylink.api.history.HistoricEntityLink parentEntityLink, Map<String,Object> variableMap, org.flowable.engine.HistoryService historyService, org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
protected static void addParentVariableValues(String id, String name, String businessKey, String startUserId, Map<String,Object> variableMap, Map<String,Object> parentVariableMap)
protected static void addScopeVariablesValues(String id, String name, String businessKey, String startUserId, boolean useScopeLevelOnly, Map<String,Object> variableMap, Map<String,Object> scopeVariables)
protected static Map<String,Object> getRuntimeCaseVariableMap(org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService, String caseInstanceId, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
protected static Map<String,Object> getHistoricCaseVariableMap(org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService, String caseInstanceId, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
protected static Map<String,Object> getRuntimeProcessVariableMap(org.flowable.engine.RuntimeService runtimeService, String processInstanceId, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
protected static Map<String,Object> getHistoricProcessVariableMap(org.flowable.engine.HistoryService historyService, String processInstanceId, PlatformContentItemService contentService, PlatformRestVariableTransformer variableTransformer)
public static Map<String,Object> filterVariableMap(List<org.flowable.variable.api.history.HistoricVariableInstance> variableInstances, PlatformRestVariableTransformer variableTransformer)
public static Map<String,Object> filterVariableMap(Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> variableInstances, org.flowable.engine.RuntimeService runtimeService, PlatformRestVariableTransformer variableTransformer)
public static Map<String,Object> filterVariableMap(Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> variableInstances, org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService, PlatformRestVariableTransformer variableTransformer)
public static Map<String,Object> filterVariableMap(Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> variableInstances, org.flowable.engine.TaskService taskService, PlatformRestVariableTransformer variableTransformer)
public static Map<String,Object> filterVariableMap(Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> variableInstances, org.flowable.engine.RuntimeService runtimeService, org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService, org.flowable.engine.TaskService taskService, PlatformRestVariableTransformer variableTransformer)
protected static void handlePotentialContentItems(Map<String,Object> variables, PlatformContentItemService contentService)
Copyright © 2019. All rights reserved.