public class ModelUtils extends Object
Provides utility methods and constants related to working with work item models.
Modifier and Type | Field and Description |
---|---|
static ComplexValue<List<String>> |
ADHOC_DOCUMENTS
The variable that holds the document model keys which are allowed to be created in the case.
|
static ComplexValue<List<String>> |
ADHOC_PROCESSES
The variable that holds the process model keys which are allowed to be created in the case.
|
static ComplexValue<List<String>> |
ADHOC_TASKS
The variable that holds the task model keys which are allowed to be created in the case.
|
static ComplexValue<List<String>> |
ALLOWED_ACTIONS
The variable that holds the allowed action ids for the work item, which is created from the model work item.
|
static ComplexValue<List<String>> |
AUTOSTART_DOCUMENTS
The variable that holds the document model keys which are started when the case is created.
|
static ComplexValue<List<String>> |
AUTOSTART_PROCESSES
The variable that holds the process model keys which are started when the case is created.
|
static ComplexValue<List<String>> |
AUTOSTART_TASKS
The variable that holds the task model keys which are started when the case is created.
|
static StringValue<String> |
CASE_MODEL_TYPE
The variable that holds the case model type.
|
static StringValue<String> |
INIT_FORM
The variable that holds the key to the init form of the work item, which is created from the model work item.
|
static ComplexValue<List<String>> |
INITIAL_CANDIDATE_GROUPS
The variable that holds the initial candidate groups ids which are set for the work item, which is created from the model work item.
|
static ComplexValue<Map<String,List<Map<String,Object>>>> |
MAPPINGS
The property mappings list variable for the static and dynamic app properties.
|
static ComplexValue<List<Map<String,Object>>> |
PROPERTY_MAPPINGS
The property mappings variable which is a child of the
MAPPINGS variable. |
static StringValue<String> |
WORK_FORM
The variable that holds the key to the work form of the work item, which is created from the model work item.
|
static ComplexValue<List<Map<String,Object>>> |
WORK_ITEM_MAPPINGS
The work item mappings variable which is a child of the
MAPPINGS variable. |
Constructor and Description |
---|
ModelUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
searchAndReplaceInResource(String resourcePath,
Map<String,String> searchAndReplaceMap)
Loads a given resource as
String and replaces the tokens according to the provided search and replace map. |
public static final StringValue<String> INIT_FORM
The variable that holds the key to the init form of the work item, which is created from the model work item.
public static final StringValue<String> WORK_FORM
The variable that holds the key to the work form of the work item, which is created from the model work item.
public static final ComplexValue<List<String>> INITIAL_CANDIDATE_GROUPS
The variable that holds the initial candidate groups ids which are set for the work item, which is created from the model work item.
public static final ComplexValue<List<String>> ALLOWED_ACTIONS
The variable that holds the allowed action ids for the work item, which is created from the model work item.
public static final ComplexValue<Map<String,List<Map<String,Object>>>> MAPPINGS
The property mappings list variable for the static and dynamic app properties.
public static final ComplexValue<List<Map<String,Object>>> WORK_ITEM_MAPPINGS
The work item mappings variable which is a child of the MAPPINGS
variable.
public static final ComplexValue<List<Map<String,Object>>> PROPERTY_MAPPINGS
The property mappings variable which is a child of the MAPPINGS
variable.
public static final ComplexValue<List<String>> AUTOSTART_PROCESSES
The variable that holds the process model keys which are started when the case is created. This variable only applies to case models.
public static final ComplexValue<List<String>> AUTOSTART_TASKS
The variable that holds the task model keys which are started when the case is created. This variable only applies to case models.
public static final ComplexValue<List<String>> AUTOSTART_DOCUMENTS
The variable that holds the document model keys which are started when the case is created. This variable only applies to case models.
public static final ComplexValue<List<String>> ADHOC_PROCESSES
The variable that holds the process model keys which are allowed to be created in the case. This variable only applies to case models.
public static final ComplexValue<List<String>> ADHOC_TASKS
The variable that holds the task model keys which are allowed to be created in the case. This variable only applies to case models.
public static final ComplexValue<List<String>> ADHOC_DOCUMENTS
The variable that holds the document model keys which are allowed to be created in the case. This variable only applies to case models.
public static final StringValue<String> CASE_MODEL_TYPE
The variable that holds the case model type. This variable only applies to case models.
public static String searchAndReplaceInResource(String resourcePath, Map<String,String> searchAndReplaceMap)
Loads a given resource as String
and replaces the tokens according to the provided search and replace map.
In case the resource is not found, it returns null.
resourcePath
- the path to the resourcesearchAndReplaceMap
- the search and replace map where the keys are replaced with the valuesCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.