public interface ModelProviderService extends ModelProviderClientService
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
evaluateExpression(long modelInstanceId,
java.lang.Long contextId,
java.lang.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,
java.lang.Long contextId,
java.lang.String source,
java.lang.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,
java.lang.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,
java.lang.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,
java.lang.String source,
java.lang.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,
java.lang.String source,
boolean fullExecutionModel)
Parses the string to the expression and than evaluates it in the empty model context
|
java.util.List<EvaluationResult> |
evaluateExpressions(long modelInstanceId,
java.util.List<java.lang.String> sources,
boolean fullExecutionModel)
Parses the string sources of expressions in the list evaluates them end returns list of
results.
|
java.util.List<EvaluationResult> |
evaluateExpressionsInModel(long modelId,
java.util.List<java.lang.String> sources,
boolean fullExecutionModel)
Parses the string sources of expressions in the list evaluates them end returns list of
results.
|
ExternalTypeProvider |
getExternalTypeProvider(java.lang.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(java.lang.String hash)
Returns a model for the given hash.
|
java.util.Collection<Module> |
getModules(java.lang.String name,
java.lang.String version)
Returns a collection of modules for the given name and version.
|
com.whitestein.lsps.model.ProcessModel |
getProcessModel(java.lang.String moduleHash)
Returns a process model for the given module hash.
|
void |
setToReferences(long modelInstanceId,
java.lang.Long contextId,
java.util.List<java.lang.String> referenceExpressions,
java.util.List<java.lang.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(java.lang.String moduleHash)
moduleHash
- java.util.Collection<Module> getModules(java.lang.String name, java.lang.String version)
name
- version
- Module getModule(long id)
id
- Module getModule(java.lang.String hash)
hash
- ExternalTypeProvider getExternalTypeProvider(java.lang.String providerClassName)
providerClassName
- void setToReferences(long modelInstanceId, java.lang.Long contextId, java.util.List<java.lang.String> referenceExpressions, java.util.List<java.lang.Object> javaObjects)
modelInstanceId
- contextId
- referenceExpressions
- javaObjects
- ModelInstance getModelInstance(long id)
id
- EvaluationResult evaluateExpression(long modelInstanceId, java.lang.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, java.lang.Long contextId, java.lang.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, java.lang.String source, java.lang.String evaluationLevel, boolean mergeEvaluation) throws ValidationException, ErrorException
modelInstanceId
- source
- evaluationLevel
- mergeEvaluation
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundEvaluationResult evaluateExpression(long modelInstanceId, java.lang.Long contextId, java.lang.String source, java.lang.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, java.lang.String source, boolean fullExecutionModel) throws ValidationException, ErrorException
modelInstanceId
- source
- fullExecutionModel
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundjava.util.List<EvaluationResult> evaluateExpressionsInModel(long modelId, java.util.List<java.lang.String> sources, boolean fullExecutionModel) throws ValidationException, ErrorException
modelId
- sources
- fullExecutionModel
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundEvaluationResult evaluateExpressionInModel(long modelId, java.lang.String source, boolean fullExecutionModel) throws ValidationException, ErrorException
modelId
- source
- fullExecutionModel
- ValidationException
ErrorException
LspsRuntimeException
- if the model instance is not foundjava.util.List<EvaluationResult> evaluateExpressions(long modelInstanceId, java.util.List<java.lang.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.