public class TimerJobQueryImpl extends AbstractQuery<TimerJobQuery,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 |
noRetriesLeft |
protected boolean |
onlyMessages |
protected boolean |
onlyTimers |
protected String |
processDefinitionId |
protected String |
processInstanceId |
protected boolean |
retriesLeft |
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 |
|---|---|
TimerJobQueryImpl |
duedateHigherThan(Date date)
Only select jobs where the duedate is higher then the given date.
|
TimerJobQueryImpl |
duedateHigherThen(Date date) |
TimerJobQueryImpl |
duedateHigherThenOrEquals(Date date) |
TimerJobQueryImpl |
duedateLowerThan(Date date)
Only select jobs where the duedate is lower than the given date.
|
TimerJobQueryImpl |
duedateLowerThen(Date date) |
TimerJobQueryImpl |
duedateLowerThenOrEquals(Date date) |
TimerJobQueryImpl |
exceptionMessage(String exceptionMessage)
Only select jobs that failed due to an exception with the given message.
|
TimerJobQueryImpl |
executable()
Only select jobs which are executable, ie.
|
long |
executeCount(CommandContext commandContext) |
List<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
|
Date |
getDuedateHigherThan() |
Date |
getDuedateHigherThanOrEqual() |
Date |
getDuedateLowerThan() |
Date |
getDuedateLowerThanOrEqual() |
String |
getExceptionMessage() |
boolean |
getExecutable() |
String |
getExecutionId() |
String |
getId() |
Date |
getNow() |
String |
getProcessDefinitionId() |
String |
getProcessInstanceId() |
boolean |
getRetriesLeft() |
static long |
getSerialversionuid() |
String |
getTenantId() |
String |
getTenantIdLike() |
boolean |
isNoRetriesLeft() |
boolean |
isOnlyMessages() |
boolean |
isOnlyTimers() |
boolean |
isWithException() |
boolean |
isWithoutTenantId() |
TimerJobQueryImpl |
jobId(String jobId)
Only select jobs with the given id
|
TimerJobQueryImpl |
jobTenantId(String tenantId)
Only select jobs that have the given tenant id.
|
TimerJobQueryImpl |
jobTenantIdLike(String tenantIdLike)
Only select jobs with a tenant id like the given one.
|
TimerJobQueryImpl |
jobWithoutTenantId()
Only select jobs that do not have a tenant id.
|
TimerJobQueryImpl |
messages()
Only select jobs that are messages.
|
TimerJobQueryImpl |
noRetriesLeft() |
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.
|
TimerJobQueryImpl |
timers()
Only select jobs that are timers.
|
TimerJobQueryImpl |
withException()
Only select jobs that failed due to an exception.
|
TimerJobQueryImpl |
withRetriesLeft() |
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 retriesLeft
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
protected boolean noRetriesLeft
public TimerJobQueryImpl()
public TimerJobQueryImpl(CommandContext commandContext)
public TimerJobQueryImpl(CommandExecutor commandExecutor)
public TimerJobQueryImpl 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 TimerJobQueryImpl withRetriesLeft()
public TimerJobQueryImpl executable()
TimerJobQueryexecutable in interface TimerJobQuerypublic TimerJobQueryImpl timers()
TimerJobQueryTimerJobQuery.messages()timers in interface TimerJobQuerypublic TimerJobQueryImpl messages()
TimerJobQueryTimerJobQuery.timers()messages in interface TimerJobQuerypublic TimerJobQueryImpl duedateHigherThan(Date date)
TimerJobQueryduedateHigherThan in interface TimerJobQuerypublic TimerJobQueryImpl duedateLowerThan(Date date)
TimerJobQueryduedateLowerThan in interface TimerJobQuerypublic TimerJobQueryImpl duedateHigherThen(Date date)
public TimerJobQueryImpl duedateHigherThenOrEquals(Date date)
public TimerJobQueryImpl duedateLowerThen(Date date)
public TimerJobQueryImpl duedateLowerThenOrEquals(Date date)
public TimerJobQueryImpl noRetriesLeft()
public TimerJobQueryImpl withException()
TimerJobQuerywithException in interface TimerJobQuerypublic TimerJobQueryImpl exceptionMessage(String exceptionMessage)
TimerJobQueryexceptionMessage in interface TimerJobQuerypublic TimerJobQueryImpl jobTenantId(String tenantId)
TimerJobQueryjobTenantId in interface TimerJobQuerypublic TimerJobQueryImpl jobTenantIdLike(String tenantIdLike)
TimerJobQueryjobTenantIdLike in interface TimerJobQuerypublic TimerJobQueryImpl 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,Job>public List<Job> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<TimerJobQuery,Job>page - used if the results must be paged. If null, no paging will be applied.public String getProcessInstanceId()
public String getExecutionId()
public boolean getRetriesLeft()
public boolean getExecutable()
public Date getNow()
public boolean isWithException()
public String getExceptionMessage()
public String getTenantId()
public String getTenantIdLike()
public boolean isWithoutTenantId()
public static long getSerialversionuid()
public String getId()
public String getProcessDefinitionId()
public boolean isOnlyTimers()
public boolean isOnlyMessages()
public Date getDuedateHigherThan()
public Date getDuedateLowerThan()
public Date getDuedateHigherThanOrEqual()
public Date getDuedateLowerThanOrEqual()
public boolean isNoRetriesLeft()
Copyright © 2016 Alfresco. All rights reserved.