public class SuspendedJobQueryImpl extends AbstractQuery<SuspendedJobQuery,Job> implements SuspendedJobQuery, Serializable
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrdercommandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
SuspendedJobQueryImpl() |
SuspendedJobQueryImpl(CommandContext commandContext,
JobServiceConfiguration jobServiceConfiguration) |
SuspendedJobQueryImpl(CommandExecutor commandExecutor,
JobServiceConfiguration jobServiceConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
SuspendedJobQueryImpl |
caseDefinitionId(String caseDefinitionId)
Only select jobs for the given case definition.
|
SuspendedJobQueryImpl |
caseInstanceId(String caseInstanceId)
Only select jobs for the given case instance.
|
SuspendedJobQueryImpl |
category(String category)
Only select jobs which exist for the given category
|
SuspendedJobQueryImpl |
categoryLike(String categoryLike)
Only select jobs like for the given category value
|
SuspendedJobQueryImpl |
correlationId(String correlationId)
Only select jobs with the given correlationId.
|
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 |
elementId(String elementId)
Only select jobs which exist for the given element id
|
SuspendedJobQueryImpl |
elementName(String elementName)
Only select jobs which exist for the given element name
|
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)
Executes the actual query to retrieve the list of results.
|
SuspendedJobQueryImpl |
executionId(String executionId)
Only select jobs which exist for the given execution
|
SuspendedJobQueryImpl |
externalWorkers()
Only select external worker jobs.
|
String |
getCategory() |
String |
getCategoryLike() |
String |
getCorrelationId() |
Date |
getDuedateHigherThan() |
Date |
getDuedateHigherThanOrEqual() |
Date |
getDuedateLowerThan() |
Date |
getDuedateLowerThanOrEqual() |
String |
getElementId() |
String |
getElementName() |
String |
getExceptionMessage() |
boolean |
getExecutable() |
String |
getExecutionId() |
String |
getHandlerType() |
String |
getId() |
Date |
getNow() |
String |
getProcessDefinitionId() |
String |
getProcessInstanceId() |
boolean |
getRetriesLeft() |
String |
getScopeDefinitionId() |
String |
getScopeId() |
String |
getScopeType() |
String |
getSubScopeId() |
String |
getTenantId() |
String |
getTenantIdLike() |
SuspendedJobQueryImpl |
handlerType(String handlerType)
Select jobs which have given job handler type
|
boolean |
isExecutable() |
boolean |
isNoRetriesLeft() |
boolean |
isOnlyExternalWorkers() |
boolean |
isOnlyMessages() |
boolean |
isOnlyTimers() |
boolean |
isRetriesLeft() |
boolean |
isWithException() |
boolean |
isWithoutScopeType() |
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 |
orderByJobCreateTime()
Order by create time (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 |
planItemInstanceId(String planItemInstanceId)
Only select jobs for the given plan item instance.
|
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 |
scopeDefinitionId(String scopeDefinitionId)
Only select jobs for the given scope definition identifier.
|
SuspendedJobQueryImpl |
scopeId(String scopeId)
Only select jobs for the given scope identifier.
|
SuspendedJobQueryImpl |
scopeType(String scopeType)
Only select jobs for the given scope type.
|
SuspendedJobQueryImpl |
subScopeId(String subScopeId)
Only select jobs for the given sub scope identifier.
|
SuspendedJobQueryImpl |
timers()
Only select jobs that are timers.
|
SuspendedJobQueryImpl |
withException()
Only select jobs that failed due to an exception.
|
SuspendedJobQueryImpl |
withoutScopeType()
Only select jobs that do not have a scope type.
|
SuspendedJobQueryImpl |
withRetriesLeft()
Only select jobs which have retries left
|
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterprotected JobServiceConfiguration jobServiceConfiguration
protected String id
protected String processInstanceId
protected String executionId
protected String handlerType
protected String processDefinitionId
protected String category
protected String categoryLike
protected String elementId
protected String elementName
protected String scopeId
protected String subScopeId
protected String scopeType
protected boolean withoutScopeType
protected String scopeDefinitionId
protected String correlationId
protected boolean executable
protected boolean onlyTimers
protected boolean onlyMessages
protected boolean onlyExternalWorkers
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 retriesLeft
protected boolean noRetriesLeft
public SuspendedJobQueryImpl()
public SuspendedJobQueryImpl(CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration)
public SuspendedJobQueryImpl(CommandExecutor commandExecutor, JobServiceConfiguration jobServiceConfiguration)
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 category(String category)
SuspendedJobQuerycategory in interface SuspendedJobQuerypublic SuspendedJobQueryImpl categoryLike(String categoryLike)
SuspendedJobQuerycategoryLike in interface SuspendedJobQuerypublic SuspendedJobQueryImpl elementId(String elementId)
SuspendedJobQueryelementId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl elementName(String elementName)
SuspendedJobQueryelementName in interface SuspendedJobQuerypublic SuspendedJobQueryImpl scopeId(String scopeId)
SuspendedJobQueryscopeId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl subScopeId(String subScopeId)
SuspendedJobQuerysubScopeId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl scopeType(String scopeType)
SuspendedJobQueryscopeType in interface SuspendedJobQuerypublic SuspendedJobQueryImpl withoutScopeType()
SuspendedJobQuerywithoutScopeType in interface SuspendedJobQuerypublic SuspendedJobQueryImpl scopeDefinitionId(String scopeDefinitionId)
SuspendedJobQueryscopeDefinitionId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl caseInstanceId(String caseInstanceId)
SuspendedJobQuerycaseInstanceId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl caseDefinitionId(String caseDefinitionId)
SuspendedJobQuerycaseDefinitionId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl planItemInstanceId(String planItemInstanceId)
SuspendedJobQueryplanItemInstanceId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl correlationId(String correlationId)
SuspendedJobQuerycorrelationId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl executionId(String executionId)
SuspendedJobQueryexecutionId in interface SuspendedJobQuerypublic SuspendedJobQueryImpl handlerType(String handlerType)
SuspendedJobQueryhandlerType in interface SuspendedJobQuerypublic SuspendedJobQueryImpl withRetriesLeft()
SuspendedJobQuerywithRetriesLeft in interface SuspendedJobQuerypublic SuspendedJobQueryImpl executable()
SuspendedJobQueryexecutable in interface SuspendedJobQuerypublic SuspendedJobQueryImpl timers()
SuspendedJobQuerySuspendedJobQuery.messages() or SuspendedJobQuery.externalWorkers()timers in interface SuspendedJobQuerypublic SuspendedJobQueryImpl messages()
SuspendedJobQuerySuspendedJobQuery.timers() or SuspendedJobQuery.externalWorkers()messages in interface SuspendedJobQuerypublic SuspendedJobQueryImpl externalWorkers()
SuspendedJobQuerySuspendedJobQuery.timers() or SuspendedJobQuery.messages()externalWorkers 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 orderByJobCreateTime()
SuspendedJobQueryQuery.asc() or Query.desc()).orderByJobCreateTime 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)
AbstractQueryexecuteList in class AbstractQuery<SuspendedJobQuery,Job>public String getProcessInstanceId()
public String getExecutionId()
public String getHandlerType()
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 String getId()
public String getProcessDefinitionId()
public String getCategory()
public String getCategoryLike()
public String getElementId()
public String getElementName()
public String getScopeId()
public String getSubScopeId()
public String getScopeType()
public boolean isWithoutScopeType()
public String getScopeDefinitionId()
public String getCorrelationId()
public boolean isOnlyTimers()
public boolean isOnlyMessages()
public boolean isOnlyExternalWorkers()
public Date getDuedateHigherThan()
public Date getDuedateLowerThan()
public Date getDuedateHigherThanOrEqual()
public Date getDuedateLowerThanOrEqual()
public boolean isNoRetriesLeft()
public boolean isExecutable()
public boolean isRetriesLeft()
Copyright © 2023 Flowable. All rights reserved.