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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
activityId
protected String
activityInstanceId
protected boolean
excludeTaskRelated
protected String
executionId
protected String
id
protected String
processInstanceId
protected String
taskId
protected String
type
-
Constructor Summary
Constructors Constructor Description HistoricDetailQueryImpl()
HistoricDetailQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
HistoricDetailQueryImpl(org.flowable.common.engine.impl.interceptor.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(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
HistoricDetailQueryImpl
public HistoricDetailQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public HistoricDetailQueryImpl id(String id)
Description copied from interface:HistoricDetailQuery
Only select historic info with the given id.- Specified by:
id
in interfaceHistoricDetailQuery
-
processInstanceId
public HistoricDetailQueryImpl processInstanceId(String 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
public HistoricDetailQueryImpl executionId(String 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
public HistoricDetailQueryImpl activityId(String activityId)
-
activityInstanceId
public HistoricDetailQueryImpl activityInstanceId(String activityInstanceId)
Description copied from interface:HistoricDetailQuery
Only select historic variable updates associated to the givenactivity instance
.- Specified by:
activityInstanceId
in interfaceHistoricDetailQuery
-
taskId
public HistoricDetailQueryImpl taskId(String taskId)
Description copied from interface:HistoricDetailQuery
Only select historic variable updates associated to the givenhistoric task instance
.- Specified by:
taskId
in interfaceHistoricDetailQuery
-
formProperties
public HistoricDetailQueryImpl formProperties()
Description copied from interface:HistoricDetailQuery
Only selectHistoricFormProperty
s.- Specified by:
formProperties
in interfaceHistoricDetailQuery
-
variableUpdates
public HistoricDetailQueryImpl variableUpdates()
Description copied from interface:HistoricDetailQuery
Only selectHistoricVariableUpdate
s.- Specified by:
variableUpdates
in interfaceHistoricDetailQuery
-
excludeTaskDetails
public HistoricDetailQueryImpl 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
public HistoricDetailQueryImpl orderByProcessInstanceId()
- Specified by:
orderByProcessInstanceId
in interfaceHistoricDetailQuery
-
orderByTime
public HistoricDetailQueryImpl orderByTime()
- Specified by:
orderByTime
in interfaceHistoricDetailQuery
-
orderByVariableName
public HistoricDetailQueryImpl orderByVariableName()
- Specified by:
orderByVariableName
in interfaceHistoricDetailQuery
-
orderByFormPropertyId
public HistoricDetailQueryImpl orderByFormPropertyId()
- Specified by:
orderByFormPropertyId
in interfaceHistoricDetailQuery
-
orderByVariableRevision
public HistoricDetailQueryImpl orderByVariableRevision()
- Specified by:
orderByVariableRevision
in interfaceHistoricDetailQuery
-
orderByVariableType
public HistoricDetailQueryImpl orderByVariableType()
- Specified by:
orderByVariableType
in 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()
-
-