Package org.activiti.engine.impl
Class HistoricVariableInstanceQueryImpl
- java.lang.Object
-
- org.activiti.engine.impl.db.ListQueryParameterObject
-
- org.activiti.engine.impl.AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
-
- org.activiti.engine.impl.HistoricVariableInstanceQueryImpl
-
- All Implemented Interfaces:
java.io.Serializable,HistoricVariableInstanceQuery,Command<java.lang.Object>,Query<HistoricVariableInstanceQuery,HistoricVariableInstance>
public class HistoricVariableInstanceQueryImpl extends AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance> implements HistoricVariableInstanceQuery
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.activiti.engine.impl.AbstractQuery
AbstractQuery.NullHandlingOnOrder
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringactivityInstanceIdprotected booleanexcludeTaskRelatedprotected booleanexcludeVariableInitializationprotected java.lang.StringexecutionIdprotected java.util.Set<java.lang.String>executionIdsprotected java.lang.Stringidprotected java.lang.StringprocessInstanceIdprotected QueryVariableValuequeryVariableValueprotected java.lang.StringtaskIdprotected java.util.Set<java.lang.String>taskIdsprotected java.lang.StringvariableNameprotected java.lang.StringvariableNameLike-
Fields inherited from class org.activiti.engine.impl.AbstractQuery
commandContext, commandExecutor, databaseType, nullHandlingOnOrder, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
-
Fields inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
firstResult, maxResults, parameter
-
-
Constructor Summary
Constructors Constructor Description HistoricVariableInstanceQueryImpl()HistoricVariableInstanceQueryImpl(CommandContext commandContext)HistoricVariableInstanceQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HistoricVariableInstanceQueryactivityInstanceId(java.lang.String activityInstanceId)protected voidensureVariablesInitialized()HistoricVariableInstanceQueryexcludeTaskVariables()Only select historic process variables which were not set task-local.HistoricVariableInstanceQueryexcludeVariableInitialization()Don't initialize variable values.longexecuteCount(CommandContext commandContext)java.util.List<HistoricVariableInstance>executeList(CommandContext commandContext, Page page)Executes the actual query to retrieve the list of results.HistoricVariableInstanceQueryImplexecutionId(java.lang.String executionId)Only select historic process variables with the given id.HistoricVariableInstanceQueryImplexecutionIds(java.util.Set<java.lang.String> executionIds)Only select historic process variables whose id is in the given set of ids.java.lang.StringgetActivityInstanceId()booleangetExcludeTaskRelated()java.lang.StringgetProcessInstanceId()QueryVariableValuegetQueryVariableValue()java.lang.StringgetTaskId()java.lang.StringgetVariableName()java.lang.StringgetVariableNameLike()HistoricVariableInstanceQueryid(java.lang.String id)Only select a historic variable with the given id.HistoricVariableInstanceQueryorderByProcessInstanceId()HistoricVariableInstanceQueryorderByVariableName()HistoricVariableInstanceQueryImplprocessInstanceId(java.lang.String processInstanceId)Only select historic process variables with the given process instance.HistoricVariableInstanceQuerytaskId(java.lang.String taskId)Only select historic process variables with the given task.HistoricVariableInstanceQueryImpltaskIds(java.util.Set<java.lang.String> taskIds)Only select historic process variables whose id is in the given set of ids.HistoricVariableInstanceQueryvariableName(java.lang.String variableName)Only select historic process variables with the given variable name.HistoricVariableInstanceQueryvariableNameLike(java.lang.String variableNameLike)Only select historic process variables where the given variable name is like.HistoricVariableInstanceQueryvariableValueEquals(java.lang.String variableName, java.lang.Object variableValue)only select historic process variables with the given name and valueHistoricVariableInstanceQueryvariableValueLike(java.lang.String variableName, java.lang.String variableValue)only select historic process variables like the given name and valueHistoricVariableInstanceQueryvariableValueLikeIgnoreCase(java.lang.String variableName, java.lang.String variableValue)only select historic process variables like the given name and value (case insensitive)HistoricVariableInstanceQueryvariableValueNotEquals(java.lang.String variableName, java.lang.Object variableValue)only select historic process variables that don't have the given name and value-
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, singleResult
-
Methods inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setFirstResult, setMaxResults, setParameter
-
-
-
-
Field Detail
-
id
protected java.lang.String id
-
taskId
protected java.lang.String taskId
-
taskIds
protected java.util.Set<java.lang.String> taskIds
-
executionId
protected java.lang.String executionId
-
executionIds
protected java.util.Set<java.lang.String> executionIds
-
processInstanceId
protected java.lang.String processInstanceId
-
activityInstanceId
protected java.lang.String activityInstanceId
-
variableName
protected java.lang.String variableName
-
variableNameLike
protected java.lang.String variableNameLike
-
excludeTaskRelated
protected boolean excludeTaskRelated
-
excludeVariableInitialization
protected boolean excludeVariableInitialization
-
queryVariableValue
protected QueryVariableValue queryVariableValue
-
-
Constructor Detail
-
HistoricVariableInstanceQueryImpl
public HistoricVariableInstanceQueryImpl()
-
HistoricVariableInstanceQueryImpl
public HistoricVariableInstanceQueryImpl(CommandContext commandContext)
-
HistoricVariableInstanceQueryImpl
public HistoricVariableInstanceQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public HistoricVariableInstanceQuery id(java.lang.String id)
Description copied from interface:HistoricVariableInstanceQueryOnly select a historic variable with the given id.- Specified by:
idin interfaceHistoricVariableInstanceQuery
-
processInstanceId
public HistoricVariableInstanceQueryImpl processInstanceId(java.lang.String processInstanceId)
Description copied from interface:HistoricVariableInstanceQueryOnly select historic process variables with the given process instance.- Specified by:
processInstanceIdin interfaceHistoricVariableInstanceQuery
-
executionId
public HistoricVariableInstanceQueryImpl executionId(java.lang.String executionId)
Description copied from interface:HistoricVariableInstanceQueryOnly select historic process variables with the given id.- Specified by:
executionIdin interfaceHistoricVariableInstanceQuery
-
executionIds
public HistoricVariableInstanceQueryImpl executionIds(java.util.Set<java.lang.String> executionIds)
Description copied from interface:HistoricVariableInstanceQueryOnly select historic process variables whose id is in the given set of ids.- Specified by:
executionIdsin interfaceHistoricVariableInstanceQuery
-
activityInstanceId
public HistoricVariableInstanceQuery activityInstanceId(java.lang.String activityInstanceId)
-
taskId
public HistoricVariableInstanceQuery taskId(java.lang.String taskId)
Description copied from interface:HistoricVariableInstanceQueryOnly select historic process variables with the given task.- Specified by:
taskIdin interfaceHistoricVariableInstanceQuery
-
taskIds
public HistoricVariableInstanceQueryImpl taskIds(java.util.Set<java.lang.String> taskIds)
Description copied from interface:HistoricVariableInstanceQueryOnly select historic process variables whose id is in the given set of ids.- Specified by:
taskIdsin interfaceHistoricVariableInstanceQuery
-
excludeTaskVariables
public HistoricVariableInstanceQuery excludeTaskVariables()
Description copied from interface:HistoricVariableInstanceQueryOnly select historic process variables which were not set task-local.- Specified by:
excludeTaskVariablesin interfaceHistoricVariableInstanceQuery
-
excludeVariableInitialization
public HistoricVariableInstanceQuery excludeVariableInitialization()
Description copied from interface:HistoricVariableInstanceQueryDon't initialize variable values. This is foremost a way to deal with variable delete queries- Specified by:
excludeVariableInitializationin interfaceHistoricVariableInstanceQuery
-
variableName
public HistoricVariableInstanceQuery variableName(java.lang.String variableName)
Description copied from interface:HistoricVariableInstanceQueryOnly select historic process variables with the given variable name.- Specified by:
variableNamein interfaceHistoricVariableInstanceQuery
-
variableValueEquals
public HistoricVariableInstanceQuery variableValueEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricVariableInstanceQueryonly select historic process variables with the given name and value- Specified by:
variableValueEqualsin interfaceHistoricVariableInstanceQuery
-
variableValueNotEquals
public HistoricVariableInstanceQuery variableValueNotEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricVariableInstanceQueryonly select historic process variables that don't have the given name and value- Specified by:
variableValueNotEqualsin interfaceHistoricVariableInstanceQuery
-
variableValueLike
public HistoricVariableInstanceQuery variableValueLike(java.lang.String variableName, java.lang.String variableValue)
Description copied from interface:HistoricVariableInstanceQueryonly select historic process variables like the given name and value- Specified by:
variableValueLikein interfaceHistoricVariableInstanceQuery
-
variableValueLikeIgnoreCase
public HistoricVariableInstanceQuery variableValueLikeIgnoreCase(java.lang.String variableName, java.lang.String variableValue)
Description copied from interface:HistoricVariableInstanceQueryonly select historic process variables like the given name and value (case insensitive)- Specified by:
variableValueLikeIgnoreCasein interfaceHistoricVariableInstanceQuery
-
variableNameLike
public HistoricVariableInstanceQuery variableNameLike(java.lang.String variableNameLike)
Description copied from interface:HistoricVariableInstanceQueryOnly select historic process variables where the given variable name is like.- Specified by:
variableNameLikein interfaceHistoricVariableInstanceQuery
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
-
executeList
public java.util.List<HistoricVariableInstance> executeList(CommandContext commandContext, Page page)
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>page- used if the results must be paged. If null, no paging will be applied.
-
orderByProcessInstanceId
public HistoricVariableInstanceQuery orderByProcessInstanceId()
- Specified by:
orderByProcessInstanceIdin interfaceHistoricVariableInstanceQuery
-
orderByVariableName
public HistoricVariableInstanceQuery orderByVariableName()
- Specified by:
orderByVariableNamein interfaceHistoricVariableInstanceQuery
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()
-
getTaskId
public java.lang.String getTaskId()
-
getActivityInstanceId
public java.lang.String getActivityInstanceId()
-
getExcludeTaskRelated
public boolean getExcludeTaskRelated()
-
getVariableName
public java.lang.String getVariableName()
-
getVariableNameLike
public java.lang.String getVariableNameLike()
-
getQueryVariableValue
public QueryVariableValue getQueryVariableValue()
-
-