Class BatchStatisticsQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<BatchStatisticsQuery>
-
- org.camunda.bpm.engine.rest.dto.batch.BatchStatisticsQueryDto
-
public class BatchStatisticsQueryDto extends AbstractQueryDto<BatchStatisticsQuery>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbatchIdprotected Booleansuspendedprotected List<String>tenantIdsprotected Stringtypeprotected BooleanwithoutTenantId-
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 BatchStatisticsQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyFilters(BatchStatisticsQuery query)protected voidapplySortBy(BatchStatisticsQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)protected BatchStatisticsQuerycreateNewQuery(ProcessEngine engine)protected booleanisValidSortByValue(String value)voidsetBatchId(String batchId)voidsetSuspended(Boolean suspended)voidsetTenantIdIn(List<String> tenantIds)voidsetType(String type)voidsetWithoutTenantId(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
-
-
-
-
Method Detail
-
setBatchId
public void setBatchId(String batchId)
-
setType
public void setType(String type)
-
setWithoutTenantId
public void setWithoutTenantId(Boolean withoutTenantId)
-
setSuspended
public void setSuspended(Boolean suspended)
-
isValidSortByValue
protected boolean isValidSortByValue(String value)
- Specified by:
isValidSortByValuein classAbstractQueryDto<BatchStatisticsQuery>
-
createNewQuery
protected BatchStatisticsQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQueryin classAbstractQueryDto<BatchStatisticsQuery>
-
applyFilters
protected void applyFilters(BatchStatisticsQuery query)
- Specified by:
applyFiltersin classAbstractQueryDto<BatchStatisticsQuery>
-
applySortBy
protected void applySortBy(BatchStatisticsQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
- Specified by:
applySortByin classAbstractQueryDto<BatchStatisticsQuery>
-
-