Class ProcessDefinitionQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<ProcessDefinitionQuery>
-
- org.camunda.bpm.engine.rest.dto.repository.ProcessDefinitionQueryDto
-
public class ProcessDefinitionQueryDto extends AbstractQueryDto<ProcessDefinitionQuery>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
active
protected java.lang.String
category
protected java.lang.String
categoryLike
protected java.util.Date
deployedAfter
protected java.util.Date
deployedAt
protected java.lang.String
deploymentId
protected java.lang.String
incidentId
protected java.lang.String
incidentMessage
protected java.lang.String
incidentMessageLike
protected java.lang.String
incidentType
protected java.lang.Boolean
includeDefinitionsWithoutTenantId
protected java.lang.String
key
protected java.lang.String
keyLike
protected java.util.List<java.lang.String>
keys
protected java.lang.Boolean
latestVersion
protected java.lang.String
name
protected java.lang.String
nameLike
protected java.lang.Boolean
notStartableInTasklist
protected java.lang.String
processDefinitionId
protected java.util.List<java.lang.String>
processDefinitionIdIn
protected java.lang.String
resourceName
protected java.lang.String
resourceNameLike
protected java.lang.String
startableBy
protected java.lang.Boolean
startableInTasklist
protected java.lang.Boolean
startablePermissionCheck
protected java.lang.Boolean
suspended
protected java.util.List<java.lang.String>
tenantIds
protected java.lang.Integer
version
protected java.lang.String
versionTag
protected java.lang.String
versionTagLike
protected java.lang.Boolean
withoutTenantId
protected java.lang.Boolean
withoutVersionTag
-
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 ProcessDefinitionQueryDto()
ProcessDefinitionQueryDto(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(ProcessDefinitionQuery query)
protected void
applySortBy(ProcessDefinitionQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected ProcessDefinitionQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setActive(java.lang.Boolean active)
void
setCategory(java.lang.String category)
void
setCategoryLike(java.lang.String categoryLike)
void
setDeployedAfter(java.util.Date deployedAfter)
void
setDeployedAt(java.util.Date deployedAt)
void
setDeploymentId(java.lang.String deploymentId)
void
setIncidentId(java.lang.String incidentId)
void
setIncidentMessage(java.lang.String incidentMessage)
void
setIncidentMessageLike(java.lang.String incidentMessageLike)
void
setIncidentType(java.lang.String incidentType)
void
setIncludeProcessDefinitionsWithoutTenantId(java.lang.Boolean includeDefinitionsWithoutTenantId)
void
setKey(java.lang.String key)
void
setKeyLike(java.lang.String keyLike)
void
setKeysIn(java.util.List<java.lang.String> keys)
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
setNotStartableInTasklist(java.lang.Boolean notStartableInTasklist)
void
setProcessDefinitionId(java.lang.String processDefinitionId)
void
setProcessDefinitionIdIn(java.util.List<java.lang.String> processDefinitionIdIn)
void
setResourceName(java.lang.String resourceName)
void
setResourceNameLike(java.lang.String resourceNameLike)
void
setStartableBy(java.lang.String startableBy)
void
setStartableInTasklist(java.lang.Boolean startableInTasklist)
void
setStartablePermissionCheck(java.lang.Boolean startablePermissionCheck)
void
setSuspended(java.lang.Boolean suspended)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
void
setVer(java.lang.Integer ver)
Deprecated.void
setVersion(java.lang.Integer version)
void
setVersionTag(java.lang.String versionTag)
void
setVersionTagLike(java.lang.String versionTagLike)
void
setWithoutTenantId(java.lang.Boolean withoutTenantId)
void
setWithoutVersionTag(java.lang.Boolean withoutVersionTag)
-
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
-
processDefinitionId
protected java.lang.String processDefinitionId
-
processDefinitionIdIn
protected java.util.List<java.lang.String> processDefinitionIdIn
-
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
-
deployedAfter
protected java.util.Date deployedAfter
-
deployedAt
protected java.util.Date deployedAt
-
key
protected java.lang.String key
-
keyLike
protected java.lang.String keyLike
-
version
protected java.lang.Integer version
-
latestVersion
protected java.lang.Boolean latestVersion
-
resourceName
protected java.lang.String resourceName
-
resourceNameLike
protected java.lang.String resourceNameLike
-
startableBy
protected java.lang.String startableBy
-
active
protected java.lang.Boolean active
-
suspended
protected java.lang.Boolean suspended
-
incidentId
protected java.lang.String incidentId
-
incidentType
protected java.lang.String incidentType
-
incidentMessage
protected java.lang.String incidentMessage
-
incidentMessageLike
protected java.lang.String incidentMessageLike
-
tenantIds
protected java.util.List<java.lang.String> tenantIds
-
withoutTenantId
protected java.lang.Boolean withoutTenantId
-
includeDefinitionsWithoutTenantId
protected java.lang.Boolean includeDefinitionsWithoutTenantId
-
versionTag
protected java.lang.String versionTag
-
versionTagLike
protected java.lang.String versionTagLike
-
withoutVersionTag
protected java.lang.Boolean withoutVersionTag
-
keys
protected java.util.List<java.lang.String> keys
-
startableInTasklist
protected java.lang.Boolean startableInTasklist
-
notStartableInTasklist
protected java.lang.Boolean notStartableInTasklist
-
startablePermissionCheck
protected java.lang.Boolean startablePermissionCheck
-
-
Method Detail
-
setProcessDefinitionId
public void setProcessDefinitionId(java.lang.String processDefinitionId)
-
setProcessDefinitionIdIn
public void setProcessDefinitionIdIn(java.util.List<java.lang.String> processDefinitionIdIn)
-
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)
-
setDeployedAfter
public void setDeployedAfter(java.util.Date deployedAfter)
-
setDeployedAt
public void setDeployedAt(java.util.Date deployedAt)
-
setKey
public void setKey(java.lang.String key)
-
setKeysIn
public void setKeysIn(java.util.List<java.lang.String> keys)
-
setKeyLike
public void setKeyLike(java.lang.String keyLike)
-
setVer
@Deprecated public void setVer(java.lang.Integer ver)
Deprecated.
-
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)
-
setResourceName
public void setResourceName(java.lang.String resourceName)
-
setResourceNameLike
public void setResourceNameLike(java.lang.String resourceNameLike)
-
setStartableBy
public void setStartableBy(java.lang.String startableBy)
-
setActive
public void setActive(java.lang.Boolean active)
-
setSuspended
public void setSuspended(java.lang.Boolean suspended)
-
setIncidentId
public void setIncidentId(java.lang.String incidentId)
-
setIncidentType
public void setIncidentType(java.lang.String incidentType)
-
setIncidentMessage
public void setIncidentMessage(java.lang.String incidentMessage)
-
setIncidentMessageLike
public void setIncidentMessageLike(java.lang.String incidentMessageLike)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setWithoutTenantId
public void setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
setIncludeProcessDefinitionsWithoutTenantId
public void setIncludeProcessDefinitionsWithoutTenantId(java.lang.Boolean includeDefinitionsWithoutTenantId)
-
setVersionTag
public void setVersionTag(java.lang.String versionTag)
-
setVersionTagLike
public void setVersionTagLike(java.lang.String versionTagLike)
-
setWithoutVersionTag
public void setWithoutVersionTag(java.lang.Boolean withoutVersionTag)
-
setStartableInTasklist
public void setStartableInTasklist(java.lang.Boolean startableInTasklist)
-
setNotStartableInTasklist
public void setNotStartableInTasklist(java.lang.Boolean notStartableInTasklist)
-
setStartablePermissionCheck
public void setStartablePermissionCheck(java.lang.Boolean startablePermissionCheck)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<ProcessDefinitionQuery>
-
createNewQuery
protected ProcessDefinitionQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<ProcessDefinitionQuery>
-
applyFilters
protected void applyFilters(ProcessDefinitionQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<ProcessDefinitionQuery>
-
applySortBy
protected void applySortBy(ProcessDefinitionQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<ProcessDefinitionQuery>
-
-