Class JobDefinitionQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<JobDefinitionQuery>
-
- org.camunda.bpm.engine.rest.dto.management.JobDefinitionQueryDto
-
public class JobDefinitionQueryDto extends AbstractQueryDto<JobDefinitionQuery>
- Author:
- roman.smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
active
protected java.lang.String[]
activityIdIn
protected java.lang.Boolean
includeJobDefinitionsWithoutTenantId
protected java.lang.String
jobConfiguration
protected java.lang.String
jobDefinitionId
protected java.lang.String
jobType
protected java.lang.String
processDefinitionId
protected java.lang.String
processDefinitionKey
protected java.lang.Boolean
suspended
protected java.util.List<java.lang.String>
tenantIds
protected java.lang.Boolean
withoutTenantId
protected java.lang.Boolean
withOverridingJobPriority
-
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 JobDefinitionQueryDto()
JobDefinitionQueryDto(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 Modifier and Type Method Description protected void
applyFilters(JobDefinitionQuery query)
protected void
applySortBy(JobDefinitionQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected JobDefinitionQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setActive(java.lang.Boolean active)
void
setActivityIdIn(java.lang.String[] activityIdIn)
void
setIncludeJobDefinitionsWithoutTenantId(java.lang.Boolean includeJobDefinitionsWithoutTenantId)
void
setJobConfiguration(java.lang.String jobConfiguration)
void
setJobDefinitionId(java.lang.String jobDefinitionId)
void
setJobType(java.lang.String jobType)
void
setProcessDefinitionId(java.lang.String processDefinitionId)
void
setProcessDefinitionKey(java.lang.String processDefinitionKey)
void
setSuspended(java.lang.Boolean suspended)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
void
setWithoutTenantId(java.lang.Boolean withoutTenantId)
void
setWithOverridingJobPriority(java.lang.Boolean withOverridingJobPriority)
-
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
-
jobDefinitionId
protected java.lang.String jobDefinitionId
-
activityIdIn
protected java.lang.String[] activityIdIn
-
processDefinitionId
protected java.lang.String processDefinitionId
-
processDefinitionKey
protected java.lang.String processDefinitionKey
-
jobType
protected java.lang.String jobType
-
jobConfiguration
protected java.lang.String jobConfiguration
-
active
protected java.lang.Boolean active
-
suspended
protected java.lang.Boolean suspended
-
withOverridingJobPriority
protected java.lang.Boolean withOverridingJobPriority
-
tenantIds
protected java.util.List<java.lang.String> tenantIds
-
withoutTenantId
protected java.lang.Boolean withoutTenantId
-
includeJobDefinitionsWithoutTenantId
protected java.lang.Boolean includeJobDefinitionsWithoutTenantId
-
-
Method Detail
-
setJobDefinitionId
public void setJobDefinitionId(java.lang.String jobDefinitionId)
-
setActivityIdIn
public void setActivityIdIn(java.lang.String[] activityIdIn)
-
setProcessDefinitionId
public void setProcessDefinitionId(java.lang.String processDefinitionId)
-
setProcessDefinitionKey
public void setProcessDefinitionKey(java.lang.String processDefinitionKey)
-
setJobType
public void setJobType(java.lang.String jobType)
-
setJobConfiguration
public void setJobConfiguration(java.lang.String jobConfiguration)
-
setActive
public void setActive(java.lang.Boolean active)
-
setSuspended
public void setSuspended(java.lang.Boolean suspended)
-
setWithOverridingJobPriority
public void setWithOverridingJobPriority(java.lang.Boolean withOverridingJobPriority)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setWithoutTenantId
public void setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
setIncludeJobDefinitionsWithoutTenantId
public void setIncludeJobDefinitionsWithoutTenantId(java.lang.Boolean includeJobDefinitionsWithoutTenantId)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<JobDefinitionQuery>
-
createNewQuery
protected JobDefinitionQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<JobDefinitionQuery>
-
applyFilters
protected void applyFilters(JobDefinitionQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<JobDefinitionQuery>
-
applySortBy
protected void applySortBy(JobDefinitionQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<JobDefinitionQuery>
-
-