Package org.flowable.job.service.impl
Class HistoryJobQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<HistoryJobQuery,HistoryJob>
-
- org.flowable.job.service.impl.HistoryJobQueryImpl
-
- All Implemented Interfaces:
Serializable,Query<HistoryJobQuery,HistoryJob>,Command<Object>,HistoryJobQuery
public class HistoryJobQueryImpl extends AbstractQuery<HistoryJobQuery,HistoryJob> implements HistoryJobQuery, 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 Modifier and Type Field Description protected StringexceptionMessageprotected StringhandlerTypeprotected Collection<String>handlerTypesprotected Stringidprotected JobServiceConfigurationjobServiceConfigurationprotected StringlockOwnerprotected booleanonlyLockedprotected booleanonlyUnlockedprotected StringscopeTypeprotected StringtenantIdprotected StringtenantIdLikeprotected booleanwithExceptionprotected booleanwithoutScopeTypeprotected booleanwithoutTenantId-
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 HistoryJobQueryImpl()HistoryJobQueryImpl(CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration)HistoryJobQueryImpl(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
-
handlerType
protected String handlerType
-
handlerTypes
protected Collection<String> handlerTypes
-
withException
protected boolean withException
-
exceptionMessage
protected String exceptionMessage
-
scopeType
protected String scopeType
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
lockOwner
protected String lockOwner
-
onlyLocked
protected boolean onlyLocked
-
onlyUnlocked
protected boolean onlyUnlocked
-
withoutScopeType
protected boolean withoutScopeType
-
-
Constructor Detail
-
HistoryJobQueryImpl
public HistoryJobQueryImpl()
-
HistoryJobQueryImpl
public HistoryJobQueryImpl(CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration)
-
HistoryJobQueryImpl
public HistoryJobQueryImpl(CommandExecutor commandExecutor, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
jobId
public HistoryJobQuery jobId(String jobId)
- Specified by:
jobIdin interfaceHistoryJobQuery
-
handlerType
public HistoryJobQuery handlerType(String handlerType)
- Specified by:
handlerTypein interfaceHistoryJobQuery
-
handlerTypes
public HistoryJobQuery handlerTypes(Collection<String> handlerTypes)
- Specified by:
handlerTypesin interfaceHistoryJobQuery
-
withException
public HistoryJobQuery withException()
- Specified by:
withExceptionin interfaceHistoryJobQuery
-
exceptionMessage
public HistoryJobQuery exceptionMessage(String exceptionMessage)
- Specified by:
exceptionMessagein interfaceHistoryJobQuery
-
scopeType
public HistoryJobQuery scopeType(String scopeType)
- Specified by:
scopeTypein interfaceHistoryJobQuery
-
jobTenantId
public HistoryJobQuery jobTenantId(String tenantId)
- Specified by:
jobTenantIdin interfaceHistoryJobQuery
-
jobTenantIdLike
public HistoryJobQuery jobTenantIdLike(String tenantIdLike)
- Specified by:
jobTenantIdLikein interfaceHistoryJobQuery
-
jobWithoutTenantId
public HistoryJobQuery jobWithoutTenantId()
- Specified by:
jobWithoutTenantIdin interfaceHistoryJobQuery
-
lockOwner
public HistoryJobQuery lockOwner(String lockOwner)
- Specified by:
lockOwnerin interfaceHistoryJobQuery
-
locked
public HistoryJobQuery locked()
- Specified by:
lockedin interfaceHistoryJobQuery
-
unlocked
public HistoryJobQuery unlocked()
- Specified by:
unlockedin interfaceHistoryJobQuery
-
withoutScopeType
public HistoryJobQuery withoutScopeType()
- Specified by:
withoutScopeTypein interfaceHistoryJobQuery
-
orderByJobId
public HistoryJobQuery orderByJobId()
- Specified by:
orderByJobIdin interfaceHistoryJobQuery
-
orderByJobRetries
public HistoryJobQuery orderByJobRetries()
- Specified by:
orderByJobRetriesin interfaceHistoryJobQuery
-
orderByTenantId
public HistoryJobQuery orderByTenantId()
- Specified by:
orderByTenantIdin interfaceHistoryJobQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<HistoryJobQuery,HistoryJob>
-
executeList
public List<HistoryJob> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<HistoryJobQuery,HistoryJob>
-
getHandlerType
public String getHandlerType()
-
getNow
public Date getNow()
-
isWithException
public boolean isWithException()
-
getExceptionMessage
public String getExceptionMessage()
-
getScopeType
public String getScopeType()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
getSerialversionuid
public static long getSerialversionuid()
-
getId
public String getId()
-
getLockOwner
public String getLockOwner()
-
isOnlyLocked
public boolean isOnlyLocked()
-
isOnlyUnlocked
public boolean isOnlyUnlocked()
-
isWithoutScopeType
public boolean isWithoutScopeType()
-
-