public interface ModelProviderService extends ModelProviderClientService
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
evaluateExpression(long modelInstanceId,
Long contextId,
String source,
boolean fullExecutionModel,
boolean mergeEvaluation)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
EvaluationResult |
evaluateExpression(long modelInstanceId,
Long contextId,
String source,
String evaluationLevel,
boolean mergeEvaluation)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
EvaluationResult |
evaluateExpression(long modelInstanceId,
String source,
boolean fullExecutionModel)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
EvaluationResult |
evaluateExpression(long modelInstanceId,
String source,
boolean fullExecutionModel,
boolean mergeEvaluation)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
EvaluationResult |
evaluateExpression(long modelInstanceId,
String source,
String evaluationLevel,
boolean mergeEvaluation)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
EvaluationResult |
evaluateExpressionInModel(long modelId,
String source,
boolean fullExecutionModel)
Parses the string to the expression and than evaluates it in the empty model context
|
List<EvaluationResult> |
evaluateExpressions(long modelInstanceId,
List<String> sources,
boolean fullExecutionModel)
Parses the string sources of expressions in the list evaluates them end returns list of
results.
|
List<EvaluationResult> |
evaluateExpressionsInModel(long modelId,
List<String> sources,
boolean fullExecutionModel)
Parses the string sources of expressions in the list evaluates them end returns list of
results.
|
ExternalTypeProvider |
getExternalTypeProvider(String providerClassName)
Returns external type provider for provider class name.
|
ModelInstance |
getModelInstance(long id)
Returns locked model instance.
|
Module |
getModule(long id)
Returns a module for the given module id.
|
Module |
getModule(String hash)
Returns a model for the given hash.
|
Collection<Module> |
getModules(String name,
String version)
Returns a collection of modules for the given name and version.
|
com.whitestein.lsps.model.ProcessModel |
getProcessModel(String moduleHash)
Returns a process model for the given module hash.
|
void |
setToReferences(long modelInstanceId,
Long contextId,
List<String> referenceExpressions,
List<Object> javaObjects)
Sets values to referenced value holders in the model instance.
|
getCompatibilityVersion, getComponentService, getExecutionContext, getExecutionContext, getExecutionContext, getExecutionContext, getPersistentExecutionContext, loadProcessModel, loadProcessModel, synchronizeCache
com.whitestein.lsps.model.ProcessModel getProcessModel(String moduleHash)
moduleHash
- Collection<Module> getModules(String name, String version)
name
- version
- Module getModule(long id)
id
- Module getModule(String hash)
hash
- ExternalTypeProvider getExternalTypeProvider(String providerClassName)
providerClassName
- void setToReferences(long modelInstanceId, Long contextId, List<String> referenceExpressions, List<Object> javaObjects)
modelInstanceId
- contextId
- referenceExpressions
- javaObjects
- ModelInstance getModelInstance(long id)
id
- EvaluationResult evaluateExpression(long modelInstanceId, String source, boolean fullExecutionModel, boolean mergeEvaluation) throws ValidationException, ErrorException
modelInstanceId
- source
- fullExecutionModel
- mergeEvaluation
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundEvaluationResult evaluateExpression(long modelInstanceId, Long contextId, String source, boolean fullExecutionModel, boolean mergeEvaluation) throws ValidationException, ErrorException
modelInstanceId
- contextId
- source
- fullExecutionModel
- mergeEvaluation
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundEvaluationResult evaluateExpression(long modelInstanceId, String source, String evaluationLevel, boolean mergeEvaluation) throws ValidationException, ErrorException
modelInstanceId
- source
- evaluationLevel
- mergeEvaluation
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundEvaluationResult evaluateExpression(long modelInstanceId, Long contextId, String source, String evaluationLevel, boolean mergeEvaluation) throws ValidationException, ErrorException
modelInstanceId
- contextId
- source
- evaluationLevel
- mergeEvaluation
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundEvaluationResult evaluateExpression(long modelInstanceId, String source, boolean fullExecutionModel) throws ValidationException, ErrorException
modelInstanceId
- source
- fullExecutionModel
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundList<EvaluationResult> evaluateExpressionsInModel(long modelId, List<String> sources, boolean fullExecutionModel) throws ValidationException, ErrorException
modelId
- sources
- fullExecutionModel
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundEvaluationResult evaluateExpressionInModel(long modelId, String source, boolean fullExecutionModel) throws ValidationException, ErrorException
modelId
- source
- fullExecutionModel
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundList<EvaluationResult> evaluateExpressions(long modelInstanceId, List<String> sources, boolean fullExecutionModel) throws ValidationException, ErrorException
modelInstanceId
- sources
- fullExecutionModel
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.