public interface ModelProviderClientService
Modifier and Type | Method and Description |
---|---|
CompatibilityVersion |
getCompatibilityVersion(long modelId)
Returns compatibility version for the module.
|
ComponentServiceLocal |
getComponentService()
Answer component service instance
|
ExecutionContext |
getExecutionContext(long modelInstanceId)
Returns an execution context for the given model instance id or null if it does not exist.
|
ExecutionContext |
getExecutionContext(long modelInstanceId,
long contextId)
Returns an execution context for the given context in the model instance or null if it does not exist.
|
ExecutionContext |
getExecutionContext(long modelInstanceId,
long contextId,
String level)
Returns an execution context for the given context in the model instance or null if it does not exist.
|
ExecutionContext |
getExecutionContext(long modelId,
ModelInstanceType modelInstanceType,
String level)
Returns an execution context for the given model or null if it does not exist.
|
ExecutionContext |
getPersistentExecutionContext(long modelId,
ModelInstanceType type,
String evaluationLevel)
Returns an execution context for the given model or null if it does not exist.
|
com.whitestein.lsps.model.ProcessModel |
loadProcessModel(long moduleId)
INTERNAL API: Loads a process model into the cache.
|
com.whitestein.lsps.model.ProcessModel |
loadProcessModel(String modelHash)
INTERNAL API: Loads a process model into the cache.
|
void |
synchronizeCache()
Synchronize cache.
|
com.whitestein.lsps.model.ProcessModel loadProcessModel(long moduleId) throws ModelUploadException
moduleId
- id of model to loadModelUploadException
com.whitestein.lsps.model.ProcessModel loadProcessModel(String modelHash) throws ModelUploadException
modelHash
- hash of the model to loadModelUploadException
void synchronizeCache()
ExecutionContext getExecutionContext(long modelInstanceId)
modelInstanceId
- LspsRuntimeException
- if the model instance is not foundExecutionContext getExecutionContext(long modelInstanceId, long contextId)
modelInstanceId
- contextId
- LspsRuntimeException
- if the model instance is not foundExecutionContext getExecutionContext(long modelInstanceId, long contextId, String level)
modelInstanceId
- contextId
- level
- LspsRuntimeException
- if the model instance is not foundExecutionContext getExecutionContext(long modelId, ModelInstanceType modelInstanceType, String level)
modelId
- modelInstanceType
- level
- LspsRuntimeException
- if the model instance is not foundExecutionContext getPersistentExecutionContext(long modelId, ModelInstanceType type, String evaluationLevel)
modelId
- type
- evaluationLevel
- CompatibilityVersion getCompatibilityVersion(long modelId)
modelId
- ComponentServiceLocal getComponentService()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.