public interface ModelProvider extends ComponentService
| Modifier and Type | Method and Description |
|---|---|
com.whitestein.lsps.model.ElementWithId |
getModelElement(long modelId,
com.whitestein.lsps.model.ElementType type,
String elementId)
Returns cached model element.
|
com.whitestein.lsps.model.ElementWithId |
getModelElement(long modelId,
String elementId,
com.whitestein.lsps.model.ElementType... types)
Returns model element with specified elementId and type from the specified model.
|
long |
getModelId(String hash)
Returns id of the model under which the model is persisted.
|
com.whitestein.lsps.model.ProcessModel |
getProcessModel(long id)
Returns process model persisted under specified id.
|
com.whitestein.lsps.model.ProcessModel |
getProcessModel(String hash)
Returns process model with specified model runtime hash.
|
Type |
resolveType(long modelId,
String qualifiedName)
Resolves type by its qualified name in given model.
|
getComponent, getComponent, getComponent, getComponentslong getModelId(String hash)
LspsRuntimeException if the model does not exist.hash - com.whitestein.lsps.model.ProcessModel getProcessModel(long id)
id - com.whitestein.lsps.model.ProcessModel getProcessModel(String hash)
hash - com.whitestein.lsps.model.ElementWithId getModelElement(long modelId,
String elementId,
com.whitestein.lsps.model.ElementType... types)
modelId - elementId - types - com.whitestein.lsps.model.ElementWithId getModelElement(long modelId,
com.whitestein.lsps.model.ElementType type,
String elementId)
modelId - type - elementId - Type resolveType(long modelId, String qualifiedName) throws ValidationException
modelId - qualifiedName - ValidationExceptionCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.