Package org.camunda.bpm.engine.rest.dto
Class AbstractReportDto<T extends Report>
java.lang.Object
org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
org.camunda.bpm.engine.rest.dto.AbstractReportDto<T>
- Type Parameters:
T
-
- Direct Known Subclasses:
HistoricProcessInstanceReportDto
,HistoricTaskInstanceReportQueryDto
- Author:
- Roman Smirnov
-
Field Summary
Modifier and TypeFieldDescriptionprotected PeriodUnit
static final String
static final String
protected String
Fields inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
objectMapper
-
Constructor Summary
ConstructorDescriptionAbstractReportDto
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<String, String> queryParameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
void
setPeriodUnit
(PeriodUnit periodUnit) void
setReportType
(String reportType) Methods inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
setObjectMapper, setValueBasedOnAnnotation
-
Field Details
-
periodUnit
-
reportType
-
REPORT_TYPE_DURATION
- See Also:
-
REPORT_TYPE_COUNT
- See Also:
-
VALID_REPORT_TYPE_VALUES
-
-
Constructor Details
-
AbstractReportDto
public AbstractReportDto() -
AbstractReportDto
-
-
Method Details
-
getPeriodUnit
-
getReportType
-
setReportType
-
setPeriodUnit
-
executeReportQuery
-
executeReport
-
createNewReportQuery
-
applyFilters
-