@Manager public class DefaultWorkObjectDefinitionManager extends Object implements WorkObjectDefinitionManager
Manages operations on AnyWorkObjectDefinitions
| Constructor and Description | 
|---|
DefaultWorkObjectDefinitionManager(EntityTemplateManager entityTemplateManager,
                                  AnyWorkObjectDefinitionService workObjectDefinitionService)  | 
| 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 
 | 
public DefaultWorkObjectDefinitionManager(EntityTemplateManager entityTemplateManager, AnyWorkObjectDefinitionService workObjectDefinitionService)
public QueryResponse findWorkObjectDefinitions(String type, String typedText, Integer offset, Integer limit)
WorkObjectDefinitionManagerFinds the work object definitions with a matching name to the typed text parameter
findWorkObjectDefinitions in interface WorkObjectDefinitionManagertype - 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 datapublic QueryResponse findWorkObjectDefinitionsWithCaseId(String type, String caseId, String typedText, Integer offset, Integer limit)
WorkObjectDefinitionManagerFinds the latest work object definitions with a matching name to the typed text parameter and the case id
findWorkObjectDefinitionsWithCaseId in interface WorkObjectDefinitionManagertype - 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 datapublic QueryResponse findWorkObjectDefinitionsByModelId(String modelId)
WorkObjectDefinitionManagerFinds the latest active work object definition by model global id
findWorkObjectDefinitionsByModelId in interface WorkObjectDefinitionManagermodelId - global id of the model to find the latest work object definitionpublic ValueMap getWorkObjectDefinition(String ambiguousWorkObjectDefinitionId, DefinitionViewFilter definitionViewFilter, Collection<String> fields, String... allowedTypes)
WorkObjectDefinitionManagerGets the definition by id
getWorkObjectDefinition in interface WorkObjectDefinitionManagerambiguousWorkObjectDefinitionId - 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.public EntityTemplate findEntityTemplateByModelId(String modelId)
WorkObjectDefinitionManagerFinds the latest active work object definition by model global id
findEntityTemplateByModelId in interface WorkObjectDefinitionManagermodelId - global id of the model to find the latest work object definitionCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.