public class TimerJobQueryImpl extends AbstractQuery<TimerJobQuery,Job> implements TimerJobQuery, Serializable
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
category |
protected String |
categoryLike |
protected String |
correlationId |
protected Date |
duedateHigherThan |
protected Date |
duedateHigherThanOrEqual |
protected Date |
duedateLowerThan |
protected Date |
duedateLowerThanOrEqual |
protected String |
elementId |
protected String |
elementName |
protected String |
exceptionMessage |
protected boolean |
executable |
protected String |
executionId |
protected String |
handlerType |
protected String |
id |
protected JobServiceConfiguration |
jobServiceConfiguration |
protected boolean |
onlyMessages |
protected boolean |
onlyTimers |
protected String |
processDefinitionId |
protected String |
processInstanceId |
protected String |
scopeDefinitionId |
protected String |
scopeId |
protected String |
scopeType |
protected String |
subScopeId |
protected String |
tenantId |
protected String |
tenantIdLike |
protected boolean |
withException |
protected boolean |
withoutScopeType |
protected boolean |
withoutTenantId |
commandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
TimerJobQueryImpl() |
TimerJobQueryImpl(CommandContext commandContext,
JobServiceConfiguration jobServiceConfiguration) |
TimerJobQueryImpl(CommandExecutor commandExecutor,
JobServiceConfiguration jobServiceConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
TimerJobQueryImpl |
caseDefinitionId(String caseDefinitionId)
Only select jobs for the given case definition.
|
TimerJobQueryImpl |
caseInstanceId(String caseInstanceId)
Only select jobs for the given case instance.
|
TimerJobQueryImpl |
category(String category)
Only select jobs which exist for the given category
|
TimerJobQueryImpl |
categoryLike(String categoryLike)
Only select jobs like for the given category value
|
TimerJobQueryImpl |
correlationId(String correlationId)
Only select jobs with the given correlationId.
|
TimerJobQueryImpl |
duedateHigherThan(Date date)
Only select jobs where the duedate is higher then the given date.
|
TimerJobQueryImpl |
duedateLowerThan(Date date)
Only select jobs where the duedate is lower than the given date.
|
TimerJobQueryImpl |
elementId(String elementId)
Only select jobs which exist for the given element id
|
TimerJobQueryImpl |
elementName(String elementName)
Only select jobs which exist for the given element name
|
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)
Executes the actual query to retrieve the list of results.
|
TimerJobQueryImpl |
executionId(String executionId)
Only select jobs which exist for the given execution
|
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() |
String |
getScopeDefinitionId() |
String |
getScopeId() |
String |
getScopeType() |
String |
getSubScopeId() |
String |
getTenantId() |
String |
getTenantIdLike() |
TimerJobQueryImpl |
handlerType(String handlerType)
Select jobs which have given job handler type
|
boolean |
isExecutable() |
boolean |
isOnlyMessages() |
boolean |
isOnlyTimers() |
boolean |
isWithException() |
boolean |
isWithoutScopeType() |
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.
|
TimerJobQuery |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc()). |
TimerJobQuery |
orderByJobCreateTime()
Order by create time (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 |
planItemInstanceId(String planItemInstanceId)
Only select jobs for the given plan item instance.
|
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 |
scopeDefinitionId(String scopeDefinitionId)
Only select tasks for the given scope definition identifier.
|
TimerJobQueryImpl |
scopeId(String scopeId)
Only select jobs for the given scope identifier.
|
TimerJobQueryImpl |
scopeType(String scopeType)
Only select jobs for the given scope type.
|
TimerJobQueryImpl |
subScopeId(String subScopeId)
Only select jobs for the given sub scope identifier.
|
TimerJobQueryImpl |
timers()
Only select jobs that are timers.
|
TimerJobQueryImpl |
withException()
Only select jobs that failed due to an exception.
|
TimerJobQueryImpl |
withoutScopeType()
Only return jobs that do not have a scope type.
|
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 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, JobServiceConfiguration jobServiceConfiguration)
public TimerJobQueryImpl(CommandExecutor commandExecutor, JobServiceConfiguration jobServiceConfiguration)
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 category(String category)
TimerJobQuerycategory in interface TimerJobQuerypublic TimerJobQueryImpl categoryLike(String categoryLike)
TimerJobQuerycategoryLike in interface TimerJobQuerypublic TimerJobQueryImpl elementId(String elementId)
TimerJobQueryelementId in interface TimerJobQuerypublic TimerJobQueryImpl elementName(String elementName)
TimerJobQueryelementName in interface TimerJobQuerypublic TimerJobQueryImpl scopeId(String scopeId)
TimerJobQueryscopeId in interface TimerJobQuerypublic TimerJobQueryImpl subScopeId(String subScopeId)
TimerJobQuerysubScopeId in interface TimerJobQuerypublic TimerJobQueryImpl scopeType(String scopeType)
TimerJobQueryscopeType in interface TimerJobQuerypublic TimerJobQueryImpl withoutScopeType()
TimerJobQuerywithoutScopeType in interface TimerJobQuerypublic TimerJobQueryImpl scopeDefinitionId(String scopeDefinitionId)
TimerJobQueryscopeDefinitionId in interface TimerJobQuerypublic TimerJobQueryImpl caseInstanceId(String caseInstanceId)
TimerJobQuerycaseInstanceId in interface TimerJobQuerypublic TimerJobQueryImpl caseDefinitionId(String caseDefinitionId)
TimerJobQuerycaseDefinitionId in interface TimerJobQuerypublic TimerJobQueryImpl planItemInstanceId(String planItemInstanceId)
TimerJobQueryplanItemInstanceId in interface TimerJobQuerypublic TimerJobQueryImpl correlationId(String correlationId)
TimerJobQuerycorrelationId in interface TimerJobQuerypublic TimerJobQueryImpl executionId(String executionId)
TimerJobQueryexecutionId in interface TimerJobQuerypublic TimerJobQueryImpl handlerType(String handlerType)
TimerJobQueryhandlerType in interface TimerJobQuerypublic 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 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 orderByJobCreateTime()
TimerJobQueryQuery.asc() or Query.desc()).orderByJobCreateTime 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)
AbstractQueryexecuteList in class AbstractQuery<TimerJobQuery,Job>public String getProcessInstanceId()
public String getExecutionId()
public String getHandlerType()
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 Date getDuedateHigherThan()
public Date getDuedateLowerThan()
public Date getDuedateHigherThanOrEqual()
public Date getDuedateLowerThanOrEqual()
public boolean isExecutable()
Copyright © 2023 Flowable. All rights reserved.