public interface WorkObjectDefinitionManager
Manages operations on AnyWorkObjectDefinitions
| Modifier and Type | Method and Description | 
|---|---|
EntityTemplate | 
findEntityTemplateByModelId(String modelId,
                           Locale locale)
Finds the latest active work object definition by model global id 
 | 
QueryResponse | 
findWorkObjectDefinitions(String type,
                         String typedText,
                         Integer offset,
                         Integer limit,
                         Locale locale)
Finds the work object definitions with a matching name to the typed text parameter 
 | 
QueryResponse | 
findWorkObjectDefinitionsByModelId(String modelId,
                                  Locale locale)
Finds the latest active work object definition by model global id 
 | 
QueryResponse | 
findWorkObjectDefinitionsWithCaseId(String type,
                                   String caseId,
                                   String typedText,
                                   Integer offset,
                                   Integer limit,
                                   Locale locale)
Finds the latest work object definitions with a matching name to the typed text parameter and the case id 
 | 
ValueMap | 
getWorkObjectDefinition(String ambiguousWorkObjectDefinitionId,
                       DefinitionViewFilter definitionViewFilter,
                       Collection<String> fields,
                       Locale locale,
                       String... allowedTypes)
Gets the definition by id 
 | 
QueryResponse findWorkObjectDefinitions(String type, String typedText, Integer offset, Integer limit, Locale locale)
Finds the work object definitions with a matching name to the typed text parameter
type - work object definition type to search fortypedText - search in the definitions according to the namesoffset - the start of the rows to fetchlimit - the size of fetched datalocale - the translation localeQueryResponse findWorkObjectDefinitionsWithCaseId(String type, String caseId, String typedText, Integer offset, Integer limit, Locale locale)
Finds the latest work object definitions with a matching name to the typed text parameter and the case id
type - work object definition type to search forcaseId - case id or case global id to restrict the definitions searchtypedText - search in the definitions according to the namesoffset - the start of the rows to fetchlimit - the size of fetched datalocale - the translation localeQueryResponse findWorkObjectDefinitionsByModelId(String modelId, Locale locale)
Finds the latest active work object definition by model global id
modelId - global id of the model to find the latest work object definitionlocale - the translation localeEntityTemplate findEntityTemplateByModelId(String modelId, Locale locale)
Finds the latest active work object definition by model global id
modelId - global id of the model to find the latest work object definitionlocale - the translation localeValueMap getWorkObjectDefinition(String ambiguousWorkObjectDefinitionId, DefinitionViewFilter definitionViewFilter, Collection<String> fields, Locale locale, String... allowedTypes)
Gets the definition by id
ambiguousWorkObjectDefinitionId - definition Id or global modal IddefinitionViewFilter - definition view filter to limit returned attributesfields - attributes included into responselocale - the translation localeallowedTypes - types expected in the response. If empty all types are allowed.Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.