Class HistoricTaskInstanceReportQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractReportDto<HistoricTaskInstanceReport>
-
- org.camunda.bpm.engine.rest.dto.history.HistoricTaskInstanceReportQueryDto
-
public class HistoricTaskInstanceReportQueryDto extends AbstractReportDto<HistoricTaskInstanceReport>
- Author:
- Stefan Hentschel.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Date
completedAfter
protected java.util.Date
completedBefore
protected java.lang.String
groupby
static java.lang.String
PROCESS_DEFINITION
static java.lang.String
TASK_NAME
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.AbstractReportDto
periodUnit, REPORT_TYPE_COUNT, REPORT_TYPE_DURATION, reportType, VALID_REPORT_TYPE_VALUES
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
objectMapper
-
-
Constructor Summary
Constructors Constructor Description HistoricTaskInstanceReportQueryDto()
HistoricTaskInstanceReportQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> queryParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyFilters(HistoricTaskInstanceReport reportQuery)
protected HistoricTaskInstanceReport
createNewReportQuery(ProcessEngine engine)
java.util.List<HistoricTaskInstanceReportResult>
executeCompletedReport(ProcessEngine engine)
java.util.Date
getCompletedAfter()
java.util.Date
getCompletedBefore()
java.lang.String
getGroupBy()
void
setCompletedAfter(java.util.Date completedAfter)
void
setCompletedBefore(java.util.Date completedBefore)
void
setGroupBy(java.lang.String groupby)
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.AbstractReportDto
executeReport, executeReportQuery, getPeriodUnit, getReportType, setPeriodUnit, setReportType
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
setObjectMapper, setValueBasedOnAnnotation
-
-
-
-
Field Detail
-
PROCESS_DEFINITION
public static final java.lang.String PROCESS_DEFINITION
- See Also:
- Constant Field Values
-
TASK_NAME
public static final java.lang.String TASK_NAME
- See Also:
- Constant Field Values
-
completedBefore
protected java.util.Date completedBefore
-
completedAfter
protected java.util.Date completedAfter
-
groupby
protected java.lang.String groupby
-
-
Constructor Detail
-
HistoricTaskInstanceReportQueryDto
public HistoricTaskInstanceReportQueryDto()
-
HistoricTaskInstanceReportQueryDto
public HistoricTaskInstanceReportQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> queryParameters)
-
-
Method Detail
-
getCompletedBefore
public java.util.Date getCompletedBefore()
-
getCompletedAfter
public java.util.Date getCompletedAfter()
-
getGroupBy
public java.lang.String getGroupBy()
-
setCompletedAfter
public void setCompletedAfter(java.util.Date completedAfter)
-
setCompletedBefore
public void setCompletedBefore(java.util.Date completedBefore)
-
setGroupBy
public void setGroupBy(java.lang.String groupby)
-
applyFilters
protected void applyFilters(HistoricTaskInstanceReport reportQuery)
- Specified by:
applyFilters
in classAbstractReportDto<HistoricTaskInstanceReport>
-
createNewReportQuery
protected HistoricTaskInstanceReport createNewReportQuery(ProcessEngine engine)
- Specified by:
createNewReportQuery
in classAbstractReportDto<HistoricTaskInstanceReport>
-
executeCompletedReport
public java.util.List<HistoricTaskInstanceReportResult> executeCompletedReport(ProcessEngine engine)
-
-