org.camunda.bpm.engine.history
Interface CleanableHistoricProcessInstanceReport

All Superinterfaces:
Query<CleanableHistoricProcessInstanceReport,CleanableHistoricProcessInstanceReportResult>
All Known Implementing Classes:
CleanableHistoricProcessInstanceReportImpl

public interface CleanableHistoricProcessInstanceReport
extends Query<CleanableHistoricProcessInstanceReport,CleanableHistoricProcessInstanceReportResult>

Defines a report query for cleanable process instances.


Method Summary
 CleanableHistoricProcessInstanceReport compact()
          Only selects historic process instances which have more than zero finished instances.
 CleanableHistoricProcessInstanceReport orderByFinished()
          Order by finished process instances amount (needs to be followed by Query.asc() or Query.desc()).
 CleanableHistoricProcessInstanceReport processDefinitionIdIn(String... processDefinitionIds)
          Only takes historic process instances into account for the given process definition ids.
 CleanableHistoricProcessInstanceReport processDefinitionKeyIn(String... processDefinitionKeys)
          Only takes historic process instances into account for the given process definition keys.
 CleanableHistoricProcessInstanceReport tenantIdIn(String... tenantIds)
          Only select historic process instances with one of the given tenant ids.
 CleanableHistoricProcessInstanceReport withoutTenantId()
          Only selects historic process instances which have no tenant id.
 
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult
 

Method Detail

processDefinitionIdIn

CleanableHistoricProcessInstanceReport processDefinitionIdIn(String... processDefinitionIds)
Only takes historic process instances into account for the given process definition ids.

Throws:
NotValidException - if one of the given ids is null

processDefinitionKeyIn

CleanableHistoricProcessInstanceReport processDefinitionKeyIn(String... processDefinitionKeys)
Only takes historic process instances into account for the given process definition keys.

Throws:
NotValidException - if one of the given keys is null

tenantIdIn

CleanableHistoricProcessInstanceReport tenantIdIn(String... tenantIds)
Only select historic process instances with one of the given tenant ids.

Throws:
NotValidException - if one of the given ids is null

withoutTenantId

CleanableHistoricProcessInstanceReport withoutTenantId()
Only selects historic process instances which have no tenant id.


compact

CleanableHistoricProcessInstanceReport compact()
Only selects historic process instances which have more than zero finished instances.


orderByFinished

CleanableHistoricProcessInstanceReport orderByFinished()
Order by finished process instances amount (needs to be followed by Query.asc() or Query.desc()).



Copyright © 2017 camunda services GmbH. All rights reserved.