public class BatchQueryDto extends AbstractQueryDto<BatchQuery>
Modifier and Type | Field and Description |
---|---|
protected String |
batchId |
protected Boolean |
suspended |
protected List<String> |
tenantIds |
protected String |
type |
protected Boolean |
withoutTenantId |
expressions, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
objectMapper
Constructor and Description |
---|
BatchQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyFilters(BatchQuery query) |
protected void |
applySortBy(BatchQuery query,
String sortBy,
Map<String,Object> parameters,
ProcessEngine engine) |
protected BatchQuery |
createNewQuery(ProcessEngine engine) |
protected boolean |
isValidSortByValue(String value) |
void |
setBatchId(String batchId) |
void |
setSuspended(Boolean suspended) |
void |
setTenantIdIn(List<String> tenantIds) |
void |
setType(String type) |
void |
setWithoutTenantId(Boolean withoutTenantId) |
applySortingOptions, applySortOrder, getSorting, setSortBy, setSorting, setSortOrder, sortOptionsValid, sortOrderValueForDirection, toQuery
setObjectMapper, setValueBasedOnAnnotation
protected String batchId
protected String type
protected Boolean withoutTenantId
protected Boolean suspended
public void setBatchId(String batchId)
public void setType(String type)
public void setWithoutTenantId(Boolean withoutTenantId)
public void setSuspended(Boolean suspended)
protected boolean isValidSortByValue(String value)
isValidSortByValue
in class AbstractQueryDto<BatchQuery>
protected BatchQuery createNewQuery(ProcessEngine engine)
createNewQuery
in class AbstractQueryDto<BatchQuery>
protected void applyFilters(BatchQuery query)
applyFilters
in class AbstractQueryDto<BatchQuery>
protected void applySortBy(BatchQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
applySortBy
in class AbstractQueryDto<BatchQuery>
Copyright © 2021. All rights reserved.