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,Query<HistoricDetailQuery,,HistoricDetail> Command<Object>,HistoricDetailQuery
public class HistoricDetailQueryImpl
extends 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
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields 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
ConstructorsConstructorDescriptionHistoricDetailQueryImpl(CommandContext commandContext) HistoricDetailQueryImpl(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-relatedHistoricDetails, so only items which have no task-id set will be selected.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.executionId(String executionId) Only select historic variable updates with the given execution.Only selectHistoricFormPropertys.booleangetId()getType()Only select historic info with the given id.booleanprocessInstanceId(String processInstanceId) Only select historic variable updates with the given process instance.Only select historic variable updates associated to the givenhistoric task instance.Only selectHistoricVariableUpdates.Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods 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 Details
-
id
-
taskId
-
processInstanceId
-
executionId
-
activityId
-
activityInstanceId
-
type
-
excludeTaskRelated
protected boolean excludeTaskRelated
-
-
Constructor Details
-
HistoricDetailQueryImpl
public HistoricDetailQueryImpl() -
HistoricDetailQueryImpl
-
HistoricDetailQueryImpl
-
-
Method Details
-
id
Description copied from interface:HistoricDetailQueryOnly select historic info with the given id.- Specified by:
idin interfaceHistoricDetailQuery
-
processInstanceId
Description copied from interface:HistoricDetailQueryOnly select historic variable updates with the given process instance.ProcessInstanceids andHistoricProcessInstanceids match.- Specified by:
processInstanceIdin interfaceHistoricDetailQuery
-
executionId
Description copied from interface:HistoricDetailQueryOnly select historic variable updates with the given execution. Note thatExecutionids are not stored in the history as first class citizen, only process instances are.- Specified by:
executionIdin interfaceHistoricDetailQuery
-
activityId
-
activityInstanceId
Description copied from interface:HistoricDetailQueryOnly select historic variable updates associated to the givenactivity instance.- Specified by:
activityInstanceIdin interfaceHistoricDetailQuery
-
taskId
Description copied from interface:HistoricDetailQueryOnly select historic variable updates associated to the givenhistoric task instance.- Specified by:
taskIdin interfaceHistoricDetailQuery
-
formProperties
Description copied from interface:HistoricDetailQueryOnly selectHistoricFormPropertys.- Specified by:
formPropertiesin interfaceHistoricDetailQuery
-
variableUpdates
Description copied from interface:HistoricDetailQueryOnly selectHistoricVariableUpdates.- Specified by:
variableUpdatesin interfaceHistoricDetailQuery
-
excludeTaskDetails
Description copied from interface:HistoricDetailQueryExclude all task-relatedHistoricDetails, 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:
excludeTaskDetailsin interfaceHistoricDetailQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<HistoricDetailQuery,HistoricDetail>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<HistoricDetailQuery,HistoricDetail>
-
orderByProcessInstanceId
- Specified by:
orderByProcessInstanceIdin interfaceHistoricDetailQuery
-
orderByTime
- Specified by:
orderByTimein interfaceHistoricDetailQuery
-
orderByVariableName
- Specified by:
orderByVariableNamein interfaceHistoricDetailQuery
-
orderByFormPropertyId
- Specified by:
orderByFormPropertyIdin interfaceHistoricDetailQuery
-
orderByVariableRevision
- Specified by:
orderByVariableRevisionin interfaceHistoricDetailQuery
-
orderByVariableType
- Specified by:
orderByVariableTypein interfaceHistoricDetailQuery
-
getId
-
getProcessInstanceId
-
getTaskId
-
getActivityId
-
getType
-
getExcludeTaskRelated
public boolean getExcludeTaskRelated() -
getExecutionId
-
getActivityInstanceId
-
isExcludeTaskRelated
public boolean isExcludeTaskRelated()
-