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:
- 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 StringactivityIdprotected StringactivityInstanceIdprotected booleanexcludeTaskRelatedprotected StringexecutionIdprotected Stringidprotected StringprocessInstanceIdprotected StringtaskIdprotected Stringtype-
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 HistoricDetailQueryImpl()HistoricDetailQueryImpl(CommandContext commandContext)HistoricDetailQueryImpl(CommandExecutor commandExecutor)
-
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
-
id
protected String id
-
taskId
protected String taskId
-
processInstanceId
protected String processInstanceId
-
executionId
protected String executionId
-
activityId
protected String activityId
-
activityInstanceId
protected String activityInstanceId
-
type
protected String type
-
excludeTaskRelated
protected boolean excludeTaskRelated
-
-
Constructor Detail
-
HistoricDetailQueryImpl
public HistoricDetailQueryImpl()
-
HistoricDetailQueryImpl
public HistoricDetailQueryImpl(CommandContext commandContext)
-
HistoricDetailQueryImpl
public HistoricDetailQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public HistoricDetailQueryImpl id(String id)
Description copied from interface:HistoricDetailQueryOnly select historic info with the given id.- Specified by:
idin interfaceHistoricDetailQuery
-
processInstanceId
public HistoricDetailQueryImpl processInstanceId(String processInstanceId)
Description copied from interface:HistoricDetailQueryOnly select historic variable updates with the given process instance.ProcessInstanceids andHistoricProcessInstanceids match.- Specified by:
processInstanceIdin interfaceHistoricDetailQuery
-
executionId
public HistoricDetailQueryImpl executionId(String 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
public HistoricDetailQueryImpl activityId(String activityId)
-
activityInstanceId
public HistoricDetailQueryImpl activityInstanceId(String activityInstanceId)
Description copied from interface:HistoricDetailQueryOnly select historic variable updates associated to the givenactivity instance.- Specified by:
activityInstanceIdin interfaceHistoricDetailQuery
-
taskId
public HistoricDetailQueryImpl taskId(String taskId)
Description copied from interface:HistoricDetailQueryOnly select historic variable updates associated to the givenhistoric task instance.- Specified by:
taskIdin interfaceHistoricDetailQuery
-
formProperties
public HistoricDetailQueryImpl formProperties()
Description copied from interface:HistoricDetailQueryOnly selectHistoricFormPropertys.- Specified by:
formPropertiesin interfaceHistoricDetailQuery
-
variableUpdates
public HistoricDetailQueryImpl variableUpdates()
Description copied from interface:HistoricDetailQueryOnly selectHistoricVariableUpdates.- Specified by:
variableUpdatesin interfaceHistoricDetailQuery
-
excludeTaskDetails
public HistoricDetailQueryImpl 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
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<HistoricDetailQuery,HistoricDetail>
-
executeList
public List<HistoricDetail> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<HistoricDetailQuery,HistoricDetail>
-
orderByProcessInstanceId
public HistoricDetailQueryImpl orderByProcessInstanceId()
- Specified by:
orderByProcessInstanceIdin interfaceHistoricDetailQuery
-
orderByTime
public HistoricDetailQueryImpl orderByTime()
- Specified by:
orderByTimein interfaceHistoricDetailQuery
-
orderByVariableName
public HistoricDetailQueryImpl orderByVariableName()
- Specified by:
orderByVariableNamein interfaceHistoricDetailQuery
-
orderByFormPropertyId
public HistoricDetailQueryImpl orderByFormPropertyId()
- Specified by:
orderByFormPropertyIdin interfaceHistoricDetailQuery
-
orderByVariableRevision
public HistoricDetailQueryImpl orderByVariableRevision()
- Specified by:
orderByVariableRevisionin interfaceHistoricDetailQuery
-
orderByVariableType
public HistoricDetailQueryImpl orderByVariableType()
- Specified by:
orderByVariableTypein interfaceHistoricDetailQuery
-
getId
public String getId()
-
getProcessInstanceId
public String getProcessInstanceId()
-
getTaskId
public String getTaskId()
-
getActivityId
public String getActivityId()
-
getType
public String getType()
-
getExcludeTaskRelated
public boolean getExcludeTaskRelated()
-
getExecutionId
public String getExecutionId()
-
getActivityInstanceId
public String getActivityInstanceId()
-
isExcludeTaskRelated
public boolean isExcludeTaskRelated()
-
-