public class HistoricDecisionInstanceQueryImpl extends AbstractQuery<HistoricDecisionInstanceQuery,HistoricDecisionInstance> implements HistoricDecisionInstanceQuery
AbstractQuery.ResultType
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
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 |
decisionDefinitionIdIn(String... decisionDefinitionIdIn)
Only select historic decision instances for the given decision definitions
|
HistoricDecisionInstanceQuery |
decisionDefinitionKey(String decisionDefinitionKey)
Only select historic decision instances with the given key of the decision definition.
|
HistoricDecisionInstanceQuery |
decisionDefinitionKeyIn(String... decisionDefinitionKeyIn)
Only select historic decision instances with the given keys of the decision definition.
|
HistoricDecisionInstanceQuery |
decisionDefinitionName(String decisionDefinitionName)
Only select historic decision instances with the given name of the decision definition.
|
HistoricDecisionInstanceQuery |
decisionDefinitionNameLike(String decisionDefinitionNameLike)
Only select historic decision instances with the given name of the decision definition using LIKE construct.
|
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 |
decisionRequirementsDefinitionId(String decisionRequirementsDefinitionId)
Only select historic decision instances that belongs to a decision requirements definition with the given id.
|
HistoricDecisionInstanceQuery |
decisionRequirementsDefinitionKey(String decisionRequirementsDefinitionKey)
Only select historic decision instances that belongs to a decision requirements definition with the given key.
|
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 |
getDecisionRequirementsDefinitionId() |
String |
getDecisionRequirementsDefinitionKey() |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionKey() |
String |
getProcessInstanceId() |
String |
getRootDecisionInstanceId() |
String[] |
getTenantIds() |
HistoricDecisionInstanceQuery |
includeInputs()
Enable fetching
HistoricDecisionInputInstance of evaluated decision. |
HistoricDecisionInstanceQuery |
includeOutputs()
Enable fetching
HistoricDecisionOutputInstance of evaluated decision. |
boolean |
isByteArrayFetchingEnabled() |
boolean |
isCustomObjectDeserializationEnabled() |
boolean |
isIncludeInput() |
boolean |
isIncludeOutputs() |
boolean |
isRootDecisionInstancesOnly() |
HistoricDecisionInstanceQuery |
orderByEvaluationTime()
Order by the time when the decisions was evaluated
(needs to be followed by
Query.asc() or Query.desc() ). |
HistoricDecisionInstanceQuery |
orderByTenantId()
Order by tenant id (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.
|
HistoricDecisionInstanceQuery |
rootDecisionInstanceId(String rootDecisionInstanceId)
Only select historic decision instances with a given root historic decision
instance id.
|
HistoricDecisionInstanceQuery |
rootDecisionInstancesOnly()
Only select historic decision instances that are the root decision instance of an evaluation.
|
HistoricDecisionInstanceQuery |
tenantIdIn(String... tenantIds)
Only select historic decision instances with one of the given tenant ids.
|
HistoricDecisionInstanceQuery |
userId(String userId)
Only select historic decision instances that were evaluated by the user with the given user ID.
|
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unboundedResultList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
protected String decisionInstanceId
protected String[] decisionInstanceIdIn
protected String decisionDefinitionId
protected String[] decisionDefinitionIdIn
protected String decisionDefinitionKey
protected String[] decisionDefinitionKeyIn
protected String decisionDefinitionName
protected String decisionDefinitionNameLike
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 String userId
protected boolean includeInput
protected boolean includeOutputs
protected boolean isByteArrayFetchingEnabled
protected boolean isCustomObjectDeserializationEnabled
protected String rootDecisionInstanceId
protected boolean rootDecisionInstancesOnly
protected String decisionRequirementsDefinitionId
protected String decisionRequirementsDefinitionKey
protected String[] tenantIds
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 decisionDefinitionIdIn(String... decisionDefinitionIdIn)
HistoricDecisionInstanceQuery
decisionDefinitionIdIn
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery decisionDefinitionKey(String decisionDefinitionKey)
HistoricDecisionInstanceQuery
decisionDefinitionKey
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery decisionDefinitionKeyIn(String... decisionDefinitionKeyIn)
HistoricDecisionInstanceQuery
decisionDefinitionKeyIn
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery decisionDefinitionName(String decisionDefinitionName)
HistoricDecisionInstanceQuery
decisionDefinitionName
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery decisionDefinitionNameLike(String decisionDefinitionNameLike)
HistoricDecisionInstanceQuery
decisionDefinitionNameLike
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 tenantIdIn(String... tenantIds)
HistoricDecisionInstanceQuery
tenantIdIn
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery orderByTenantId()
HistoricDecisionInstanceQuery
Query.asc()
or Query.desc()
).
Note that the ordering of historic decision instances without tenant id is database-specific.orderByTenantId
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery userId(String userId)
HistoricDecisionInstanceQuery
The user ID is saved for decisions which are evaluated by a authenticated user without a process or case instance
userId
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 String[] getTenantIds()
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()
public String getRootDecisionInstanceId()
public HistoricDecisionInstanceQuery rootDecisionInstanceId(String rootDecisionInstanceId)
HistoricDecisionInstanceQuery
rootDecisionInstanceId
in interface HistoricDecisionInstanceQuery
public boolean isRootDecisionInstancesOnly()
public HistoricDecisionInstanceQuery rootDecisionInstancesOnly()
HistoricDecisionInstanceQuery
rootDecisionInstancesOnly
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery decisionRequirementsDefinitionId(String decisionRequirementsDefinitionId)
HistoricDecisionInstanceQuery
decisionRequirementsDefinitionId
in interface HistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery decisionRequirementsDefinitionKey(String decisionRequirementsDefinitionKey)
HistoricDecisionInstanceQuery
decisionRequirementsDefinitionKey
in interface HistoricDecisionInstanceQuery
public String getDecisionRequirementsDefinitionId()
public String getDecisionRequirementsDefinitionKey()
Copyright © 2019. All rights reserved.