public class DefaultModelManager extends Object implements ModelManager
This class implements default implementations of functions for model management.
| Constructor and Description |
|---|
DefaultModelManager(WorkObjectService workObjectService,
AnyWorkObjectDefinitionService anyWorkObjectDefinitionService) |
| 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
|
public DefaultModelManager(WorkObjectService workObjectService, 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 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 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 - 2019 edorasware ag. All Rights Reserved.