Package org.flowable.job.service.impl
Class TimerJobQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<TimerJobQuery,Job>
-
- org.flowable.job.service.impl.TimerJobQueryImpl
-
- All Implemented Interfaces:
Serializable,Query<TimerJobQuery,Job>,Command<Object>,BaseJobQuery<TimerJobQuery,Job>,TimerJobQuery
public class TimerJobQueryImpl extends AbstractQuery<TimerJobQuery,Job> implements TimerJobQuery, Serializable
- Author:
- Joram Barrez, Tijs Rademakers
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
-
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
-
Field Summary
-
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
-
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
-
Constructor Summary
Constructors Constructor Description TimerJobQueryImpl()TimerJobQueryImpl(CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration)TimerJobQueryImpl(CommandExecutor commandExecutor, JobServiceConfiguration jobServiceConfiguration)
-
Method Summary
-
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
-
Methods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
-
-
-
-
Field Detail
-
jobServiceConfiguration
protected JobServiceConfiguration jobServiceConfiguration
-
id
protected String id
-
jobIds
protected Collection<String> jobIds
-
processInstanceId
protected String processInstanceId
-
withoutProcessInstanceId
protected boolean withoutProcessInstanceId
-
executionId
protected String executionId
-
handlerType
protected String handlerType
-
handlerTypes
protected Collection<String> handlerTypes
-
processDefinitionId
protected String processDefinitionId
-
category
protected String category
-
categoryLike
protected String categoryLike
-
elementId
protected String elementId
-
elementName
protected String elementName
-
scopeId
protected String scopeId
-
withoutScopeId
protected boolean withoutScopeId
-
subScopeId
protected String subScopeId
-
scopeType
protected String scopeType
-
withoutScopeType
protected boolean withoutScopeType
-
scopeDefinitionId
protected String scopeDefinitionId
-
correlationId
protected String correlationId
-
executable
protected boolean executable
-
onlyTimers
protected boolean onlyTimers
-
onlyMessages
protected boolean onlyMessages
-
duedateHigherThan
protected Date duedateHigherThan
-
duedateLowerThan
protected Date duedateLowerThan
-
duedateHigherThanOrEqual
protected Date duedateHigherThanOrEqual
-
duedateLowerThanOrEqual
protected Date duedateLowerThanOrEqual
-
withException
protected boolean withException
-
exceptionMessage
protected String exceptionMessage
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
-
Constructor Detail
-
TimerJobQueryImpl
public TimerJobQueryImpl()
-
TimerJobQueryImpl
public TimerJobQueryImpl(CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration)
-
TimerJobQueryImpl
public TimerJobQueryImpl(CommandExecutor commandExecutor, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
jobId
public TimerJobQueryImpl jobId(String jobId)
- Specified by:
jobIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
jobIds
public TimerJobQuery jobIds(Collection<String> jobIds)
- Specified by:
jobIdsin interfaceBaseJobQuery<TimerJobQuery,Job>
-
processInstanceId
public TimerJobQueryImpl processInstanceId(String processInstanceId)
- Specified by:
processInstanceIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
withoutProcessInstanceId
public TimerJobQueryImpl withoutProcessInstanceId()
- Specified by:
withoutProcessInstanceIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
processDefinitionId
public TimerJobQueryImpl processDefinitionId(String processDefinitionId)
- Specified by:
processDefinitionIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
category
public TimerJobQueryImpl category(String category)
- Specified by:
categoryin interfaceBaseJobQuery<TimerJobQuery,Job>
-
categoryLike
public TimerJobQueryImpl categoryLike(String categoryLike)
- Specified by:
categoryLikein interfaceBaseJobQuery<TimerJobQuery,Job>
-
elementId
public TimerJobQueryImpl elementId(String elementId)
- Specified by:
elementIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
elementName
public TimerJobQueryImpl elementName(String elementName)
- Specified by:
elementNamein interfaceBaseJobQuery<TimerJobQuery,Job>
-
scopeId
public TimerJobQueryImpl scopeId(String scopeId)
- Specified by:
scopeIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
withoutScopeId
public TimerJobQueryImpl withoutScopeId()
- Specified by:
withoutScopeIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
subScopeId
public TimerJobQueryImpl subScopeId(String subScopeId)
- Specified by:
subScopeIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
scopeType
public TimerJobQueryImpl scopeType(String scopeType)
- Specified by:
scopeTypein interfaceBaseJobQuery<TimerJobQuery,Job>
-
withoutScopeType
public TimerJobQueryImpl withoutScopeType()
- Specified by:
withoutScopeTypein interfaceBaseJobQuery<TimerJobQuery,Job>
-
scopeDefinitionId
public TimerJobQueryImpl scopeDefinitionId(String scopeDefinitionId)
- Specified by:
scopeDefinitionIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
caseInstanceId
public TimerJobQueryImpl caseInstanceId(String caseInstanceId)
- Specified by:
caseInstanceIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
caseDefinitionId
public TimerJobQueryImpl caseDefinitionId(String caseDefinitionId)
- Specified by:
caseDefinitionIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
planItemInstanceId
public TimerJobQueryImpl planItemInstanceId(String planItemInstanceId)
- Specified by:
planItemInstanceIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
correlationId
public TimerJobQueryImpl correlationId(String correlationId)
- Specified by:
correlationIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
executionId
public TimerJobQueryImpl executionId(String executionId)
- Specified by:
executionIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
handlerType
public TimerJobQueryImpl handlerType(String handlerType)
- Specified by:
handlerTypein interfaceBaseJobQuery<TimerJobQuery,Job>- Specified by:
handlerTypein interfaceTimerJobQuery
-
handlerTypes
public TimerJobQuery handlerTypes(Collection<String> handlerTypes)
- Specified by:
handlerTypesin interfaceBaseJobQuery<TimerJobQuery,Job>
-
executable
public TimerJobQueryImpl executable()
- Specified by:
executablein interfaceTimerJobQuery
-
timers
public TimerJobQueryImpl timers()
- Specified by:
timersin interfaceTimerJobQuery
-
messages
public TimerJobQueryImpl messages()
- Specified by:
messagesin interfaceTimerJobQuery
-
duedateHigherThan
public TimerJobQueryImpl duedateHigherThan(Date date)
- Specified by:
duedateHigherThanin interfaceBaseJobQuery<TimerJobQuery,Job>
-
duedateLowerThan
public TimerJobQueryImpl duedateLowerThan(Date date)
- Specified by:
duedateLowerThanin interfaceBaseJobQuery<TimerJobQuery,Job>
-
withException
public TimerJobQueryImpl withException()
- Specified by:
withExceptionin interfaceBaseJobQuery<TimerJobQuery,Job>
-
exceptionMessage
public TimerJobQueryImpl exceptionMessage(String exceptionMessage)
- Specified by:
exceptionMessagein interfaceBaseJobQuery<TimerJobQuery,Job>
-
jobTenantId
public TimerJobQueryImpl jobTenantId(String tenantId)
- Specified by:
jobTenantIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
jobTenantIdLike
public TimerJobQueryImpl jobTenantIdLike(String tenantIdLike)
- Specified by:
jobTenantIdLikein interfaceBaseJobQuery<TimerJobQuery,Job>
-
jobWithoutTenantId
public TimerJobQueryImpl jobWithoutTenantId()
- Specified by:
jobWithoutTenantIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
orderByJobDuedate
public TimerJobQuery orderByJobDuedate()
- Specified by:
orderByJobDuedatein interfaceBaseJobQuery<TimerJobQuery,Job>
-
orderByJobCreateTime
public TimerJobQuery orderByJobCreateTime()
- Specified by:
orderByJobCreateTimein interfaceBaseJobQuery<TimerJobQuery,Job>
-
orderByExecutionId
public TimerJobQuery orderByExecutionId()
- Specified by:
orderByExecutionIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
orderByJobId
public TimerJobQuery orderByJobId()
- Specified by:
orderByJobIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
orderByProcessInstanceId
public TimerJobQuery orderByProcessInstanceId()
- Specified by:
orderByProcessInstanceIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
orderByJobRetries
public TimerJobQuery orderByJobRetries()
- Specified by:
orderByJobRetriesin interfaceBaseJobQuery<TimerJobQuery,Job>
-
orderByTenantId
public TimerJobQuery orderByTenantId()
- Specified by:
orderByTenantIdin interfaceBaseJobQuery<TimerJobQuery,Job>
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<TimerJobQuery,Job>
-
executeList
public List<Job> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<TimerJobQuery,Job>
-
getProcessInstanceId
public String getProcessInstanceId()
-
isWithoutProcessInstanceId
public boolean isWithoutProcessInstanceId()
-
getExecutionId
public String getExecutionId()
-
getHandlerType
public String getHandlerType()
-
getExecutable
public boolean getExecutable()
-
getNow
public Date getNow()
-
isWithException
public boolean isWithException()
-
getExceptionMessage
public String getExceptionMessage()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
getId
public String getId()
-
getProcessDefinitionId
public String getProcessDefinitionId()
-
getCategory
public String getCategory()
-
getCategoryLike
public String getCategoryLike()
-
getElementId
public String getElementId()
-
getElementName
public String getElementName()
-
getScopeId
public String getScopeId()
-
isWithoutScopeId
public boolean isWithoutScopeId()
-
getSubScopeId
public String getSubScopeId()
-
getScopeType
public String getScopeType()
-
isWithoutScopeType
public boolean isWithoutScopeType()
-
getScopeDefinitionId
public String getScopeDefinitionId()
-
getCorrelationId
public String getCorrelationId()
-
isOnlyTimers
public boolean isOnlyTimers()
-
isOnlyMessages
public boolean isOnlyMessages()
-
getDuedateHigherThan
public Date getDuedateHigherThan()
-
getDuedateLowerThan
public Date getDuedateLowerThan()
-
getDuedateHigherThanOrEqual
public Date getDuedateHigherThanOrEqual()
-
getDuedateLowerThanOrEqual
public Date getDuedateLowerThanOrEqual()
-
isExecutable
public boolean isExecutable()
-
-