public class DefaultModelManager extends Object implements ModelManager
This class implements default implementations of functions for model management.
| Constructor and Description | 
|---|
DefaultModelManager(com.edorasware.api.workobject.WorkObjectService workObjectService,
                   com.edorasware.commons.core.any.AnyWorkObjectDefinitionService anyWorkObjectDefinitionService)  | 
| 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 
 | 
public DefaultModelManager(com.edorasware.api.workobject.WorkObjectService workObjectService,
                           com.edorasware.commons.core.any.AnyWorkObjectDefinitionService anyWorkObjectDefinitionService)
public String findLatestDefinitionKeyByModelId(String modelId)
ModelManagerFinds the latest active definition key by the given model id
findLatestDefinitionKeyByModelId in interface ModelManagermodelId - model id for the latest active definitionpublic com.edorasware.commons.core.any.AnyWorkObjectDefinition findLatestActiveDefinitionByModelGlobalId(String modelGlobalId)
ModelManagerFinds the latest active definition according to specified model global id.
findLatestActiveDefinitionByModelGlobalId in interface ModelManagermodelGlobalId - global id of the model for which definition will be searchedpublic com.edorasware.commons.core.any.AnyWorkObjectDefinition findLatestActiveDefinitionByModelItemName(String modelName)
ModelManagerFinds the latest active definition according to specified model name.
findLatestActiveDefinitionByModelItemName in interface ModelManagermodelName - name of the model for which definition will be searchedCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.