@Manager public class DefaultEntityTemplateManager extends Object implements EntityTemplateManager
This class implements default behavior for providing localized object definitions from BE to frontend.
| Constructor and Description |
|---|
DefaultEntityTemplateManager(AnyWorkObjectDefinitionService anyWorkObjectDefinitionService,
WorkObjectService workObjectService,
UserManager userManager,
EntityTemplateLookupService entityTemplateLookupService,
AmbiguousIdHelper ambiguousIdHelper) |
| Modifier and Type | Method and Description |
|---|---|
EntityTemplate |
getEntityTemplateById(String definitionId)
Get work object definition for a given definition id.
|
EntityTemplate |
getEntityTemplateByModelId(String modelId)
Returns the latest version of
EntityTemplate with the given model id. |
List<EntityTemplate> |
getEntityTemplatesByType(String type,
String nameContains)
Returns all localized definitions for a given definition Type.
|
List<EntityTemplate> |
getEntityTemplatesByTypeAndCase(String type,
String ambiguousId,
String nameContains)
Returns all localized definitions for a given definition Type and a given case ID.
|
public DefaultEntityTemplateManager(AnyWorkObjectDefinitionService anyWorkObjectDefinitionService, WorkObjectService workObjectService, UserManager userManager, EntityTemplateLookupService entityTemplateLookupService, AmbiguousIdHelper ambiguousIdHelper)
public EntityTemplate getEntityTemplateById(String definitionId)
EntityTemplateManagerGet work object definition for a given definition id.
getEntityTemplateById in interface EntityTemplateManagerdefinitionId - definitionId to providepublic EntityTemplate getEntityTemplateByModelId(String modelId)
EntityTemplateManagerReturns the latest version of EntityTemplate with the given model id.
getEntityTemplateByModelId in interface EntityTemplateManagermodelId - the model id of the entity templatepublic List<EntityTemplate> getEntityTemplatesByType(String type, String nameContains)
EntityTemplateManagerReturns all localized definitions for a given definition Type.
getEntityTemplatesByType in interface EntityTemplateManagertype - the type of the definitionnameContains - the text used for the name like searchpublic List<EntityTemplate> getEntityTemplatesByTypeAndCase(String type, String ambiguousId, String nameContains)
EntityTemplateManagerReturns all localized definitions for a given definition Type and a given case ID.
getEntityTemplatesByTypeAndCase in interface EntityTemplateManagertype - the type of the definitionambiguousId - the case id (may be work object ID value or global ID value)nameContains - the text used for the name like searchCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.