Package org.flowable.engine.impl
Class HistoricDetailQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<HistoricDetailQuery,HistoricDetail>
org.flowable.engine.impl.HistoricDetailQueryImpl
- All Implemented Interfaces:
Serializable
,org.flowable.common.engine.api.query.Query<HistoricDetailQuery,
,HistoricDetail> org.flowable.common.engine.impl.interceptor.Command<Object>
,HistoricDetailQuery
public class HistoricDetailQueryImpl
extends org.flowable.common.engine.impl.query.AbstractQuery<HistoricDetailQuery,HistoricDetail>
implements HistoricDetailQuery
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.db.ListQueryParameterObject.OrderBy, org.flowable.common.engine.impl.db.ListQueryParameterObject.ResultType
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
org.flowable.common.engine.api.query.Query.NullHandlingOnOrder
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected boolean
protected String
protected String
protected String
protected String
protected String
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
ConstructorDescriptionHistoricDetailQueryImpl
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) HistoricDetailQueryImpl
(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionactivityId
(String activityId) activityInstanceId
(String activityInstanceId) Only select historic variable updates associated to the givenactivity instance
.Exclude all task-relatedHistoricDetail
s, so only items which have no task-id set will be selected.long
executeCount
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) executeList
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) executionId
(String executionId) Only select historic variable updates with the given execution.Only selectHistoricFormProperty
s.boolean
getId()
getType()
Only select historic info with the given id.boolean
processInstanceId
(String processInstanceId) Only select historic variable updates with the given process instance.Only select historic variable updates associated to the givenhistoric task instance
.Only selectHistoricVariableUpdate
s.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Field Details
-
id
-
taskId
-
processInstanceId
-
executionId
-
activityId
-
activityInstanceId
-
type
-
excludeTaskRelated
protected boolean excludeTaskRelated
-
-
Constructor Details
-
HistoricDetailQueryImpl
public HistoricDetailQueryImpl() -
HistoricDetailQueryImpl
public HistoricDetailQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
HistoricDetailQueryImpl
public HistoricDetailQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Details
-
id
Description copied from interface:HistoricDetailQuery
Only select historic info with the given id.- Specified by:
id
in interfaceHistoricDetailQuery
-
processInstanceId
Description copied from interface:HistoricDetailQuery
Only select historic variable updates with the given process instance.ProcessInstance
ids andHistoricProcessInstance
ids match.- Specified by:
processInstanceId
in interfaceHistoricDetailQuery
-
executionId
Description copied from interface:HistoricDetailQuery
Only select historic variable updates with the given execution. Note thatExecution
ids are not stored in the history as first class citizen, only process instances are.- Specified by:
executionId
in interfaceHistoricDetailQuery
-
activityId
-
activityInstanceId
Description copied from interface:HistoricDetailQuery
Only select historic variable updates associated to the givenactivity instance
.- Specified by:
activityInstanceId
in interfaceHistoricDetailQuery
-
taskId
Description copied from interface:HistoricDetailQuery
Only select historic variable updates associated to the givenhistoric task instance
.- Specified by:
taskId
in interfaceHistoricDetailQuery
-
formProperties
Description copied from interface:HistoricDetailQuery
Only selectHistoricFormProperty
s.- Specified by:
formProperties
in interfaceHistoricDetailQuery
-
variableUpdates
Description copied from interface:HistoricDetailQuery
Only selectHistoricVariableUpdate
s.- Specified by:
variableUpdates
in interfaceHistoricDetailQuery
-
excludeTaskDetails
Description copied from interface:HistoricDetailQuery
Exclude all task-relatedHistoricDetail
s, so only items which have no task-id set will be selected. When used together withHistoricDetailQuery.taskId(String)
, this call is ignored task details are NOT excluded.- Specified by:
excludeTaskDetails
in interfaceHistoricDetailQuery
-
executeCount
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executeCount
in classorg.flowable.common.engine.impl.query.AbstractQuery<HistoricDetailQuery,
HistoricDetail>
-
executeList
public List<HistoricDetail> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executeList
in classorg.flowable.common.engine.impl.query.AbstractQuery<HistoricDetailQuery,
HistoricDetail>
-
orderByProcessInstanceId
- Specified by:
orderByProcessInstanceId
in interfaceHistoricDetailQuery
-
orderByTime
- Specified by:
orderByTime
in interfaceHistoricDetailQuery
-
orderByVariableName
- Specified by:
orderByVariableName
in interfaceHistoricDetailQuery
-
orderByFormPropertyId
- Specified by:
orderByFormPropertyId
in interfaceHistoricDetailQuery
-
orderByVariableRevision
- Specified by:
orderByVariableRevision
in interfaceHistoricDetailQuery
-
orderByVariableType
- Specified by:
orderByVariableType
in interfaceHistoricDetailQuery
-
getId
-
getProcessInstanceId
-
getTaskId
-
getActivityId
-
getType
-
getExcludeTaskRelated
public boolean getExcludeTaskRelated() -
getExecutionId
-
getActivityInstanceId
-
isExcludeTaskRelated
public boolean isExcludeTaskRelated()
-