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 String
batchId
protected Date
startedAfter
protected Date
startedBefore
protected Boolean
suspended
protected List<String>
tenantIds
protected String
type
protected String
userId
protected Boolean
withFailures
protected Boolean
withoutFailures
protected 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 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 void
applyFilters(BatchStatisticsQuery query)
protected void
applySortBy(BatchStatisticsQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
protected BatchStatisticsQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(String value)
void
setBatchId(String batchId)
void
setCreateUserId(String userId)
void
setStartedAfter(Date startedAfter)
void
setStartedBefore(Date startedBefore)
void
setSuspended(Boolean suspended)
void
setTenantIdIn(List<String> tenantIds)
void
setType(String type)
void
setWithFailures(Boolean withFailures)
void
setWithoutFailures(Boolean withoutFailures)
void
setWithoutTenantId(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
-
batchId
protected String batchId
-
type
protected String type
-
withoutTenantId
protected Boolean withoutTenantId
-
suspended
protected Boolean suspended
-
userId
protected String userId
-
startedBefore
protected Date startedBefore
-
startedAfter
protected Date startedAfter
-
withFailures
protected Boolean withFailures
-
withoutFailures
protected Boolean withoutFailures
-
-
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)
-
setCreateUserId
public void setCreateUserId(String userId)
-
setStartedBefore
public void setStartedBefore(Date startedBefore)
-
setStartedAfter
public void setStartedAfter(Date startedAfter)
-
setWithFailures
public void setWithFailures(Boolean withFailures)
-
setWithoutFailures
public void setWithoutFailures(Boolean withoutFailures)
-
isValidSortByValue
protected boolean isValidSortByValue(String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<BatchStatisticsQuery>
-
createNewQuery
protected BatchStatisticsQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<BatchStatisticsQuery>
-
applyFilters
protected void applyFilters(BatchStatisticsQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<BatchStatisticsQuery>
-
applySortBy
protected void applySortBy(BatchStatisticsQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<BatchStatisticsQuery>
-
-