public class SuspendedJobQueryImpl extends AbstractQuery<SuspendedJobQuery,Job> implements SuspendedJobQuery, 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 |
|---|
SuspendedJobQueryImpl() |
SuspendedJobQueryImpl(CommandContext commandContext) |
SuspendedJobQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
SuspendedJobQueryImpl |
duedateHigherThan(Date date)
Only select jobs where the duedate is higher then the given date.
|
SuspendedJobQueryImpl |
duedateHigherThen(Date date) |
SuspendedJobQueryImpl |
duedateHigherThenOrEquals(Date date) |
SuspendedJobQueryImpl |
duedateLowerThan(Date date)
Only select jobs where the duedate is lower than the given date.
|
SuspendedJobQueryImpl |
duedateLowerThen(Date date) |
SuspendedJobQueryImpl |
duedateLowerThenOrEquals(Date date) |
SuspendedJobQueryImpl |
exceptionMessage(String exceptionMessage)
Only select jobs that failed due to an exception with the given message.
|
SuspendedJobQueryImpl |
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.
|
SuspendedJobQueryImpl |
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() |
SuspendedJobQueryImpl |
jobId(String jobId)
Only select jobs with the given id
|
SuspendedJobQueryImpl |
jobTenantId(String tenantId)
Only select jobs that have the given tenant id.
|
SuspendedJobQueryImpl |
jobTenantIdLike(String tenantIdLike)
Only select jobs with a tenant id like the given one.
|
SuspendedJobQueryImpl |
jobWithoutTenantId()
Only select jobs that do not have a tenant id.
|
SuspendedJobQueryImpl |
messages()
Only select jobs that are messages.
|
SuspendedJobQueryImpl |
noRetriesLeft()
Only select jobs which have no retries left
|
SuspendedJobQuery |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc()). |
SuspendedJobQuery |
orderByJobDuedate()
Order by duedate (needs to be followed by
Query.asc() or Query.desc()). |
SuspendedJobQuery |
orderByJobId()
Order by job id (needs to be followed by
Query.asc() or Query.desc()). |
SuspendedJobQuery |
orderByJobRetries()
Order by retries (needs to be followed by
Query.asc() or Query.desc()). |
SuspendedJobQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc()). |
SuspendedJobQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
SuspendedJobQueryImpl |
processDefinitionId(String processDefinitionId)
Only select jobs which exist for the given process definition id
|
SuspendedJobQueryImpl |
processInstanceId(String processInstanceId)
Only select jobs which exist for the given process instance.
|
SuspendedJobQueryImpl |
timers()
Only select jobs that are timers.
|
SuspendedJobQueryImpl |
withException()
Only select jobs that failed due to an exception.
|
SuspendedJobQueryImpl |
withRetriesLeft()
Only select jobs which have retries left
|
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 SuspendedJobQueryImpl()
public SuspendedJobQueryImpl(CommandContext commandContext)
public SuspendedJobQueryImpl(CommandExecutor commandExecutor)
public SuspendedJobQueryImpl jobId(String jobId)
SuspendedJobQueryjobId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl processInstanceId(String processInstanceId)
SuspendedJobQueryprocessInstanceId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl processDefinitionId(String processDefinitionId)
SuspendedJobQueryprocessDefinitionId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl executionId(String executionId)
SuspendedJobQueryexecutionId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl withRetriesLeft()
SuspendedJobQuerywithRetriesLeft in interface SuspendedJobQuerypublic SuspendedJobQueryImpl executable()
SuspendedJobQueryexecutable in interface SuspendedJobQuerypublic SuspendedJobQueryImpl timers()
SuspendedJobQuerySuspendedJobQuery.messages()timers in interface SuspendedJobQuerypublic SuspendedJobQueryImpl messages()
SuspendedJobQuerySuspendedJobQuery.timers()messages in interface SuspendedJobQuerypublic SuspendedJobQueryImpl duedateHigherThan(Date date)
SuspendedJobQueryduedateHigherThan in interface SuspendedJobQuerypublic SuspendedJobQueryImpl duedateLowerThan(Date date)
SuspendedJobQueryduedateLowerThan in interface SuspendedJobQuerypublic SuspendedJobQueryImpl duedateHigherThen(Date date)
public SuspendedJobQueryImpl duedateHigherThenOrEquals(Date date)
public SuspendedJobQueryImpl duedateLowerThen(Date date)
public SuspendedJobQueryImpl duedateLowerThenOrEquals(Date date)
public SuspendedJobQueryImpl noRetriesLeft()
SuspendedJobQuerynoRetriesLeft in interface SuspendedJobQuerypublic SuspendedJobQueryImpl withException()
SuspendedJobQuerywithException in interface SuspendedJobQuerypublic SuspendedJobQueryImpl exceptionMessage(String exceptionMessage)
SuspendedJobQueryexceptionMessage in interface SuspendedJobQuerypublic SuspendedJobQueryImpl jobTenantId(String tenantId)
SuspendedJobQueryjobTenantId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl jobTenantIdLike(String tenantIdLike)
SuspendedJobQueryjobTenantIdLike in interface SuspendedJobQuerypublic SuspendedJobQueryImpl jobWithoutTenantId()
SuspendedJobQueryjobWithoutTenantId in interface SuspendedJobQuerypublic SuspendedJobQuery orderByJobDuedate()
SuspendedJobQueryQuery.asc() or Query.desc()).orderByJobDuedate in interface SuspendedJobQuerypublic SuspendedJobQuery orderByExecutionId()
SuspendedJobQueryQuery.asc() or Query.desc()).orderByExecutionId in interface SuspendedJobQuerypublic SuspendedJobQuery orderByJobId()
SuspendedJobQueryQuery.asc() or Query.desc()).orderByJobId in interface SuspendedJobQuerypublic SuspendedJobQuery orderByProcessInstanceId()
SuspendedJobQueryQuery.asc() or Query.desc()).orderByProcessInstanceId in interface SuspendedJobQuerypublic SuspendedJobQuery orderByJobRetries()
SuspendedJobQueryQuery.asc() or Query.desc()).orderByJobRetries in interface SuspendedJobQuerypublic SuspendedJobQuery orderByTenantId()
SuspendedJobQueryQuery.asc() or Query.desc()).orderByTenantId in interface SuspendedJobQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<SuspendedJobQuery,Job>public List<Job> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<SuspendedJobQuery,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.