public class HistoricVariableInstanceQueryImpl extends AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance> implements HistoricVariableInstanceQuery
AbstractQuery.NullHandlingOnOrder
Modifier and Type | Field and Description |
---|---|
protected String |
activityInstanceId |
protected boolean |
excludeTaskRelated |
protected boolean |
excludeVariableInitialization |
protected String |
executionId |
protected String |
id |
protected String |
processInstanceId |
protected QueryVariableValue |
queryVariableValue |
protected String |
taskId |
protected String |
variableName |
protected String |
variableNameLike |
commandContext, commandExecutor, databaseType, nullHandlingOnOrder, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
firstResult, maxResults, parameter
Constructor and Description |
---|
HistoricVariableInstanceQueryImpl() |
HistoricVariableInstanceQueryImpl(CommandContext commandContext) |
HistoricVariableInstanceQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
HistoricVariableInstanceQuery |
activityInstanceId(String activityInstanceId) |
protected void |
ensureVariablesInitialized() |
HistoricVariableInstanceQuery |
excludeTaskVariables()
Only select historic process variables which were not set task-local.
|
HistoricVariableInstanceQuery |
excludeVariableInitialization()
Don't initialize variable values.
|
long |
executeCount(CommandContext commandContext) |
List<HistoricVariableInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
HistoricVariableInstanceQueryImpl |
executionId(String executionId)
Only select historic process variables with the given id.
|
String |
getActivityInstanceId() |
boolean |
getExcludeTaskRelated() |
String |
getProcessInstanceId() |
QueryVariableValue |
getQueryVariableValue() |
String |
getTaskId() |
String |
getVariableName() |
String |
getVariableNameLike() |
HistoricVariableInstanceQuery |
id(String id)
Only select a historic variable with the given id.
|
HistoricVariableInstanceQuery |
orderByProcessInstanceId() |
HistoricVariableInstanceQuery |
orderByVariableName() |
HistoricVariableInstanceQueryImpl |
processInstanceId(String processInstanceId)
Only select historic process variables with the given process instance.
|
HistoricVariableInstanceQuery |
taskId(String taskId)
Only select historic process variables with the given task.
|
HistoricVariableInstanceQuery |
variableName(String variableName)
Only select historic process variables with the given variable name.
|
HistoricVariableInstanceQuery |
variableNameLike(String variableNameLike)
Only select historic process variables where the given variable name is like.
|
HistoricVariableInstanceQuery |
variableValueEquals(String variableName,
Object variableValue)
only select historic process variables with the given name and value
|
HistoricVariableInstanceQuery |
variableValueLike(String variableName,
String variableValue)
only select historic process variables like the given name and value
|
HistoricVariableInstanceQuery |
variableValueLikeIgnoreCase(String variableName,
String variableValue)
only select historic process variables like the given name and value (case insensitive)
|
HistoricVariableInstanceQuery |
variableValueNotEquals(String variableName,
Object variableValue)
only select historic process variables that don't have the given name and value
|
addOrder, asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getDatabaseType, getOrderBy, getOrderByColumns, list, listPage, orderBy, orderBy, setCommandExecutor, setDatabaseType, singleResult
getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setFirstResult, setMaxResults, setParameter
protected String id
protected String taskId
protected String executionId
protected String processInstanceId
protected String activityInstanceId
protected String variableName
protected String variableNameLike
protected boolean excludeTaskRelated
protected boolean excludeVariableInitialization
protected QueryVariableValue queryVariableValue
public HistoricVariableInstanceQueryImpl()
public HistoricVariableInstanceQueryImpl(CommandContext commandContext)
public HistoricVariableInstanceQueryImpl(CommandExecutor commandExecutor)
public HistoricVariableInstanceQuery id(String id)
HistoricVariableInstanceQuery
id
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQueryImpl processInstanceId(String processInstanceId)
HistoricVariableInstanceQuery
processInstanceId
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQueryImpl executionId(String executionId)
HistoricVariableInstanceQuery
executionId
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery activityInstanceId(String activityInstanceId)
public HistoricVariableInstanceQuery taskId(String taskId)
HistoricVariableInstanceQuery
taskId
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery excludeTaskVariables()
HistoricVariableInstanceQuery
excludeTaskVariables
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery excludeVariableInitialization()
HistoricVariableInstanceQuery
excludeVariableInitialization
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery variableName(String variableName)
HistoricVariableInstanceQuery
variableName
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery variableValueEquals(String variableName, Object variableValue)
HistoricVariableInstanceQuery
variableValueEquals
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery variableValueNotEquals(String variableName, Object variableValue)
HistoricVariableInstanceQuery
variableValueNotEquals
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery variableValueLike(String variableName, String variableValue)
HistoricVariableInstanceQuery
variableValueLike
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery variableValueLikeIgnoreCase(String variableName, String variableValue)
HistoricVariableInstanceQuery
variableValueLikeIgnoreCase
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery variableNameLike(String variableNameLike)
HistoricVariableInstanceQuery
variableNameLike
in interface HistoricVariableInstanceQuery
protected void ensureVariablesInitialized()
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
public List<HistoricVariableInstance> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<HistoricVariableInstanceQuery,HistoricVariableInstance>
page
- used if the results must be paged. If null, no paging will be applied.public HistoricVariableInstanceQuery orderByProcessInstanceId()
orderByProcessInstanceId
in interface HistoricVariableInstanceQuery
public HistoricVariableInstanceQuery orderByVariableName()
orderByVariableName
in interface HistoricVariableInstanceQuery
public String getProcessInstanceId()
public String getTaskId()
public String getActivityInstanceId()
public boolean getExcludeTaskRelated()
public String getVariableName()
public String getVariableNameLike()
public QueryVariableValue getQueryVariableValue()
Copyright © 2016 Alfresco. All rights reserved.