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)
ModelManager
Finds the latest active definition key by the given model id
findLatestDefinitionKeyByModelId
in interface ModelManager
modelId
- model id for the latest active definitionpublic AnyWorkObjectDefinition findLatestActiveDefinitionByModelGlobalId(String modelGlobalId)
ModelManager
Finds the latest active definition according to specified model global id.
findLatestActiveDefinitionByModelGlobalId
in interface ModelManager
modelGlobalId
- global id of the model for which definition will be searchedpublic AnyWorkObjectDefinition findLatestActiveDefinitionByModelItemName(String modelName)
ModelManager
Finds the latest active definition according to specified model name.
findLatestActiveDefinitionByModelItemName
in interface ModelManager
modelName
- name of the model for which definition will be searchedCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.