public class DecisionQueryImpl extends AbstractQuery<DmnDecisionQuery,DmnDecision> implements DmnDecisionQuery
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
category |
protected String |
categoryLike |
protected String |
categoryNotEquals |
protected String |
decisionId |
protected String |
decisionType |
protected String |
decisionTypeLike |
protected String |
deploymentId |
protected Set<String> |
deploymentIds |
protected String |
id |
protected Set<String> |
ids |
protected String |
key |
protected String |
keyLike |
protected boolean |
latest |
protected String |
name |
protected String |
nameLike |
protected String |
resourceName |
protected String |
resourceNameLike |
protected String |
tenantId |
protected String |
tenantIdLike |
protected Integer |
version |
protected Integer |
versionGt |
protected Integer |
versionGte |
protected Integer |
versionLt |
protected Integer |
versionLte |
protected boolean |
withoutTenantId |
commandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
DecisionQueryImpl() |
DecisionQueryImpl(CommandContext commandContext) |
DecisionQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkVersion(Integer version) |
DecisionQueryImpl |
decisionCategory(String category)
Only select decisions with the given category.
|
DecisionQueryImpl |
decisionCategoryLike(String categoryLike)
Only select decisions where the category matches the given parameter.
|
DecisionQueryImpl |
decisionCategoryNotEquals(String categoryNotEquals)
Only select deployments that have a different category then the given one.
|
DecisionQueryImpl |
decisionId(String decisionId)
Only select decision with the given id.
|
DmnDecisionQuery |
decisionIds(Set<String> decisionIds)
Only select decisions with the given ids.
|
DecisionQueryImpl |
decisionKey(String key)
Only select decision with the given key.
|
DecisionQueryImpl |
decisionKeyLike(String keyLike)
Only select decisions where the key matches the given parameter.
|
DecisionQueryImpl |
decisionName(String name)
Only select decisions with the given name.
|
DecisionQueryImpl |
decisionNameLike(String nameLike)
Only select decisions where the name matches the given parameter.
|
DecisionQueryImpl |
decisionResourceName(String resourceName)
Only select decision with the given resource name.
|
DecisionQueryImpl |
decisionResourceNameLike(String resourceNameLike)
Only select decision with a resource name like the given .
|
DmnDecisionQuery |
decisionTenantId(String tenantId)
Only select decisions that have the given tenant id.
|
DmnDecisionQuery |
decisionTenantIdLike(String tenantIdLike)
Only select decisions with a tenant id like the given one.
|
DmnDecisionQuery |
decisionType(String decisionType)
Only select decisions with the given type.
|
DmnDecisionQuery |
decisionTypeLike(String decisionTypeLike)
Only select decisions like the given type.
|
DecisionQueryImpl |
decisionVersion(Integer version)
Only select decisions with a certain version.
|
DmnDecisionQuery |
decisionVersionGreaterThan(Integer decisionVersion)
Only select decisions which version are greater than a certain version.
|
DmnDecisionQuery |
decisionVersionGreaterThanOrEquals(Integer decisionVersion)
Only select decisions which version are greater than or equals a certain version.
|
DmnDecisionQuery |
decisionVersionLowerThan(Integer decisionVersion)
Only select decisions which version are lower than a certain version.
|
DmnDecisionQuery |
decisionVersionLowerThanOrEquals(Integer decisionVersion)
Only select decisions which version are lower than or equals a certain version.
|
DmnDecisionQuery |
decisionWithoutTenantId()
Only select decisions that do not have a tenant id.
|
DecisionQueryImpl |
deploymentId(String deploymentId)
Only select decisions that are deployed in a deployment with the given deployment id
|
DecisionQueryImpl |
deploymentIds(Set<String> deploymentIds)
Select decisions that are deployed in deployments with the given set of ids
|
long |
executeCount(CommandContext commandContext) |
List<DmnDecision> |
executeList(CommandContext commandContext)
Executes the actual query to retrieve the list of results.
|
String |
getCategory() |
String |
getCategoryLike() |
String |
getCategoryNotEquals() |
String |
getDecisionId() |
String |
getDecisionType() |
String |
getDecisionTypeLike() |
String |
getDeploymentId() |
Set<String> |
getDeploymentIds() |
String |
getId() |
Set<String> |
getIds() |
String |
getKey() |
String |
getKeyLike() |
String |
getName() |
String |
getNameLike() |
String |
getResourceName() |
String |
getResourceNameLike() |
String |
getTenantId() |
String |
getTenantIdLike() |
Integer |
getVersion() |
Integer |
getVersionGt() |
Integer |
getVersionGte() |
Integer |
getVersionLt() |
Integer |
getVersionLte() |
boolean |
isLatest() |
boolean |
isWithoutTenantId() |
DecisionQueryImpl |
latestVersion()
Only select the decisions which are the latest deployed (ie.
|
DmnDecisionQuery |
orderByDecisionCategory()
Order by the category of the decisions (needs to be followed by
Query.asc() or Query.desc()). |
DmnDecisionQuery |
orderByDecisionId()
Order by the id of the decisions (needs to be followed by
Query.asc() or Query.desc()). |
DmnDecisionQuery |
orderByDecisionKey()
Order by decision key (needs to be followed by
Query.asc() or Query.desc()). |
DmnDecisionQuery |
orderByDecisionName()
Order by the name of the decisions (needs to be followed by
Query.asc() or Query.desc()). |
DmnDecisionQuery |
orderByDecisionType()
Order by decision type (needs to be followed by
Query.asc() or Query.desc()). |
DmnDecisionQuery |
orderByDecisionVersion()
Order by the version of the decisions (needs to be followed by
Query.asc() or Query.desc()). |
DmnDecisionQuery |
orderByDeploymentId()
Order by deployment id (needs to be followed by
Query.asc() or Query.desc()). |
DmnDecisionQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterprotected String id
protected String category
protected String categoryLike
protected String categoryNotEquals
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 Integer versionGt
protected Integer versionGte
protected Integer versionLt
protected Integer versionLte
protected boolean latest
protected String decisionId
protected String tenantId
protected String tenantIdLike
protected boolean withoutTenantId
protected String decisionType
protected String decisionTypeLike
public DecisionQueryImpl()
public DecisionQueryImpl(CommandContext commandContext)
public DecisionQueryImpl(CommandExecutor commandExecutor)
public DecisionQueryImpl decisionId(String decisionId)
DmnDecisionQuerydecisionId in interface DmnDecisionQuerypublic DmnDecisionQuery decisionIds(Set<String> decisionIds)
DmnDecisionQuerydecisionIds in interface DmnDecisionQuerypublic DecisionQueryImpl decisionCategory(String category)
DmnDecisionQuerydecisionCategory in interface DmnDecisionQuerypublic DecisionQueryImpl decisionCategoryLike(String categoryLike)
DmnDecisionQuerydecisionCategoryLike in interface DmnDecisionQuerypublic DecisionQueryImpl decisionCategoryNotEquals(String categoryNotEquals)
DmnDecisionQuerydecisionCategoryNotEquals in interface DmnDecisionQueryDmnDeploymentBuilder.category(String)public DecisionQueryImpl decisionName(String name)
DmnDecisionQuerydecisionName in interface DmnDecisionQuerypublic DecisionQueryImpl decisionNameLike(String nameLike)
DmnDecisionQuerydecisionNameLike in interface DmnDecisionQuerypublic DecisionQueryImpl deploymentId(String deploymentId)
DmnDecisionQuerydeploymentId in interface DmnDecisionQuerypublic DecisionQueryImpl deploymentIds(Set<String> deploymentIds)
DmnDecisionQuerydeploymentIds in interface DmnDecisionQuerypublic DecisionQueryImpl decisionKey(String key)
DmnDecisionQuerydecisionKey in interface DmnDecisionQuerypublic DecisionQueryImpl decisionKeyLike(String keyLike)
DmnDecisionQuerydecisionKeyLike in interface DmnDecisionQuerypublic DecisionQueryImpl decisionResourceName(String resourceName)
DmnDecisionQuerydecisionResourceName in interface DmnDecisionQuerypublic DecisionQueryImpl decisionResourceNameLike(String resourceNameLike)
DmnDecisionQuerydecisionResourceNameLike in interface DmnDecisionQuerypublic DecisionQueryImpl decisionVersion(Integer version)
DmnDecisionQueryDmnDecisionQuery.decisionKey(String)decisionVersion in interface DmnDecisionQuerypublic DmnDecisionQuery decisionVersionGreaterThan(Integer decisionVersion)
DmnDecisionQuerydecisionVersionGreaterThan in interface DmnDecisionQuerypublic DmnDecisionQuery decisionVersionGreaterThanOrEquals(Integer decisionVersion)
DmnDecisionQuerydecisionVersionGreaterThanOrEquals in interface DmnDecisionQuerypublic DmnDecisionQuery decisionVersionLowerThan(Integer decisionVersion)
DmnDecisionQuerydecisionVersionLowerThan in interface DmnDecisionQuerypublic DmnDecisionQuery decisionVersionLowerThanOrEquals(Integer decisionVersion)
DmnDecisionQuerydecisionVersionLowerThanOrEquals in interface DmnDecisionQueryprotected void checkVersion(Integer version)
public DecisionQueryImpl latestVersion()
DmnDecisionQueryCan also be used without any other criteria (ie. query.latest().list()), which will then give all the latest versions of all the deployed decisions.
latestVersion in interface DmnDecisionQuerypublic DmnDecisionQuery decisionTenantId(String tenantId)
DmnDecisionQuerydecisionTenantId in interface DmnDecisionQuerypublic DmnDecisionQuery decisionTenantIdLike(String tenantIdLike)
DmnDecisionQuerydecisionTenantIdLike in interface DmnDecisionQuerypublic DmnDecisionQuery decisionWithoutTenantId()
DmnDecisionQuerydecisionWithoutTenantId in interface DmnDecisionQuerypublic DmnDecisionQuery decisionType(String decisionType)
DmnDecisionQuerydecisionType in interface DmnDecisionQuerypublic DmnDecisionQuery decisionTypeLike(String decisionTypeLike)
DmnDecisionQuerydecisionTypeLike in interface DmnDecisionQuerypublic DmnDecisionQuery orderByDeploymentId()
DmnDecisionQueryQuery.asc() or Query.desc()).orderByDeploymentId in interface DmnDecisionQuerypublic DmnDecisionQuery orderByDecisionKey()
DmnDecisionQueryQuery.asc() or Query.desc()).orderByDecisionKey in interface DmnDecisionQuerypublic DmnDecisionQuery orderByDecisionCategory()
DmnDecisionQueryQuery.asc() or Query.desc()).orderByDecisionCategory in interface DmnDecisionQuerypublic DmnDecisionQuery orderByDecisionId()
DmnDecisionQueryQuery.asc() or Query.desc()).orderByDecisionId in interface DmnDecisionQuerypublic DmnDecisionQuery orderByDecisionVersion()
DmnDecisionQueryQuery.asc() or Query.desc()).orderByDecisionVersion in interface DmnDecisionQuerypublic DmnDecisionQuery orderByDecisionName()
DmnDecisionQueryQuery.asc() or Query.desc()).orderByDecisionName in interface DmnDecisionQuerypublic DmnDecisionQuery orderByTenantId()
DmnDecisionQueryQuery.asc() or Query.desc()).orderByTenantId in interface DmnDecisionQuerypublic DmnDecisionQuery orderByDecisionType()
DmnDecisionQueryQuery.asc() or Query.desc()).orderByDecisionType in interface DmnDecisionQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<DmnDecisionQuery,DmnDecision>public List<DmnDecision> executeList(CommandContext commandContext)
AbstractQueryexecuteList in class AbstractQuery<DmnDecisionQuery,DmnDecision>public String getDeploymentId()
public String getId()
public String getDecisionId()
public String getName()
public String getNameLike()
public String getKey()
public String getKeyLike()
public Integer getVersion()
public Integer getVersionGt()
public Integer getVersionGte()
public Integer getVersionLt()
public Integer getVersionLte()
public boolean isLatest()
public String getCategory()
public String getCategoryLike()
public String getResourceName()
public String getResourceNameLike()
public String getCategoryNotEquals()
public String getTenantId()
public String getTenantIdLike()
public boolean isWithoutTenantId()
public String getDecisionType()
public String getDecisionTypeLike()
Copyright © 2023 Flowable. All rights reserved.