public class TimerJobQueryImpl extends AbstractQuery<TimerJobQuery,org.flowable.job.api.Job> implements TimerJobQuery, Serializable
AbstractQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected Date |
duedateHigherThan |
protected Date |
duedateHigherThanOrEqual |
protected Date |
duedateLowerThan |
protected Date |
duedateLowerThanOrEqual |
protected String |
exceptionMessage |
protected boolean |
executable |
protected String |
executionId |
protected String |
id |
protected boolean |
onlyMessages |
protected boolean |
onlyTimers |
protected String |
processDefinitionId |
protected String |
processInstanceId |
protected String |
tenantId |
protected String |
tenantIdLike |
protected boolean |
withException |
protected boolean |
withoutTenantId |
commandContext, commandExecutor, databaseType, nullHandlingOnOrder, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCfirstResult, maxResults, parameter| Constructor and Description |
|---|
TimerJobQueryImpl() |
TimerJobQueryImpl(CommandContext commandContext) |
TimerJobQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
TimerJobQuery |
duedateHigherThan(Date date)
Only select jobs where the duedate is higher then the given date.
|
TimerJobQuery |
duedateHigherThen(Date date)
Only select jobs where the duedate is higher then the given date.
|
TimerJobQuery |
duedateHigherThenOrEquals(Date date)
Only select jobs where the duedate is higher then or equals the given date.
|
TimerJobQuery |
duedateLowerThan(Date date)
Only select jobs where the duedate is lower than the given date.
|
TimerJobQuery |
duedateLowerThen(Date date)
Only select jobs where the duedate is lower then the given date.
|
TimerJobQuery |
duedateLowerThenOrEquals(Date date)
Only select jobs where the duedate is lower then or equals the given date.
|
TimerJobQuery |
exceptionMessage(String exceptionMessage)
Only select jobs that failed due to an exception with the given message.
|
TimerJobQuery |
executable()
Only select jobs which are executable, ie.
|
long |
executeCount(CommandContext commandContext) |
List<org.flowable.job.api.Job> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
TimerJobQueryImpl |
executionId(String executionId)
Only select jobs which exist for the given execution
|
String |
getExceptionMessage() |
boolean |
getExecutable() |
String |
getExecutionId() |
Date |
getNow() |
String |
getProcessInstanceId() |
String |
getTenantId() |
String |
getTenantIdLike() |
boolean |
isWithException() |
boolean |
isWithoutTenantId() |
TimerJobQuery |
jobId(String jobId)
Only select jobs with the given id
|
TimerJobQuery |
jobTenantId(String tenantId)
Only select jobs that have the given tenant id.
|
TimerJobQuery |
jobTenantIdLike(String tenantIdLike)
Only select jobs with a tenant id like the given one.
|
TimerJobQuery |
jobWithoutTenantId()
Only select jobs that do not have a tenant id.
|
TimerJobQuery |
messages()
Only select jobs that are messages.
|
TimerJobQuery |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc()). |
TimerJobQuery |
orderByJobDuedate()
Order by duedate (needs to be followed by
Query.asc() or Query.desc()). |
TimerJobQuery |
orderByJobId()
Order by job id (needs to be followed by
Query.asc() or Query.desc()). |
TimerJobQuery |
orderByJobRetries()
Order by retries (needs to be followed by
Query.asc() or Query.desc()). |
TimerJobQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc()). |
TimerJobQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
TimerJobQueryImpl |
processDefinitionId(String processDefinitionId)
Only select jobs which exist for the given process definition id
|
TimerJobQueryImpl |
processInstanceId(String processInstanceId)
Only select jobs which exist for the given process instance.
|
TimerJobQuery |
timers()
Only select jobs that are timers.
|
TimerJobQuery |
withException()
Only select jobs that failed due to an exception.
|
addOrder, asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getDatabaseType, getOrderBy, getOrderByColumns, list, listPage, orderBy, orderBy, setCommandExecutor, setDatabaseType, singleResultgetFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setFirstResult, setMaxResults, setParameterprotected String id
protected String processInstanceId
protected String executionId
protected String processDefinitionId
protected boolean executable
protected boolean onlyTimers
protected boolean onlyMessages
protected Date duedateHigherThan
protected Date duedateLowerThan
protected Date duedateHigherThanOrEqual
protected Date duedateLowerThanOrEqual
protected boolean withException
protected String exceptionMessage
protected String tenantId
protected String tenantIdLike
protected boolean withoutTenantId
public TimerJobQueryImpl()
public TimerJobQueryImpl(CommandContext commandContext)
public TimerJobQueryImpl(CommandExecutor commandExecutor)
public TimerJobQuery jobId(String jobId)
TimerJobQueryjobId in interface TimerJobQuerypublic TimerJobQueryImpl processInstanceId(String processInstanceId)
TimerJobQueryprocessInstanceId in interface TimerJobQuerypublic TimerJobQueryImpl processDefinitionId(String processDefinitionId)
TimerJobQueryprocessDefinitionId in interface TimerJobQuerypublic TimerJobQueryImpl executionId(String executionId)
TimerJobQueryexecutionId in interface TimerJobQuerypublic TimerJobQuery executable()
TimerJobQueryexecutable in interface TimerJobQuerypublic TimerJobQuery timers()
TimerJobQueryTimerJobQuery.messages()timers in interface TimerJobQuerypublic TimerJobQuery messages()
TimerJobQueryTimerJobQuery.timers()messages in interface TimerJobQuerypublic TimerJobQuery duedateHigherThan(Date date)
TimerJobQueryduedateHigherThan in interface TimerJobQuerypublic TimerJobQuery duedateLowerThan(Date date)
TimerJobQueryduedateLowerThan in interface TimerJobQuerypublic TimerJobQuery duedateHigherThen(Date date)
TimerJobQueryduedateHigherThen in interface TimerJobQuerypublic TimerJobQuery duedateHigherThenOrEquals(Date date)
TimerJobQueryduedateHigherThenOrEquals in interface TimerJobQuerypublic TimerJobQuery duedateLowerThen(Date date)
TimerJobQueryduedateLowerThen in interface TimerJobQuerypublic TimerJobQuery duedateLowerThenOrEquals(Date date)
TimerJobQueryduedateLowerThenOrEquals in interface TimerJobQuerypublic TimerJobQuery withException()
TimerJobQuerywithException in interface TimerJobQuerypublic TimerJobQuery exceptionMessage(String exceptionMessage)
TimerJobQueryexceptionMessage in interface TimerJobQuerypublic TimerJobQuery jobTenantId(String tenantId)
TimerJobQueryjobTenantId in interface TimerJobQuerypublic TimerJobQuery jobTenantIdLike(String tenantIdLike)
TimerJobQueryjobTenantIdLike in interface TimerJobQuerypublic TimerJobQuery jobWithoutTenantId()
TimerJobQueryjobWithoutTenantId in interface TimerJobQuerypublic TimerJobQuery orderByJobDuedate()
TimerJobQueryQuery.asc() or Query.desc()).orderByJobDuedate in interface TimerJobQuerypublic TimerJobQuery orderByExecutionId()
TimerJobQueryQuery.asc() or Query.desc()).orderByExecutionId in interface TimerJobQuerypublic TimerJobQuery orderByJobId()
TimerJobQueryQuery.asc() or Query.desc()).orderByJobId in interface TimerJobQuerypublic TimerJobQuery orderByProcessInstanceId()
TimerJobQueryQuery.asc() or Query.desc()).orderByProcessInstanceId in interface TimerJobQuerypublic TimerJobQuery orderByJobRetries()
TimerJobQueryQuery.asc() or Query.desc()).orderByJobRetries in interface TimerJobQuerypublic TimerJobQuery orderByTenantId()
TimerJobQueryQuery.asc() or Query.desc()).orderByTenantId in interface TimerJobQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<TimerJobQuery,org.flowable.job.api.Job>public List<org.flowable.job.api.Job> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<TimerJobQuery,org.flowable.job.api.Job>page - used if the results must be paged. If null, no paging will be applied.public String getProcessInstanceId()
public String getExecutionId()
public boolean getExecutable()
public Date getNow()
public boolean isWithException()
public String getExceptionMessage()
public String getTenantId()
public String getTenantIdLike()
public boolean isWithoutTenantId()
Copyright © 2018 Flowable. All rights reserved.