org.camunda.bpm.engine.repository
Interface DecisionDefinitionQuery

All Superinterfaces:
Query<DecisionDefinitionQuery,DecisionDefinition>
All Known Implementing Classes:
DecisionDefinitionQueryImpl

public interface DecisionDefinitionQuery
extends Query<DecisionDefinitionQuery,DecisionDefinition>


Method Summary
 DecisionDefinitionQuery decisionDefinitionCategory(String decisionDefinitionCategory)
          Only select decision definitions with the given category.
 DecisionDefinitionQuery decisionDefinitionCategoryLike(String decisionDefinitionCategoryLike)
          Only select decision definitions where the category matches the given parameter.
 DecisionDefinitionQuery decisionDefinitionId(String decisionDefinitionId)
          Only select decision definition with the given id.
 DecisionDefinitionQuery decisionDefinitionIdIn(String... ids)
          Only select decision definitions with the given ids.
 DecisionDefinitionQuery decisionDefinitionKey(String decisionDefinitionKey)
          Only select decision definition with the given key.
 DecisionDefinitionQuery decisionDefinitionKeyLike(String decisionDefinitionKeyLike)
          Only select decision definitions where the key matches the given parameter.
 DecisionDefinitionQuery decisionDefinitionName(String decisionDefinitionName)
          Only select decision definitions with the given name.
 DecisionDefinitionQuery decisionDefinitionNameLike(String decisionDefinitionNameLike)
          Only select decision definitions where the name matches the given parameter.
 DecisionDefinitionQuery decisionDefinitionResourceName(String resourceName)
          Only select decision definition with the given resource name.
 DecisionDefinitionQuery decisionDefinitionResourceNameLike(String resourceNameLike)
          Only select decision definition with a resource name like the given.
 DecisionDefinitionQuery decisionDefinitionVersion(Integer decisionDefinitionVersion)
          Only select decision definition with a certain version.
 DecisionDefinitionQuery deploymentId(String deploymentId)
          Only select decision definitions that are deployed in a deployment with the given deployment id.
 DecisionDefinitionQuery includeDecisionDefinitionsWithoutTenantId()
          Select decision definitions which have no tenant id.
 DecisionDefinitionQuery latestVersion()
          Only select the decision definitions which are the latest deployed (ie.
 DecisionDefinitionQuery orderByDecisionDefinitionCategory()
          Order by the category of the decision definitions (needs to be followed by Query.asc() or Query.desc()).
 DecisionDefinitionQuery orderByDecisionDefinitionId()
          Order by the id of the decision definitions (needs to be followed by Query.asc() or Query.desc()).
 DecisionDefinitionQuery orderByDecisionDefinitionKey()
          Order by decision definition key (needs to be followed by Query.asc() or Query.desc()).
 DecisionDefinitionQuery orderByDecisionDefinitionName()
          Order by the name of the decision definitions (needs to be followed by Query.asc() or Query.desc()).
 DecisionDefinitionQuery orderByDecisionDefinitionVersion()
          Order by the version of the decision definitions (needs to be followed by Query.asc() or Query.desc()).
 DecisionDefinitionQuery orderByDeploymentId()
          Order by deployment id (needs to be followed by Query.asc() or Query.desc()).
 DecisionDefinitionQuery orderByTenantId()
          Order by tenant id (needs to be followed by Query.asc() or Query.desc()).
 DecisionDefinitionQuery tenantIdIn(String... tenantIds)
          Only select decision definitions with one of the given tenant ids.
 DecisionDefinitionQuery withoutTenantId()
          Only select decision definitions which have no tenant id.
 
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult
 

Method Detail

decisionDefinitionId

DecisionDefinitionQuery decisionDefinitionId(String decisionDefinitionId)
Only select decision definition with the given id.

Parameters:
decisionDefinitionId - the id of the decision definition

decisionDefinitionIdIn

DecisionDefinitionQuery decisionDefinitionIdIn(String... ids)
Only select decision definitions with the given ids.

Parameters:
ids - list of decision definition ids

decisionDefinitionCategory

DecisionDefinitionQuery decisionDefinitionCategory(String decisionDefinitionCategory)
Only select decision definitions with the given category.

Parameters:
decisionDefinitionCategory - the category of the decision definition

decisionDefinitionCategoryLike

DecisionDefinitionQuery decisionDefinitionCategoryLike(String decisionDefinitionCategoryLike)
Only select decision definitions where the category matches the given parameter. The syntax that should be used is the same as in SQL, eg. %activiti%

Parameters:
decisionDefinitionCategoryLike - the pattern to match the decision definition category

decisionDefinitionName

DecisionDefinitionQuery decisionDefinitionName(String decisionDefinitionName)
Only select decision definitions with the given name.

Parameters:
decisionDefinitionName - the name of the decision definition

decisionDefinitionKey

DecisionDefinitionQuery decisionDefinitionKey(String decisionDefinitionKey)
Only select decision definition with the given key.

Parameters:
decisionDefinitionKey - the key of the decision definition

decisionDefinitionKeyLike

DecisionDefinitionQuery decisionDefinitionKeyLike(String decisionDefinitionKeyLike)
Only select decision definitions where the key matches the given parameter. The syntax that should be used is the same as in SQL, eg. %activiti%

Parameters:
decisionDefinitionKeyLike - the pattern to match the decision definition key

decisionDefinitionNameLike

DecisionDefinitionQuery decisionDefinitionNameLike(String decisionDefinitionNameLike)
Only select decision definitions where the name matches the given parameter. The syntax that should be used is the same as in SQL, eg. %activiti%

Parameters:
decisionDefinitionNameLike - the pattern to match the decision definition name

deploymentId

DecisionDefinitionQuery deploymentId(String deploymentId)
Only select decision definitions that are deployed in a deployment with the given deployment id.

Parameters:
deploymentId - the id of the deployment

decisionDefinitionVersion

DecisionDefinitionQuery decisionDefinitionVersion(Integer decisionDefinitionVersion)
Only select decision definition with a certain version. Particularly useful when used in combination with decisionDefinitionKey(String)

Parameters:
decisionDefinitionVersion - the version of the decision definition

latestVersion

DecisionDefinitionQuery latestVersion()
Only select the decision definitions which are the latest deployed (ie. which have the highest version number for the given key). Can only be used in combination with decisionDefinitionKey(String) or decisionDefinitionKeyLike(String). Can also be used without any other criteria (ie. query.latest().list()), which will then give all the latest versions of all the deployed decision definitions.


decisionDefinitionResourceName

DecisionDefinitionQuery decisionDefinitionResourceName(String resourceName)
Only select decision definition with the given resource name.

Parameters:
resourceName - the name of the resource

decisionDefinitionResourceNameLike

DecisionDefinitionQuery decisionDefinitionResourceNameLike(String resourceNameLike)
Only select decision definition with a resource name like the given. The syntax that should be used is the same as in SQL, eg. %activiti%

Parameters:
resourceNameLike - the pattern to match the resource name

tenantIdIn

DecisionDefinitionQuery tenantIdIn(String... tenantIds)
Only select decision definitions with one of the given tenant ids.


withoutTenantId

DecisionDefinitionQuery withoutTenantId()
Only select decision definitions which have no tenant id.


includeDecisionDefinitionsWithoutTenantId

DecisionDefinitionQuery includeDecisionDefinitionsWithoutTenantId()
Select decision definitions which have no tenant id. Can be used in combination with tenantIdIn(String...).


orderByDecisionDefinitionCategory

DecisionDefinitionQuery orderByDecisionDefinitionCategory()
Order by the category of the decision definitions (needs to be followed by Query.asc() or Query.desc()).


orderByDecisionDefinitionKey

DecisionDefinitionQuery orderByDecisionDefinitionKey()
Order by decision definition key (needs to be followed by Query.asc() or Query.desc()).


orderByDecisionDefinitionId

DecisionDefinitionQuery orderByDecisionDefinitionId()
Order by the id of the decision definitions (needs to be followed by Query.asc() or Query.desc()).


orderByDecisionDefinitionVersion

DecisionDefinitionQuery orderByDecisionDefinitionVersion()
Order by the version of the decision definitions (needs to be followed by Query.asc() or Query.desc()).


orderByDecisionDefinitionName

DecisionDefinitionQuery orderByDecisionDefinitionName()
Order by the name of the decision definitions (needs to be followed by Query.asc() or Query.desc()).


orderByDeploymentId

DecisionDefinitionQuery orderByDeploymentId()
Order by deployment id (needs to be followed by Query.asc() or Query.desc()).


orderByTenantId

DecisionDefinitionQuery orderByTenantId()
Order by tenant id (needs to be followed by Query.asc() or Query.desc()). Note that the ordering of decision instances without tenant id is database-specific.



Copyright © 2016 camunda services GmbH. All rights reserved.