org.camunda.bpm.engine.history
Interface HistoricTaskInstanceReport

All Superinterfaces:
Report
All Known Implementing Classes:
HistoricTaskInstanceReportImpl

public interface HistoricTaskInstanceReport
extends Report

Author:
Stefan Hentschel.

Method Summary
 HistoricTaskInstanceReport completedAfter(Date completedAfter)
          Sets the completed after date for constraining the query to search for all tasks which are completed after a certain date.
 HistoricTaskInstanceReport completedBefore(Date completedBefore)
          Sets the completed before date for constraining the query to search for all tasks which are completed before a certain date.
 List<HistoricTaskInstanceReportResult> countByProcessDefinitionKey()
          Executes the task report query and returns a list of HistoricTaskInstanceReportResults
 List<HistoricTaskInstanceReportResult> countByTaskName()
          Executes the task report query and returns a list of HistoricTaskInstanceReportResults
 
Methods inherited from interface org.camunda.bpm.engine.query.Report
duration
 

Method Detail

completedAfter

HistoricTaskInstanceReport completedAfter(Date completedAfter)

Sets the completed after date for constraining the query to search for all tasks which are completed after a certain date.

Parameters:
completedAfter - A Date to define the granularity of the report
Throws:
NotValidException - When the given date is null.

completedBefore

HistoricTaskInstanceReport completedBefore(Date completedBefore)

Sets the completed before date for constraining the query to search for all tasks which are completed before a certain date.

Parameters:
completedBefore - A Date to define the granularity of the report
Throws:
NotValidException - When the given date is null.

countByProcessDefinitionKey

List<HistoricTaskInstanceReportResult> countByProcessDefinitionKey()

Executes the task report query and returns a list of HistoricTaskInstanceReportResults

Returns:
a list of HistoricTaskInstanceReportResults
Throws:
AuthorizationException - If the user has no Permissions.READ_HISTORY permission on any Resources.PROCESS_DEFINITION.

countByTaskName

List<HistoricTaskInstanceReportResult> countByTaskName()

Executes the task report query and returns a list of HistoricTaskInstanceReportResults

Returns:
a list of HistoricTaskInstanceReportResults
Throws:
AuthorizationException - If the user has no Permissions.READ_HISTORY permission on any Resources.PROCESS_DEFINITION.


Copyright © 2016 camunda services GmbH. All rights reserved.