Class JobQueryDto


public class JobQueryDto extends AbstractQueryDto<JobQuery>
  • Field Details

    • activityId

      protected String activityId
    • jobId

      protected String jobId
    • jobIds

      protected Set<String> jobIds
    • executionId

      protected String executionId
    • processInstanceId

      protected String processInstanceId
    • processInstanceIds

      protected Set<String> processInstanceIds
    • processDefinitionId

      protected String processDefinitionId
    • processDefinitionKey

      protected String processDefinitionKey
    • withRetriesLeft

      protected Boolean withRetriesLeft
    • executable

      protected Boolean executable
    • timers

      protected Boolean timers
    • messages

      protected Boolean messages
    • withException

      protected Boolean withException
    • exceptionMessage

      protected String exceptionMessage
    • failedActivityId

      protected String failedActivityId
    • noRetriesLeft

      protected Boolean noRetriesLeft
    • active

      protected Boolean active
    • suspended

      protected Boolean suspended
    • priorityHigherThanOrEquals

      protected Long priorityHigherThanOrEquals
    • priorityLowerThanOrEquals

      protected Long priorityLowerThanOrEquals
    • jobDefinitionId

      protected String jobDefinitionId
    • tenantIds

      protected List<String> tenantIds
    • withoutTenantId

      protected Boolean withoutTenantId
    • includeJobsWithoutTenantId

      protected Boolean includeJobsWithoutTenantId
    • dueDates

      protected List<ConditionQueryParameterDto> dueDates
    • createTimes

      protected List<ConditionQueryParameterDto> createTimes
  • Constructor Details

    • JobQueryDto

      public JobQueryDto()
    • JobQueryDto

      public JobQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, jakarta.ws.rs.core.MultivaluedMap<String,String> queryParameters)
  • Method Details

    • setActivityId

      public void setActivityId(String activityId)
    • setFailedActivityId

      public void setFailedActivityId(String activityId)
    • setJobId

      public void setJobId(String jobId)
    • setJobIds

      public void setJobIds(Set<String> jobIds)
    • setExecutionId

      public void setExecutionId(String executionId)
    • setProcessInstanceId

      public void setProcessInstanceId(String processInstanceId)
    • setProcessInstanceIds

      public void setProcessInstanceIds(Set<String> processInstanceIds)
    • setProcessDefinitionId

      public void setProcessDefinitionId(String processDefinitionId)
    • setProcessDefinitionKey

      public void setProcessDefinitionKey(String processDefinitionKey)
    • setWithRetriesLeft

      public void setWithRetriesLeft(Boolean withRetriesLeft)
    • setExecutable

      public void setExecutable(Boolean executable)
    • setTimers

      public void setTimers(Boolean timers)
    • setWithException

      public void setWithException(Boolean withException)
    • setMessages

      public void setMessages(Boolean messages)
    • setExceptionMessage

      public void setExceptionMessage(String exceptionMessage)
    • setDueDates

      public void setDueDates(List<ConditionQueryParameterDto> dueDates)
    • setCreateTimes

      public void setCreateTimes(List<ConditionQueryParameterDto> createTimes)
    • setNoRetriesLeft

      public void setNoRetriesLeft(Boolean noRetriesLeft)
    • setActive

      public void setActive(Boolean active)
    • setSuspended

      public void setSuspended(Boolean suspended)
    • setPriorityHigherThanOrEquals

      public void setPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals)
    • setPriorityLowerThanOrEquals

      public void setPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals)
    • setJobDefinitionId

      public void setJobDefinitionId(String jobDefinitionId)
    • setTenantIdIn

      public void setTenantIdIn(List<String> tenantIds)
    • setWithoutTenantId

      public void setWithoutTenantId(Boolean withoutTenantId)
    • setIncludeJobsWithoutTenantId

      public void setIncludeJobsWithoutTenantId(Boolean includeJobsWithoutTenantId)
    • isValidSortByValue

      protected boolean isValidSortByValue(String value)
      Specified by:
      isValidSortByValue in class AbstractQueryDto<JobQuery>
    • createNewQuery

      protected JobQuery createNewQuery(ProcessEngine engine)
      Specified by:
      createNewQuery in class AbstractQueryDto<JobQuery>
    • applyFilters

      protected void applyFilters(JobQuery query)
      Specified by:
      applyFilters in class AbstractQueryDto<JobQuery>
    • applySortBy

      protected void applySortBy(JobQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
      Specified by:
      applySortBy in class AbstractQueryDto<JobQuery>