Package org.flowable.job.service.impl
Class JobQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<JobQuery,Job>
-
- org.flowable.job.service.impl.JobQueryImpl
-
- All Implemented Interfaces:
Serializable,Query<JobQuery,Job>,Command<Object>,BaseJobQuery<JobQuery,Job>,JobQuery
public class JobQueryImpl extends AbstractQuery<JobQuery,Job> implements JobQuery, Serializable
- Author:
- Joram Barrez, Tom Baeyens, Falko Menge
- 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 JobQueryImpl()JobQueryImpl(CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration)JobQueryImpl(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
-
scopeDefinitionId
protected String scopeDefinitionId
-
correlationId
protected String correlationId
-
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
-
withoutScopeType
protected boolean withoutScopeType
-
lockOwner
protected String lockOwner
-
onlyLocked
protected boolean onlyLocked
-
onlyUnlocked
protected boolean onlyUnlocked
-
-
Constructor Detail
-
JobQueryImpl
public JobQueryImpl()
-
JobQueryImpl
public JobQueryImpl(CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration)
-
JobQueryImpl
public JobQueryImpl(CommandExecutor commandExecutor, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
jobId
public JobQuery jobId(String jobId)
- Specified by:
jobIdin interfaceBaseJobQuery<JobQuery,Job>
-
jobIds
public JobQuery jobIds(Collection<String> jobIds)
- Specified by:
jobIdsin interfaceBaseJobQuery<JobQuery,Job>
-
processInstanceId
public JobQueryImpl processInstanceId(String processInstanceId)
- Specified by:
processInstanceIdin interfaceBaseJobQuery<JobQuery,Job>
-
withoutProcessInstanceId
public JobQuery withoutProcessInstanceId()
- Specified by:
withoutProcessInstanceIdin interfaceBaseJobQuery<JobQuery,Job>
-
processDefinitionId
public JobQueryImpl processDefinitionId(String processDefinitionId)
- Specified by:
processDefinitionIdin interfaceBaseJobQuery<JobQuery,Job>
-
category
public JobQueryImpl category(String category)
- Specified by:
categoryin interfaceBaseJobQuery<JobQuery,Job>
-
categoryLike
public JobQueryImpl categoryLike(String categoryLike)
- Specified by:
categoryLikein interfaceBaseJobQuery<JobQuery,Job>
-
elementId
public JobQueryImpl elementId(String elementId)
- Specified by:
elementIdin interfaceBaseJobQuery<JobQuery,Job>
-
elementName
public JobQueryImpl elementName(String elementName)
- Specified by:
elementNamein interfaceBaseJobQuery<JobQuery,Job>
-
scopeId
public JobQueryImpl scopeId(String scopeId)
- Specified by:
scopeIdin interfaceBaseJobQuery<JobQuery,Job>
-
withoutScopeId
public JobQuery withoutScopeId()
- Specified by:
withoutScopeIdin interfaceBaseJobQuery<JobQuery,Job>
-
subScopeId
public JobQueryImpl subScopeId(String subScopeId)
- Specified by:
subScopeIdin interfaceBaseJobQuery<JobQuery,Job>
-
scopeType
public JobQueryImpl scopeType(String scopeType)
- Specified by:
scopeTypein interfaceBaseJobQuery<JobQuery,Job>
-
scopeDefinitionId
public JobQueryImpl scopeDefinitionId(String scopeDefinitionId)
- Specified by:
scopeDefinitionIdin interfaceBaseJobQuery<JobQuery,Job>
-
caseInstanceId
public JobQueryImpl caseInstanceId(String caseInstanceId)
- Specified by:
caseInstanceIdin interfaceBaseJobQuery<JobQuery,Job>
-
caseDefinitionId
public JobQueryImpl caseDefinitionId(String caseDefinitionId)
- Specified by:
caseDefinitionIdin interfaceBaseJobQuery<JobQuery,Job>
-
planItemInstanceId
public JobQueryImpl planItemInstanceId(String planItemInstanceId)
- Specified by:
planItemInstanceIdin interfaceBaseJobQuery<JobQuery,Job>
-
correlationId
public JobQueryImpl correlationId(String correlationId)
- Specified by:
correlationIdin interfaceBaseJobQuery<JobQuery,Job>
-
executionId
public JobQueryImpl executionId(String executionId)
- Specified by:
executionIdin interfaceBaseJobQuery<JobQuery,Job>
-
handlerType
public JobQueryImpl handlerType(String handlerType)
- Specified by:
handlerTypein interfaceBaseJobQuery<JobQuery,Job>
-
handlerTypes
public JobQuery handlerTypes(Collection<String> handlerTypes)
- Specified by:
handlerTypesin interfaceBaseJobQuery<JobQuery,Job>
-
duedateHigherThan
public JobQuery duedateHigherThan(Date date)
- Specified by:
duedateHigherThanin interfaceBaseJobQuery<JobQuery,Job>
-
duedateLowerThan
public JobQuery duedateLowerThan(Date date)
- Specified by:
duedateLowerThanin interfaceBaseJobQuery<JobQuery,Job>
-
withException
public JobQuery withException()
- Specified by:
withExceptionin interfaceBaseJobQuery<JobQuery,Job>
-
exceptionMessage
public JobQuery exceptionMessage(String exceptionMessage)
- Specified by:
exceptionMessagein interfaceBaseJobQuery<JobQuery,Job>
-
jobTenantId
public JobQuery jobTenantId(String tenantId)
- Specified by:
jobTenantIdin interfaceBaseJobQuery<JobQuery,Job>
-
jobTenantIdLike
public JobQuery jobTenantIdLike(String tenantIdLike)
- Specified by:
jobTenantIdLikein interfaceBaseJobQuery<JobQuery,Job>
-
jobWithoutTenantId
public JobQuery jobWithoutTenantId()
- Specified by:
jobWithoutTenantIdin interfaceBaseJobQuery<JobQuery,Job>
-
withoutScopeType
public JobQuery withoutScopeType()
- Specified by:
withoutScopeTypein interfaceBaseJobQuery<JobQuery,Job>
-
orderByJobDuedate
public JobQuery orderByJobDuedate()
- Specified by:
orderByJobDuedatein interfaceBaseJobQuery<JobQuery,Job>
-
orderByJobCreateTime
public JobQuery orderByJobCreateTime()
- Specified by:
orderByJobCreateTimein interfaceBaseJobQuery<JobQuery,Job>
-
orderByExecutionId
public JobQuery orderByExecutionId()
- Specified by:
orderByExecutionIdin interfaceBaseJobQuery<JobQuery,Job>
-
orderByJobId
public JobQuery orderByJobId()
- Specified by:
orderByJobIdin interfaceBaseJobQuery<JobQuery,Job>
-
orderByProcessInstanceId
public JobQuery orderByProcessInstanceId()
- Specified by:
orderByProcessInstanceIdin interfaceBaseJobQuery<JobQuery,Job>
-
orderByJobRetries
public JobQuery orderByJobRetries()
- Specified by:
orderByJobRetriesin interfaceBaseJobQuery<JobQuery,Job>
-
orderByTenantId
public JobQuery orderByTenantId()
- Specified by:
orderByTenantIdin interfaceBaseJobQuery<JobQuery,Job>
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<JobQuery,Job>
-
executeList
public List<Job> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<JobQuery,Job>
-
getProcessInstanceId
public String getProcessInstanceId()
-
isWithoutProcessInstanceId
public boolean isWithoutProcessInstanceId()
-
getExecutionId
public String getExecutionId()
-
getHandlerType
public String getHandlerType()
-
getHandlerTypes
public Collection<String> getHandlerTypes()
-
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()
-
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()
-
getLockOwner
public String getLockOwner()
-
isOnlyLocked
public boolean isOnlyLocked()
-
isOnlyUnlocked
public boolean isOnlyUnlocked()
-
isWithoutScopeType
public boolean isWithoutScopeType()
-
-