Class CaseDefinitionQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<CaseDefinitionQuery>
-
- org.camunda.bpm.engine.rest.dto.repository.CaseDefinitionQueryDto
-
public class CaseDefinitionQueryDto extends AbstractQueryDto<CaseDefinitionQuery>
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
caseDefinitionId
protected java.util.List<java.lang.String>
caseDefinitionIdIn
protected java.lang.String
category
protected java.lang.String
categoryLike
protected java.lang.String
deploymentId
protected java.lang.Boolean
includeDefinitionsWithoutTenantId
protected java.lang.String
key
protected java.lang.String
keyLike
protected java.lang.Boolean
latestVersion
protected java.lang.String
name
protected java.lang.String
nameLike
protected java.lang.String
resourceName
protected java.lang.String
resourceNameLike
protected java.util.List<java.lang.String>
tenantIds
protected java.lang.Integer
version
protected java.lang.Boolean
withoutTenantId
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.AbstractQueryDto
expressions, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
objectMapper
-
-
Constructor Summary
Constructors Constructor Description CaseDefinitionQueryDto()
CaseDefinitionQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> queryParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
applyFilters(CaseDefinitionQuery query)
protected void
applySortBy(CaseDefinitionQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected CaseDefinitionQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setCaseDefinitionId(java.lang.String caseDefinitionId)
void
setCaseDefinitionIdIn(java.util.List<java.lang.String> caseDefinitionIdIn)
void
setCategory(java.lang.String category)
void
setCategoryLike(java.lang.String categoryLike)
void
setDeploymentId(java.lang.String deploymentId)
void
setIncludeCaseDefinitionsWithoutTenantId(java.lang.Boolean includeDefinitionsWithoutTenantId)
void
setKey(java.lang.String key)
void
setKeyLike(java.lang.String keyLike)
void
setLatest(java.lang.Boolean latest)
Deprecated.void
setLatestVersion(java.lang.Boolean latestVersion)
void
setName(java.lang.String name)
void
setNameLike(java.lang.String nameLike)
void
setResourceName(java.lang.String resourceName)
void
setResourceNameLike(java.lang.String resourceNameLike)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
void
setVersion(java.lang.Integer version)
void
setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.AbstractQueryDto
applySortingOptions, applySortOrder, getSorting, setSortBy, setSorting, setSortOrder, sortOptionsValid, sortOrderValueForDirection, toQuery
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
setObjectMapper, setValueBasedOnAnnotation
-
-
-
-
Field Detail
-
caseDefinitionId
protected java.lang.String caseDefinitionId
-
caseDefinitionIdIn
protected java.util.List<java.lang.String> caseDefinitionIdIn
-
category
protected java.lang.String category
-
categoryLike
protected java.lang.String categoryLike
-
name
protected java.lang.String name
-
nameLike
protected java.lang.String nameLike
-
deploymentId
protected java.lang.String deploymentId
-
key
protected java.lang.String key
-
keyLike
protected java.lang.String keyLike
-
resourceName
protected java.lang.String resourceName
-
resourceNameLike
protected java.lang.String resourceNameLike
-
version
protected java.lang.Integer version
-
latestVersion
protected java.lang.Boolean latestVersion
-
tenantIds
protected java.util.List<java.lang.String> tenantIds
-
withoutTenantId
protected java.lang.Boolean withoutTenantId
-
includeDefinitionsWithoutTenantId
protected java.lang.Boolean includeDefinitionsWithoutTenantId
-
-
Method Detail
-
setCaseDefinitionId
public void setCaseDefinitionId(java.lang.String caseDefinitionId)
-
setCaseDefinitionIdIn
public void setCaseDefinitionIdIn(java.util.List<java.lang.String> caseDefinitionIdIn)
-
setCategory
public void setCategory(java.lang.String category)
-
setCategoryLike
public void setCategoryLike(java.lang.String categoryLike)
-
setName
public void setName(java.lang.String name)
-
setNameLike
public void setNameLike(java.lang.String nameLike)
-
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)
-
setKey
public void setKey(java.lang.String key)
-
setKeyLike
public void setKeyLike(java.lang.String keyLike)
-
setResourceName
public void setResourceName(java.lang.String resourceName)
-
setResourceNameLike
public void setResourceNameLike(java.lang.String resourceNameLike)
-
setVersion
public void setVersion(java.lang.Integer version)
-
setLatest
@Deprecated public void setLatest(java.lang.Boolean latest)
Deprecated.
-
setLatestVersion
public void setLatestVersion(java.lang.Boolean latestVersion)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setWithoutTenantId
public void setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
setIncludeCaseDefinitionsWithoutTenantId
public void setIncludeCaseDefinitionsWithoutTenantId(java.lang.Boolean includeDefinitionsWithoutTenantId)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<CaseDefinitionQuery>
-
createNewQuery
protected CaseDefinitionQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<CaseDefinitionQuery>
-
applyFilters
protected void applyFilters(CaseDefinitionQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<CaseDefinitionQuery>
-
applySortBy
protected void applySortBy(CaseDefinitionQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<CaseDefinitionQuery>
-
-