public interface ModelManager
This interface provides methods for model management
Modifier and Type | Method and Description |
---|---|
AnyWorkObjectDefinition |
findLatestActiveDefinitionByModelGlobalId(String modelGlobalId)
Finds the latest active definition according to specified model global id.
|
AnyWorkObjectDefinition |
findLatestActiveDefinitionByModelItemName(String modelName)
Finds the latest active definition according to specified model name.
|
String |
findLatestDefinitionKeyByModelId(String modelId)
Finds the latest active definition key by the given model id
|
String findLatestDefinitionKeyByModelId(String modelId)
Finds the latest active definition key by the given model id
modelId
- model id for the latest active definitionRuntimeException
- when there is no active definition with the given model IdAnyWorkObjectDefinition findLatestActiveDefinitionByModelItemName(String modelName)
Finds the latest active definition according to specified model name.
modelName
- name of the model for which definition will be searchedEntityNotFoundException
- if model with given name was not foundIllegalStateException
- if model name is ambiguousIllegalArgumentException
- if there is no active definition for model nameAnyWorkObjectDefinition findLatestActiveDefinitionByModelGlobalId(String modelGlobalId)
Finds the latest active definition according to specified model global id.
modelGlobalId
- global id of the model for which definition will be searchedIllegalStateException
- if model globalId is ambiguousIllegalArgumentException
- if there is no active definition for given model globalIdCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.