Class HistoricBatchQueryDto


  • public class HistoricBatchQueryDto
    extends Object
    Query for the historic batches to set the removal time for.
    • Constructor Detail

      • HistoricBatchQueryDto

        public HistoricBatchQueryDto()
    • Method Detail

      • getBatchId

        public String getBatchId()
        Filter by batch id.
        Returns:
        batchId
      • setBatchId

        public void setBatchId​(String batchId)
      • getType

        public String getType()
        Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.18/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types.
        Returns:
        type
      • setType

        public void setType​(String type)
      • getCompleted

        public Boolean getCompleted()
        Filter completed or not completed batches. If the value is `true`, only completed batches, i.e., end time is set, are returned. Otherwise, if the value is `false`, only running batches, i.e., end time is null, are returned.
        Returns:
        completed
      • setCompleted

        public void setCompleted​(Boolean completed)
      • getTenantIdIn

        public List<String> getTenantIdIn()
        Filter by a comma-separated list of tenant ids. A batch matches if it has one of the given tenant ids.
        Returns:
        tenantIdIn
      • setTenantIdIn

        public void setTenantIdIn​(List<String> tenantIdIn)
      • getWithoutTenantId

        public Boolean getWithoutTenantId()
        Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior.
        Returns:
        withoutTenantId
      • setWithoutTenantId

        public void setWithoutTenantId​(Boolean withoutTenantId)
      • getSorting

        public List<HistoricBatchQueryDtoSorting> getSorting()
        An array of criteria to sort the result by. Each element of the array is an object that specifies one ordering. The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc. Has no effect for the `/count` endpoint
        Returns:
        sorting
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object