public class DecisionRequirementsDefinitionQueryImpl extends AbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition> implements DecisionRequirementsDefinitionQuery
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected String |
category |
protected String |
categoryLike |
protected String |
deploymentId |
protected String |
id |
protected String[] |
ids |
protected boolean |
includeDefinitionsWithoutTenantId |
protected boolean |
isTenantIdSet |
protected String |
key |
protected String |
keyLike |
protected boolean |
latest |
protected String |
name |
protected String |
nameLike |
protected String |
resourceName |
protected String |
resourceNameLike |
protected String[] |
tenantIds |
protected Integer |
version |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
DecisionRequirementsDefinitionQueryImpl() |
DecisionRequirementsDefinitionQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
void |
checkQueryOk() |
DecisionRequirementsDefinitionQuery |
decisionRequirementsDefinitionCategory(String category)
Only select decision requirements definition with the given category.
|
DecisionRequirementsDefinitionQuery |
decisionRequirementsDefinitionCategoryLike(String categoryLike)
Only select decision requirements definition where the category matches the given parameter.
|
DecisionRequirementsDefinitionQuery |
decisionRequirementsDefinitionId(String id)
Only select decision requirements definition with the given id.
|
DecisionRequirementsDefinitionQuery |
decisionRequirementsDefinitionIdIn(String... ids)
Only select decision requirements definition with the given ids.
|
DecisionRequirementsDefinitionQuery |
decisionRequirementsDefinitionKey(String key)
Only select decision requirements definition with the given key.
|
DecisionRequirementsDefinitionQuery |
decisionRequirementsDefinitionKeyLike(String keyLike)
Only select decision requirements definition where the key matches the given parameter.
|
DecisionRequirementsDefinitionQuery |
decisionRequirementsDefinitionName(String name)
Only select decision requirements definition with the given name.
|
DecisionRequirementsDefinitionQuery |
decisionRequirementsDefinitionNameLike(String nameLike)
Only select decision requirements definition where the name matches the given parameter.
|
DecisionRequirementsDefinitionQuery |
decisionRequirementsDefinitionResourceName(String resourceName)
Only select decision requirements definition with the given resource name.
|
DecisionRequirementsDefinitionQuery |
decisionRequirementsDefinitionResourceNameLike(String resourceNameLike)
Only select decision requirements definition with a resource name like the given.
|
DecisionRequirementsDefinitionQuery |
decisionRequirementsDefinitionVersion(Integer version)
Only select decision requirements definition with a certain version.
|
DecisionRequirementsDefinitionQuery |
deploymentId(String deploymentId)
Only select decision requirements definition that are deployed in a deployment with the
given deployment id.
|
long |
executeCount(CommandContext commandContext) |
List<DecisionRequirementsDefinition> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
String |
getCategory() |
String |
getCategoryLike() |
String |
getDeploymentId() |
String |
getId() |
String[] |
getIds() |
String |
getKey() |
String |
getKeyLike() |
String |
getName() |
String |
getNameLike() |
String |
getResourceName() |
String |
getResourceNameLike() |
Integer |
getVersion() |
DecisionRequirementsDefinitionQuery |
includeDecisionRequirementsDefinitionsWithoutTenantId()
Select decision requirements definition which have no tenant id.
|
boolean |
isLatest() |
DecisionRequirementsDefinitionQuery |
latestVersion()
Only select the decision requirements definition which are the latest deployed
(i.e.
|
DecisionRequirementsDefinitionQuery |
orderByDecisionRequirementsDefinitionCategory()
Order by the category of the decision requirements definition (needs to be followed by
Query.asc() or Query.desc() ). |
DecisionRequirementsDefinitionQuery |
orderByDecisionRequirementsDefinitionId()
Order by the id of the decision requirements definition (needs to be followed by
Query.asc() or Query.desc() ). |
DecisionRequirementsDefinitionQuery |
orderByDecisionRequirementsDefinitionKey()
Order by decision requirements definition key (needs to be followed by
Query.asc() or
Query.desc() ). |
DecisionRequirementsDefinitionQuery |
orderByDecisionRequirementsDefinitionName()
Order by the name of the decision requirements definition (needs to be followed by
Query.asc() or Query.desc() ). |
DecisionRequirementsDefinitionQuery |
orderByDecisionRequirementsDefinitionVersion()
Order by the version of the decision requirements definition (needs to be followed
by
Query.asc() or Query.desc() ). |
DecisionRequirementsDefinitionQuery |
orderByDeploymentId()
Order by deployment id (needs to be followed by
Query.asc()
or Query.desc() ). |
DecisionRequirementsDefinitionQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
DecisionRequirementsDefinitionQuery |
tenantIdIn(String... tenantIds)
Only select decision requirements definition with one of the given tenant ids.
|
DecisionRequirementsDefinitionQuery |
withoutTenantId()
Only select decision requirements definition which have no tenant id.
|
addExpression, addValidator, asc, checkMaxResultsLimit, 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 id
protected String[] ids
protected String category
protected String categoryLike
protected String name
protected String nameLike
protected String deploymentId
protected String key
protected String keyLike
protected String resourceName
protected String resourceNameLike
protected Integer version
protected boolean latest
protected boolean isTenantIdSet
protected String[] tenantIds
protected boolean includeDefinitionsWithoutTenantId
public DecisionRequirementsDefinitionQueryImpl()
public DecisionRequirementsDefinitionQueryImpl(CommandExecutor commandExecutor)
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionId(String id)
DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionId
in interface DecisionRequirementsDefinitionQuery
id
- the id of the decision requirements definitionpublic DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionIdIn(String... ids)
DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionIdIn
in interface DecisionRequirementsDefinitionQuery
ids
- list of decision requirements definition idspublic DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionCategory(String category)
DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionCategory
in interface DecisionRequirementsDefinitionQuery
category
- the category of the decision requirements definitionpublic DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionCategoryLike(String categoryLike)
DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionCategoryLike
in interface DecisionRequirementsDefinitionQuery
categoryLike
- the pattern to match the decision requirements definition categorypublic DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionName(String name)
DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionName
in interface DecisionRequirementsDefinitionQuery
name
- the name of the decision requirements definitionpublic DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionNameLike(String nameLike)
DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionNameLike
in interface DecisionRequirementsDefinitionQuery
nameLike
- the pattern to match the decision requirements definition namepublic DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionKey(String key)
DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionKey
in interface DecisionRequirementsDefinitionQuery
key
- the key of the decision definitionpublic DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionKeyLike(String keyLike)
DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionKeyLike
in interface DecisionRequirementsDefinitionQuery
keyLike
- the pattern to match the decision requirements definition keypublic DecisionRequirementsDefinitionQuery deploymentId(String deploymentId)
DecisionRequirementsDefinitionQuery
deploymentId
in interface DecisionRequirementsDefinitionQuery
deploymentId
- the id of the deploymentpublic DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionVersion(Integer version)
DecisionRequirementsDefinitionQuery
DecisionRequirementsDefinitionQuery.decisionRequirementsDefinitionKey(String)
decisionRequirementsDefinitionVersion
in interface DecisionRequirementsDefinitionQuery
version
- the version of the decision requirements definitionpublic DecisionRequirementsDefinitionQuery latestVersion()
DecisionRequirementsDefinitionQuery
DecisionRequirementsDefinitionQuery.decisionRequirementsDefinitionKey(String)
or DecisionRequirementsDefinitionQuery.decisionRequirementsDefinitionKeyLike(String)
. Can also be used without any
other criteria (i.e. query.latest().list()), which will then give all the
latest versions of all the deployed decision requirements definition.latestVersion
in interface DecisionRequirementsDefinitionQuery
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionResourceName(String resourceName)
DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionResourceName
in interface DecisionRequirementsDefinitionQuery
resourceName
- the name of the resourcepublic DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionResourceNameLike(String resourceNameLike)
DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionResourceNameLike
in interface DecisionRequirementsDefinitionQuery
resourceNameLike
- the pattern to match the resource namepublic DecisionRequirementsDefinitionQuery tenantIdIn(String... tenantIds)
DecisionRequirementsDefinitionQuery
tenantIdIn
in interface DecisionRequirementsDefinitionQuery
public DecisionRequirementsDefinitionQuery withoutTenantId()
DecisionRequirementsDefinitionQuery
withoutTenantId
in interface DecisionRequirementsDefinitionQuery
public DecisionRequirementsDefinitionQuery includeDecisionRequirementsDefinitionsWithoutTenantId()
DecisionRequirementsDefinitionQuery
DecisionRequirementsDefinitionQuery.tenantIdIn(String...)
.includeDecisionRequirementsDefinitionsWithoutTenantId
in interface DecisionRequirementsDefinitionQuery
public DecisionRequirementsDefinitionQuery orderByDecisionRequirementsDefinitionCategory()
DecisionRequirementsDefinitionQuery
Query.asc()
or Query.desc()
).orderByDecisionRequirementsDefinitionCategory
in interface DecisionRequirementsDefinitionQuery
public DecisionRequirementsDefinitionQuery orderByDecisionRequirementsDefinitionKey()
DecisionRequirementsDefinitionQuery
Query.asc()
or
Query.desc()
).orderByDecisionRequirementsDefinitionKey
in interface DecisionRequirementsDefinitionQuery
public DecisionRequirementsDefinitionQuery orderByDecisionRequirementsDefinitionId()
DecisionRequirementsDefinitionQuery
Query.asc()
or Query.desc()
).orderByDecisionRequirementsDefinitionId
in interface DecisionRequirementsDefinitionQuery
public DecisionRequirementsDefinitionQuery orderByDecisionRequirementsDefinitionVersion()
DecisionRequirementsDefinitionQuery
Query.asc()
or Query.desc()
).orderByDecisionRequirementsDefinitionVersion
in interface DecisionRequirementsDefinitionQuery
public DecisionRequirementsDefinitionQuery orderByDecisionRequirementsDefinitionName()
DecisionRequirementsDefinitionQuery
Query.asc()
or Query.desc()
).orderByDecisionRequirementsDefinitionName
in interface DecisionRequirementsDefinitionQuery
public DecisionRequirementsDefinitionQuery orderByDeploymentId()
DecisionRequirementsDefinitionQuery
Query.asc()
or Query.desc()
).orderByDeploymentId
in interface DecisionRequirementsDefinitionQuery
public DecisionRequirementsDefinitionQuery orderByTenantId()
DecisionRequirementsDefinitionQuery
Query.asc()
or Query.desc()
).
Note that the ordering of decision requirements definition without tenant id is database-specific.orderByTenantId
in interface DecisionRequirementsDefinitionQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition>
public List<DecisionRequirementsDefinition> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition>
page
- used if the results must be paged. If null, no paging will be applied.public void checkQueryOk()
checkQueryOk
in class AbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition>
public String getId()
public String[] getIds()
public String getCategory()
public String getCategoryLike()
public String getName()
public String getNameLike()
public String getDeploymentId()
public String getKey()
public String getKeyLike()
public String getResourceName()
public String getResourceNameLike()
public Integer getVersion()
public boolean isLatest()
Copyright © 2019. All rights reserved.