public class HistoricDecisionInstanceQueryImpl extends AbstractQuery<HistoricDecisionInstanceQuery,HistoricDecisionInstance> implements HistoricDecisionInstanceQuery
Modifier and Type | Field and Description |
---|---|
protected String[] |
activityIds |
protected String[] |
activityInstanceIds |
protected String |
caseDefinitionId |
protected String |
caseDefinitionKey |
protected String |
caseInstanceId |
protected String |
decisionDefinitionId |
protected String |
decisionDefinitionKey |
protected String |
decisionDefinitionName |
protected String |
decisionInstanceId |
protected String[] |
decisionInstanceIdIn |
protected Date |
evaluatedAfter |
protected Date |
evaluatedBefore |
protected boolean |
includeInput |
protected boolean |
includeOutputs |
protected boolean |
isByteArrayFetchingEnabled |
protected boolean |
isCustomObjectDeserializationEnabled |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
authDefaultPerm, authGroupIds, authUserId, isAuthorizationCheckEnabled, permissionChecks
Constructor and Description |
---|
HistoricDecisionInstanceQueryImpl() |
HistoricDecisionInstanceQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
HistoricDecisionInstanceQuery |
activityIdIn(String... activityIds)
Only select historic decision instances that are evaluated inside a process or a case
which have one of the activity ids.
|
HistoricDecisionInstanceQuery |
activityInstanceIdIn(String... activityInstanceIds)
Only select historic decision instances that are evaluated inside a process or a case
which have one of the activity instance ids.
|
HistoricDecisionInstanceQuery |
caseDefinitionId(String caseDefinitionId)
Only select historic decision instances that are evaluated inside a case
with the given case definition id.
|
HistoricDecisionInstanceQuery |
caseDefinitionKey(String caseDefinitionKey)
Only select historic decision instances that are evaluated inside a case
with the given case definition key.
|
HistoricDecisionInstanceQuery |
caseInstanceId(String caseInstanceId)
Only select historic decision instances that are evaluated inside a case
with the given case instance id.
|
HistoricDecisionInstanceQuery |
decisionDefinitionId(String decisionDefinitionId)
Only select historic decision instances for the given decision definition
|
HistoricDecisionInstanceQuery |
decisionDefinitionKey(String decisionDefinitionKey)
Only select historic decision instances with the given key of the decision definition.
|
HistoricDecisionInstanceQuery |
decisionDefinitionName(String decisionDefinitionName)
Only select historic decision instances with the given name of the decision definition.
|
HistoricDecisionInstanceQuery |
decisionInstanceId(String decisionInstanceId)
Only select historic decision instances with the given decision instance id.
|
HistoricDecisionInstanceQuery |
decisionInstanceIdIn(String... decisionInstanceIdIn)
Only select historic decision instances whose id is in the given list of ids.
|
HistoricDecisionInstanceQuery |
disableBinaryFetching()
Disable fetching of byte array input and output values.
|
HistoricDecisionInstanceQuery |
disableCustomObjectDeserialization()
Disable deserialization of input and output values that are custom objects.
|
HistoricDecisionInstanceQuery |
evaluatedAfter(Date evaluatedAfter)
Only select historic decision instances that were evaluated after the given date.
|
HistoricDecisionInstanceQuery |
evaluatedBefore(Date evaluatedBefore)
Only select historic decision instances that were evaluated before the given date.
|
long |
executeCount(CommandContext commandContext) |
List<HistoricDecisionInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
String[] |
getActivityIds() |
String[] |
getActivityInstanceIds() |
String |
getCaseDefinitionId() |
String |
getCaseDefinitionKey() |
String |
getCaseInstanceId() |
String |
getDecisionDefinitionId() |
String |
getDecisionDefinitionKey() |
String |
getDecisionDefinitionName() |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionKey() |
String |
getProcessInstanceId() |
HistoricDecisionInstanceQuery |
includeInputs()
Enable fetching
HistoricDecisionInputInstance of evaluated decision. |
HistoricDecisionInstanceQuery |
includeOutputs()
Enable fetching
HistoricDecisionOutputInstance of evaluated decision. |
boolean |
isByteArrayFetchingEnabled() |
boolean |
isCustomObjectDeserializationEnabled() |
boolean |
isIncludeInput() |
boolean |
isIncludeOutputs() |
HistoricDecisionInstanceQuery |
orderByEvaluationTime()
Order by the time when the decisions was evaluated
(needs to be followed by
Query.asc() or Query.desc() ). |
HistoricDecisionInstanceQuery |
processDefinitionId(String processDefinitionId)
Only select historic decision instances that are evaluated inside a process
with the given process definition id.
|
HistoricDecisionInstanceQuery |
processDefinitionKey(String processDefinitionKey)
Only select historic decision instances that are evaluated inside a process
with the given process definition key.
|
HistoricDecisionInstanceQuery |
processInstanceId(String processInstanceId)
Only select historic decision instances that are evaluated inside a process
with the given process instance id.
|
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, hasExcludingConditions, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
addAtomicPermissionCheck, getAuthDefaultPerm, getAuthGroupIds, getAuthUserId, getPermissionChecks, isAuthorizationCheckEnabled, setAtomicPermissionChecks, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthUserId, setPermissionChecks
protected String decisionInstanceId
protected String[] decisionInstanceIdIn
protected String decisionDefinitionId
protected String decisionDefinitionKey
protected String decisionDefinitionName
protected String processDefinitionKey
protected String processDefinitionId
protected String processInstanceId
protected String caseDefinitionKey
protected String caseDefinitionId
protected String caseInstanceId
protected String[] activityInstanceIds
protected String[] activityIds
protected Date evaluatedBefore
protected Date evaluatedAfter
protected boolean includeInput
protected boolean includeOutputs
protected boolean isByteArrayFetchingEnabled
protected boolean isCustomObjectDeserializationEnabled
public HistoricDecisionInstanceQueryImpl()
public HistoricDecisionInstanceQueryImpl(CommandExecutor commandExecutor)
public HistoricDecisionInstanceQuery decisionInstanceId(String decisionInstanceId)
HistoricDecisionInstanceQuery
decisionInstanceId
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery decisionInstanceIdIn(String... decisionInstanceIdIn)
HistoricDecisionInstanceQuery
decisionInstanceIdIn
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery decisionDefinitionId(String decisionDefinitionId)
HistoricDecisionInstanceQuery
decisionDefinitionId
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery decisionDefinitionKey(String decisionDefinitionKey)
HistoricDecisionInstanceQuery
decisionDefinitionKey
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery decisionDefinitionName(String decisionDefinitionName)
HistoricDecisionInstanceQuery
decisionDefinitionName
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery processDefinitionKey(String processDefinitionKey)
HistoricDecisionInstanceQuery
processDefinitionKey
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery processDefinitionId(String processDefinitionId)
HistoricDecisionInstanceQuery
processDefinitionId
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery processInstanceId(String processInstanceId)
HistoricDecisionInstanceQuery
processInstanceId
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery caseDefinitionKey(String caseDefinitionKey)
HistoricDecisionInstanceQuery
caseDefinitionKey
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery caseDefinitionId(String caseDefinitionId)
HistoricDecisionInstanceQuery
caseDefinitionId
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery caseInstanceId(String caseInstanceId)
HistoricDecisionInstanceQuery
caseInstanceId
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery activityIdIn(String... activityIds)
HistoricDecisionInstanceQuery
activityIdIn
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
HistoricDecisionInstanceQuery
activityInstanceIdIn
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery evaluatedBefore(Date evaluatedBefore)
HistoricDecisionInstanceQuery
evaluatedBefore
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery evaluatedAfter(Date evaluatedAfter)
HistoricDecisionInstanceQuery
evaluatedAfter
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery orderByEvaluationTime()
HistoricDecisionInstanceQuery
Query.asc()
or Query.desc()
).orderByEvaluationTime
in interface HistoricDecisionInstanceQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<HistoricDecisionInstanceQuery,HistoricDecisionInstance>
public List<HistoricDecisionInstance> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<HistoricDecisionInstanceQuery,HistoricDecisionInstance>
page
- used if the results must be paged. If null, no paging will be applied.public String getDecisionDefinitionId()
public String getDecisionDefinitionKey()
public String getDecisionDefinitionName()
public String getProcessDefinitionKey()
public String getProcessDefinitionId()
public String getProcessInstanceId()
public String getCaseDefinitionKey()
public String getCaseDefinitionId()
public String getCaseInstanceId()
public String[] getActivityInstanceIds()
public String[] getActivityIds()
public HistoricDecisionInstanceQuery includeInputs()
HistoricDecisionInstanceQuery
HistoricDecisionInputInstance
of evaluated decision.includeInputs
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery includeOutputs()
HistoricDecisionInstanceQuery
HistoricDecisionOutputInstance
of evaluated decision.includeOutputs
in interface HistoricDecisionInstanceQuery
public boolean isIncludeInput()
public boolean isIncludeOutputs()
public HistoricDecisionInstanceQuery disableBinaryFetching()
HistoricDecisionInstanceQuery
disableBinaryFetching
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery disableCustomObjectDeserialization()
HistoricDecisionInstanceQuery
disableCustomObjectDeserialization
in interface HistoricDecisionInstanceQuery
public boolean isByteArrayFetchingEnabled()
public boolean isCustomObjectDeserializationEnabled()
Copyright © 2018. All rights reserved.