public interface EntityTemplateManager
This class specifies interface for providing object definitions to the frontend.
Modifier and Type | Method and Description |
---|---|
EntityTemplate |
getEntityTemplateById(String definitionId,
Locale locale)
Get work object definition for a given definition id.
|
EntityTemplate |
getEntityTemplateByModelId(String modelId,
Locale locale)
Returns the latest version of
EntityTemplate with the given model id. |
List<EntityTemplate> |
getEntityTemplatesByType(String type,
String nameContains,
Locale locale)
Returns all localized definitions for a given definition Type.
|
List<EntityTemplate> |
getEntityTemplatesByTypeAndCase(String type,
String ambiguousId,
String nameContains,
Locale locale)
Returns all localized definitions for a given definition Type and a given case ID.
|
EntityTemplate getEntityTemplateById(String definitionId, Locale locale)
Get work object definition for a given definition id.
definitionId
- definitionId to providelocale
- the locale to be used for translationEntityTemplate getEntityTemplateByModelId(String modelId, Locale locale)
Returns the latest version of EntityTemplate
with the given model id.
modelId
- the model id of the entity templatelocale
- the locale to be used for translationList<EntityTemplate> getEntityTemplatesByType(String type, String nameContains, Locale locale)
Returns all localized definitions for a given definition Type.
type
- the type of the definitionnameContains
- the text used for the name like searchlocale
- the locale to be used for translationList<EntityTemplate> getEntityTemplatesByTypeAndCase(String type, String ambiguousId, String nameContains, Locale locale)
Returns all localized definitions for a given definition Type and a given case ID.
type
- 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 searchlocale
- the locale to be used for translationCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.