Package org.activiti.engine.impl
Class HistoricActivityInstanceQueryImpl
java.lang.Object
org.activiti.engine.impl.db.ListQueryParameterObject
org.activiti.engine.impl.AbstractQuery<HistoricActivityInstanceQuery,HistoricActivityInstance>
org.activiti.engine.impl.HistoricActivityInstanceQueryImpl
- All Implemented Interfaces:
Serializable,HistoricActivityInstanceQuery,Command<Object>,Query<HistoricActivityInstanceQuery,HistoricActivityInstance>
public class HistoricActivityInstanceQueryImpl
extends AbstractQuery<HistoricActivityInstanceQuery,HistoricActivityInstance>
implements HistoricActivityInstanceQuery
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.activiti.engine.impl.AbstractQuery
AbstractQuery.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected 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
ConstructorsConstructorDescriptionHistoricActivityInstanceQueryImpl(CommandContext commandContext) HistoricActivityInstanceQueryImpl(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionactivityId(String activityId) Only select historic activity instances for the given activity (id from BPMN 2.0 XML)activityInstanceId(String activityInstanceId) Only select historic activity instances with the given id (primary key within history tables).activityName(String activityName) Only select historic activity instances for activities with the given nameactivityTenantId(String tenantId) Only select historic activity instances that have the given tenant id.activityTenantIdLike(String tenantIdLike) Only select historic activity instances with a tenant id like the given one.activityType(String activityType) Only select historic activity instances for activities with the given activity typeOnly select historic activity instances that do not have a tenant id.deleteReason(String deleteReason) Obly select historic activity instances with a specific delete reason.deleteReasonLike(String deleteReasonLike) Obly select historic activity instances with a delete reason that matches the provided parameter.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.executionId(String executionId) Only select historic activity instances for the given executionfinished()Only select historic activity instances that are finished.booleanbooleanbooleanOrder by activityId (needs to be followed byQuery.asc()orQuery.desc()).Order by activityName (needs to be followed byQuery.asc()orQuery.desc()).Order by activityType (needs to be followed byQuery.asc()orQuery.desc()).Order by executionId (needs to be followed byQuery.asc()orQuery.desc()).Order by duration (needs to be followed byQuery.asc()orQuery.desc()).Order by end (needs to be followed byQuery.asc()orQuery.desc()).Order by id (needs to be followed byQuery.asc()orQuery.desc()).Order by start (needs to be followed byQuery.asc()orQuery.desc()).Order by processDefinitionId (needs to be followed byQuery.asc()orQuery.desc()).Order by processInstanceId (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 historic activity instances for the given process definitionprocessInstanceId(String processInstanceId) Only select historic activity instances with the given process instance.taskAssignee(String assignee) Only select historic activity instances for userTask activities assigned to the given userOnly select historic activity instances that are not finished yet.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
-
activityInstanceId
-
processInstanceId
-
executionId
-
processDefinitionId
-
activityId
-
activityName
-
activityType
-
assignee
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId -
finished
protected boolean finished -
unfinished
protected boolean unfinished -
deleteReason
-
deleteReasonLike
-
-
Constructor Details
-
HistoricActivityInstanceQueryImpl
public HistoricActivityInstanceQueryImpl() -
HistoricActivityInstanceQueryImpl
-
HistoricActivityInstanceQueryImpl
-
-
Method Details
-
executeCount
- Specified by:
executeCountin classAbstractQuery<HistoricActivityInstanceQuery,HistoricActivityInstance>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<HistoricActivityInstanceQuery,HistoricActivityInstance> page- used if the results must be paged. If null, no paging will be applied.
-
processInstanceId
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances with the given process instance. {@link ProcessInstance) ids and {@link HistoricProcessInstance} ids match.- Specified by:
processInstanceIdin interfaceHistoricActivityInstanceQuery
-
executionId
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances for the given execution- Specified by:
executionIdin interfaceHistoricActivityInstanceQuery
-
processDefinitionId
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances for the given process definition- Specified by:
processDefinitionIdin interfaceHistoricActivityInstanceQuery
-
activityId
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances for the given activity (id from BPMN 2.0 XML)- Specified by:
activityIdin interfaceHistoricActivityInstanceQuery
-
activityName
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances for activities with the given name- Specified by:
activityNamein interfaceHistoricActivityInstanceQuery
-
activityType
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances for activities with the given activity type- Specified by:
activityTypein interfaceHistoricActivityInstanceQuery
-
taskAssignee
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances for userTask activities assigned to the given user- Specified by:
taskAssigneein interfaceHistoricActivityInstanceQuery
-
finished
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances that are finished.- Specified by:
finishedin interfaceHistoricActivityInstanceQuery
-
unfinished
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances that are not finished yet.- Specified by:
unfinishedin interfaceHistoricActivityInstanceQuery
-
deleteReason
Description copied from interface:HistoricActivityInstanceQueryObly select historic activity instances with a specific delete reason.- Specified by:
deleteReasonin interfaceHistoricActivityInstanceQuery
-
deleteReasonLike
Description copied from interface:HistoricActivityInstanceQueryObly select historic activity instances with a delete reason that matches the provided parameter.- Specified by:
deleteReasonLikein interfaceHistoricActivityInstanceQuery
-
activityTenantId
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances that have the given tenant id.- Specified by:
activityTenantIdin interfaceHistoricActivityInstanceQuery
-
getTenantId
-
activityTenantIdLike
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances with a tenant id like the given one.- Specified by:
activityTenantIdLikein interfaceHistoricActivityInstanceQuery
-
getTenantIdLike
-
activityWithoutTenantId
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances that do not have a tenant id.- Specified by:
activityWithoutTenantIdin interfaceHistoricActivityInstanceQuery
-
isWithoutTenantId
public boolean isWithoutTenantId() -
orderByHistoricActivityInstanceDuration
Description copied from interface:HistoricActivityInstanceQueryOrder by duration (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoricActivityInstanceDurationin interfaceHistoricActivityInstanceQuery
-
orderByHistoricActivityInstanceEndTime
Description copied from interface:HistoricActivityInstanceQueryOrder by end (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoricActivityInstanceEndTimein interfaceHistoricActivityInstanceQuery
-
orderByExecutionId
Description copied from interface:HistoricActivityInstanceQueryOrder by executionId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByExecutionIdin interfaceHistoricActivityInstanceQuery
-
orderByHistoricActivityInstanceId
Description copied from interface:HistoricActivityInstanceQueryOrder by id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoricActivityInstanceIdin interfaceHistoricActivityInstanceQuery
-
orderByProcessDefinitionId
Description copied from interface:HistoricActivityInstanceQueryOrder by processDefinitionId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceHistoricActivityInstanceQuery
-
orderByProcessInstanceId
Description copied from interface:HistoricActivityInstanceQueryOrder by processInstanceId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceHistoricActivityInstanceQuery
-
orderByHistoricActivityInstanceStartTime
Description copied from interface:HistoricActivityInstanceQueryOrder by start (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoricActivityInstanceStartTimein interfaceHistoricActivityInstanceQuery
-
orderByActivityId
Description copied from interface:HistoricActivityInstanceQueryOrder by activityId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByActivityIdin interfaceHistoricActivityInstanceQuery
-
orderByActivityName
Description copied from interface:HistoricActivityInstanceQueryOrder by activityName (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByActivityNamein interfaceHistoricActivityInstanceQuery
-
orderByActivityType
Description copied from interface:HistoricActivityInstanceQueryOrder by activityType (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByActivityTypein interfaceHistoricActivityInstanceQuery
-
orderByTenantId
Description copied from interface:HistoricActivityInstanceQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceHistoricActivityInstanceQuery
-
activityInstanceId
Description copied from interface:HistoricActivityInstanceQueryOnly select historic activity instances with the given id (primary key within history tables).- Specified by:
activityInstanceIdin interfaceHistoricActivityInstanceQuery
-
getProcessInstanceId
-
getExecutionId
-
getProcessDefinitionId
-
getActivityId
-
getActivityName
-
getActivityType
-
getAssignee
-
isFinished
public boolean isFinished() -
isUnfinished
public boolean isUnfinished() -
getActivityInstanceId
-
getDeleteReason
-
getDeleteReasonLike
-