public interface ModelManager
This interface provides methods for model management
| Modifier and Type | Method and Description | 
|---|---|
com.edorasware.commons.core.any.AnyWorkObjectDefinition | 
findLatestActiveDefinitionByModelGlobalId(String modelGlobalId)
Finds the latest active definition according to specified model global id. 
 | 
com.edorasware.commons.core.any.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 Idcom.edorasware.commons.core.any.AnyWorkObjectDefinition findLatestActiveDefinitionByModelItemName(String modelName)
Finds the latest active definition according to specified model name.
modelName - name of the model for which definition will be searchedcom.edorasware.api.exception.EntityNotFoundException - if model with given name was not foundIllegalStateException - if model name is ambiguousIllegalArgumentException - if there is no active definition for model namecom.edorasware.commons.core.any.AnyWorkObjectDefinition 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 - 2018 edorasware ag. All Rights Reserved.