public class DeadLetterJobQueryImpl extends AbstractQuery<DeadLetterJobQuery,Job> implements DeadLetterJobQuery, 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 |
|---|
DeadLetterJobQueryImpl() |
DeadLetterJobQueryImpl(CommandContext commandContext) |
DeadLetterJobQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
DeadLetterJobQueryImpl |
duedateHigherThan(Date date)
Only select jobs where the duedate is higher then the given date.
|
DeadLetterJobQueryImpl |
duedateHigherThen(Date date) |
DeadLetterJobQueryImpl |
duedateHigherThenOrEquals(Date date) |
DeadLetterJobQueryImpl |
duedateLowerThan(Date date)
Only select jobs where the duedate is lower than the given date.
|
DeadLetterJobQueryImpl |
duedateLowerThen(Date date) |
DeadLetterJobQueryImpl |
duedateLowerThenOrEquals(Date date) |
DeadLetterJobQueryImpl |
exceptionMessage(String exceptionMessage)
Only select jobs that failed due to an exception with the given message.
|
DeadLetterJobQueryImpl |
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.
|
DeadLetterJobQueryImpl |
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() |
static long |
getSerialversionuid() |
String |
getTenantId() |
String |
getTenantIdLike() |
boolean |
isOnlyMessages() |
boolean |
isOnlyTimers() |
boolean |
isWithException() |
boolean |
isWithoutTenantId() |
DeadLetterJobQueryImpl |
jobId(String jobId)
Only select jobs with the given id
|
DeadLetterJobQueryImpl |
jobTenantId(String tenantId)
Only select jobs that have the given tenant id.
|
DeadLetterJobQueryImpl |
jobTenantIdLike(String tenantIdLike)
Only select jobs with a tenant id like the given one.
|
DeadLetterJobQueryImpl |
jobWithoutTenantId()
Only select jobs that do not have a tenant id.
|
DeadLetterJobQueryImpl |
messages()
Only select jobs that are messages.
|
DeadLetterJobQuery |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc()). |
DeadLetterJobQuery |
orderByJobDuedate()
Order by duedate (needs to be followed by
Query.asc() or Query.desc()). |
DeadLetterJobQuery |
orderByJobId()
Order by job id (needs to be followed by
Query.asc() or Query.desc()). |
DeadLetterJobQuery |
orderByJobRetries()
Order by retries (needs to be followed by
Query.asc() or Query.desc()). |
DeadLetterJobQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc()). |
DeadLetterJobQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
DeadLetterJobQueryImpl |
processDefinitionId(String processDefinitionId)
Only select jobs which exist for the given process definition id
|
DeadLetterJobQueryImpl |
processInstanceId(String processInstanceId)
Only select jobs which exist for the given process instance.
|
DeadLetterJobQueryImpl |
timers()
Only select jobs that are timers.
|
DeadLetterJobQueryImpl |
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 DeadLetterJobQueryImpl()
public DeadLetterJobQueryImpl(CommandContext commandContext)
public DeadLetterJobQueryImpl(CommandExecutor commandExecutor)
public DeadLetterJobQueryImpl jobId(String jobId)
DeadLetterJobQueryjobId in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl processInstanceId(String processInstanceId)
DeadLetterJobQueryprocessInstanceId in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl processDefinitionId(String processDefinitionId)
DeadLetterJobQueryprocessDefinitionId in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl executionId(String executionId)
DeadLetterJobQueryexecutionId in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl executable()
DeadLetterJobQueryexecutable in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl timers()
DeadLetterJobQueryDeadLetterJobQuery.messages()timers in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl messages()
DeadLetterJobQueryDeadLetterJobQuery.timers()messages in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl duedateHigherThan(Date date)
DeadLetterJobQueryduedateHigherThan in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl duedateLowerThan(Date date)
DeadLetterJobQueryduedateLowerThan in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl duedateHigherThen(Date date)
public DeadLetterJobQueryImpl duedateHigherThenOrEquals(Date date)
public DeadLetterJobQueryImpl duedateLowerThen(Date date)
public DeadLetterJobQueryImpl duedateLowerThenOrEquals(Date date)
public DeadLetterJobQueryImpl withException()
DeadLetterJobQuerywithException in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl exceptionMessage(String exceptionMessage)
DeadLetterJobQueryexceptionMessage in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl jobTenantId(String tenantId)
DeadLetterJobQueryjobTenantId in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl jobTenantIdLike(String tenantIdLike)
DeadLetterJobQueryjobTenantIdLike in interface DeadLetterJobQuerypublic DeadLetterJobQueryImpl jobWithoutTenantId()
DeadLetterJobQueryjobWithoutTenantId in interface DeadLetterJobQuerypublic DeadLetterJobQuery orderByJobDuedate()
DeadLetterJobQueryQuery.asc() or Query.desc()).orderByJobDuedate in interface DeadLetterJobQuerypublic DeadLetterJobQuery orderByExecutionId()
DeadLetterJobQueryQuery.asc() or Query.desc()).orderByExecutionId in interface DeadLetterJobQuerypublic DeadLetterJobQuery orderByJobId()
DeadLetterJobQueryQuery.asc() or Query.desc()).orderByJobId in interface DeadLetterJobQuerypublic DeadLetterJobQuery orderByProcessInstanceId()
DeadLetterJobQueryQuery.asc() or Query.desc()).orderByProcessInstanceId in interface DeadLetterJobQuerypublic DeadLetterJobQuery orderByJobRetries()
DeadLetterJobQueryQuery.asc() or Query.desc()).orderByJobRetries in interface DeadLetterJobQuerypublic DeadLetterJobQuery orderByTenantId()
DeadLetterJobQueryQuery.asc() or Query.desc()).orderByTenantId in interface DeadLetterJobQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<DeadLetterJobQuery,Job>public List<Job> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<DeadLetterJobQuery,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()
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()
Copyright © 2010–2018 Alfresco. All rights reserved.