public interface WorkObjectDefinitionManager
Manages operations on AnyWorkObjectDefinition
s
Modifier and Type | Method and Description |
---|---|
EntityTemplate |
findEntityTemplateByModelId(String modelId)
Finds the latest active work object definition by model global id
|
QueryResponse |
findWorkObjectDefinitions(String type,
String typedText,
Integer offset,
Integer limit)
Finds the work object definitions with a matching name to the typed text parameter
|
QueryResponse |
findWorkObjectDefinitionsByModelId(String modelId)
Finds the latest active work object definition by model global id
|
QueryResponse |
findWorkObjectDefinitionsWithCaseId(String type,
String caseId,
String typedText,
Integer offset,
Integer limit)
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,
String... allowedTypes)
Gets the definition by id
|
QueryResponse findWorkObjectDefinitions(String type, String typedText, Integer offset, Integer limit)
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 dataQueryResponse findWorkObjectDefinitionsWithCaseId(String type, String caseId, String typedText, Integer offset, Integer limit)
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 dataQueryResponse findWorkObjectDefinitionsByModelId(String modelId)
Finds the latest active work object definition by model global id
modelId
- global id of the model to find the latest work object definitionEntityTemplate findEntityTemplateByModelId(String modelId)
Finds the latest active work object definition by model global id
modelId
- global id of the model to find the latest work object definitionValueMap getWorkObjectDefinition(String ambiguousWorkObjectDefinitionId, DefinitionViewFilter definitionViewFilter, Collection<String> fields, String... allowedTypes)
Gets the definition by id
ambiguousWorkObjectDefinitionId
- definition Id or global modal IddefinitionViewFilter
- definition view filter to limit returned attributesfields
- attributes included into responseallowedTypes
- types expected in the response. If empty all types are allowed.Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.