public class ModelUtils extends Object
Provides utility methods for working with models.
Modifier and Type | Field and Description |
---|---|
static ComplexValue<List<String>> |
MODEL_IDS
Variable that stores a list of design-time model IDs related to a given work object.
|
static ComplexValue<List<String>> |
RUNTIME_MODEL_IDS
Variable that stores a list of runtime model IDs related to a given work object.
|
Constructor and Description |
---|
ModelUtils() |
Modifier and Type | Method and Description |
---|---|
static Predicate |
workObjectsForDesignTimeModelPredicate(String... modelGlobalIds)
Returns a predicate that matches work objects derived from the given model or App.
|
static Predicate |
workObjectsForRuntimeModelPredicate(String... modelGlobalIds)
Returns a predicate that matches work objects created in the context of the given model or App.
|
public static final ComplexValue<List<String>> MODEL_IDS
Variable that stores a list of design-time model IDs related to a given work object.
This variable is added to all user dashboard work objects to allow efficient searching.
public static final ComplexValue<List<String>> RUNTIME_MODEL_IDS
Variable that stores a list of runtime model IDs related to a given work object.
This variable is added to all user dashboard work objects to allow efficient searching.
public static Predicate workObjectsForDesignTimeModelPredicate(String... modelGlobalIds)
Returns a predicate that matches work objects derived from the given model or App.
modelGlobalIds
- the model global IDspublic static Predicate workObjectsForRuntimeModelPredicate(String... modelGlobalIds)
Returns a predicate that matches work objects created in the context of the given model or App.
modelGlobalIds
- the model global IDsCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.