Package org.activiti.engine.impl
Class DeadLetterJobQueryImpl
java.lang.Object
org.activiti.engine.impl.db.ListQueryParameterObject
org.activiti.engine.impl.AbstractQuery<DeadLetterJobQuery,Job>
org.activiti.engine.impl.DeadLetterJobQueryImpl
- All Implemented Interfaces:
Serializable,Command<Object>,Query<DeadLetterJobQuery,,Job> DeadLetterJobQuery
public class DeadLetterJobQueryImpl
extends AbstractQuery<DeadLetterJobQuery,Job>
implements DeadLetterJobQuery, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.activiti.engine.impl.AbstractQuery
AbstractQuery.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Dateprotected Dateprotected Dateprotected Dateprotected Stringprotected booleanprotected Stringprotected Stringprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanFields inherited from class org.activiti.engine.impl.AbstractQuery
commandContext, commandExecutor, databaseType, nullHandlingOnOrder, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCFields inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
firstResult, maxResults, parameter -
Constructor Summary
ConstructorsConstructorDescriptionDeadLetterJobQueryImpl(CommandContext commandContext) DeadLetterJobQueryImpl(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionduedateHigherThan(Date date) Only select jobs where the duedate is higher then the given date.duedateHigherThen(Date date) duedateLowerThan(Date date) Only select jobs where the duedate is lower than the given date.duedateLowerThen(Date date) duedateLowerThenOrEquals(Date date) exceptionMessage(String exceptionMessage) Only select jobs that failed due to an exception with the given message.Only select jobs which are executable, ie.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.executionId(String executionId) Only select jobs which exist for the given executionbooleangetId()getNow()static longbooleanbooleanbooleanbooleanOnly select jobs with the given idjobTenantId(String tenantId) Only select jobs that have the given tenant id.jobTenantIdLike(String tenantIdLike) Only select jobs with a tenant id like the given one.Only select jobs that do not have a tenant id.messages()Only select jobs that are messages.Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).Order by duedate (needs to be followed byQuery.asc()orQuery.desc()).Order by job id (needs to be followed byQuery.asc()orQuery.desc()).Order by retries (needs to be followed byQuery.asc()orQuery.desc()).Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).processDefinitionId(String processDefinitionId) Only select jobs which exist for the given process definition idprocessInstanceId(String processInstanceId) Only select jobs which exist for the given process instance.timers()Only select jobs that are timers.Only select jobs that failed due to an exception.Methods inherited from class org.activiti.engine.impl.AbstractQuery
addOrder, asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getDatabaseType, getOrderBy, getOrderByColumns, list, listPage, orderBy, orderBy, setCommandExecutor, setDatabaseType, singleResultMethods inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setFirstResult, setMaxResults, setParameter
-
Field Details
-
id
-
processInstanceId
-
executionId
-
processDefinitionId
-
executable
protected boolean executable -
onlyTimers
protected boolean onlyTimers -
onlyMessages
protected boolean onlyMessages -
duedateHigherThan
-
duedateLowerThan
-
duedateHigherThanOrEqual
-
duedateLowerThanOrEqual
-
withException
protected boolean withException -
exceptionMessage
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
-
Constructor Details
-
DeadLetterJobQueryImpl
public DeadLetterJobQueryImpl() -
DeadLetterJobQueryImpl
-
DeadLetterJobQueryImpl
-
-
Method Details
-
jobId
Description copied from interface:DeadLetterJobQueryOnly select jobs with the given id- Specified by:
jobIdin interfaceDeadLetterJobQuery
-
processInstanceId
Description copied from interface:DeadLetterJobQueryOnly select jobs which exist for the given process instance.- Specified by:
processInstanceIdin interfaceDeadLetterJobQuery
-
processDefinitionId
Description copied from interface:DeadLetterJobQueryOnly select jobs which exist for the given process definition id- Specified by:
processDefinitionIdin interfaceDeadLetterJobQuery
-
executionId
Description copied from interface:DeadLetterJobQueryOnly select jobs which exist for the given execution- Specified by:
executionIdin interfaceDeadLetterJobQuery
-
executable
Description copied from interface:DeadLetterJobQueryOnly select jobs which are executable, ie. duedate is null or duedate is in the past- Specified by:
executablein interfaceDeadLetterJobQuery
-
timers
Description copied from interface:DeadLetterJobQueryOnly select jobs that are timers. Cannot be used together withDeadLetterJobQuery.messages()- Specified by:
timersin interfaceDeadLetterJobQuery
-
messages
Description copied from interface:DeadLetterJobQueryOnly select jobs that are messages. Cannot be used together withDeadLetterJobQuery.timers()- Specified by:
messagesin interfaceDeadLetterJobQuery
-
duedateHigherThan
Description copied from interface:DeadLetterJobQueryOnly select jobs where the duedate is higher then the given date.- Specified by:
duedateHigherThanin interfaceDeadLetterJobQuery
-
duedateLowerThan
Description copied from interface:DeadLetterJobQueryOnly select jobs where the duedate is lower than the given date.- Specified by:
duedateLowerThanin interfaceDeadLetterJobQuery
-
duedateHigherThen
-
duedateHigherThenOrEquals
-
duedateLowerThen
-
duedateLowerThenOrEquals
-
withException
Description copied from interface:DeadLetterJobQueryOnly select jobs that failed due to an exception.- Specified by:
withExceptionin interfaceDeadLetterJobQuery
-
exceptionMessage
Description copied from interface:DeadLetterJobQueryOnly select jobs that failed due to an exception with the given message.- Specified by:
exceptionMessagein interfaceDeadLetterJobQuery
-
jobTenantId
Description copied from interface:DeadLetterJobQueryOnly select jobs that have the given tenant id.- Specified by:
jobTenantIdin interfaceDeadLetterJobQuery
-
jobTenantIdLike
Description copied from interface:DeadLetterJobQueryOnly select jobs with a tenant id like the given one.- Specified by:
jobTenantIdLikein interfaceDeadLetterJobQuery
-
jobWithoutTenantId
Description copied from interface:DeadLetterJobQueryOnly select jobs that do not have a tenant id.- Specified by:
jobWithoutTenantIdin interfaceDeadLetterJobQuery
-
orderByJobDuedate
Description copied from interface:DeadLetterJobQueryOrder by duedate (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByJobDuedatein interfaceDeadLetterJobQuery
-
orderByExecutionId
Description copied from interface:DeadLetterJobQueryOrder by execution id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByExecutionIdin interfaceDeadLetterJobQuery
-
orderByJobId
Description copied from interface:DeadLetterJobQueryOrder by job id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByJobIdin interfaceDeadLetterJobQuery
-
orderByProcessInstanceId
Description copied from interface:DeadLetterJobQueryOrder by process instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceDeadLetterJobQuery
-
orderByJobRetries
Description copied from interface:DeadLetterJobQueryOrder by retries (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByJobRetriesin interfaceDeadLetterJobQuery
-
orderByTenantId
Description copied from interface:DeadLetterJobQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceDeadLetterJobQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<DeadLetterJobQuery,Job>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<DeadLetterJobQuery,Job> page- used if the results must be paged. If null, no paging will be applied.
-
getProcessInstanceId
-
getExecutionId
-
getExecutable
public boolean getExecutable() -
getNow
-
isWithException
public boolean isWithException() -
getExceptionMessage
-
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getSerialversionuid
public static long getSerialversionuid() -
getId
-
getProcessDefinitionId
-
isOnlyTimers
public boolean isOnlyTimers() -
isOnlyMessages
public boolean isOnlyMessages() -
getDuedateHigherThan
-
getDuedateLowerThan
-
getDuedateHigherThanOrEqual
-
getDuedateLowerThanOrEqual
-