T
- public abstract class AbstractReportDto<T extends Report> extends AbstractSearchQueryDto
Modifier and Type | Field and Description |
---|---|
protected PeriodUnit |
periodUnit |
static String |
REPORT_TYPE_COUNT |
static String |
REPORT_TYPE_DURATION |
protected String |
reportType |
static List<String> |
VALID_REPORT_TYPE_VALUES |
objectMapper
Constructor and Description |
---|
AbstractReportDto() |
AbstractReportDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
applyFilters(T reportQuery) |
protected abstract T |
createNewReportQuery(ProcessEngine engine) |
List<? extends ReportResult> |
executeReport(ProcessEngine engine) |
protected List<? extends ReportResult> |
executeReportQuery(T report) |
protected PeriodUnit |
getPeriodUnit() |
String |
getReportType() |
void |
setPeriodUnit(PeriodUnit periodUnit) |
void |
setReportType(String reportType) |
setObjectMapper, setValueBasedOnAnnotation
protected PeriodUnit periodUnit
protected String reportType
public static final String REPORT_TYPE_DURATION
public static final String REPORT_TYPE_COUNT
protected PeriodUnit getPeriodUnit()
public String getReportType()
public void setReportType(String reportType)
public void setPeriodUnit(PeriodUnit periodUnit)
protected List<? extends ReportResult> executeReportQuery(T report)
public List<? extends ReportResult> executeReport(ProcessEngine engine)
protected abstract T createNewReportQuery(ProcessEngine engine)
protected abstract void applyFilters(T reportQuery)
Copyright © 2021. All rights reserved.