Interface DecisionDefinitionQuery

    • Method Detail

      • decisionDefinitionId

        DecisionDefinitionQuery decisionDefinitionId​(java.lang.String decisionDefinitionId)
        Only select decision definition with the given id.
        Parameters:
        decisionDefinitionId - the id of the decision definition
      • decisionDefinitionIdIn

        DecisionDefinitionQuery decisionDefinitionIdIn​(java.lang.String... ids)
        Only select decision definitions with the given ids.
        Parameters:
        ids - list of decision definition ids
      • decisionDefinitionCategory

        DecisionDefinitionQuery decisionDefinitionCategory​(java.lang.String decisionDefinitionCategory)
        Only select decision definitions with the given category.
        Parameters:
        decisionDefinitionCategory - the category of the decision definition
      • decisionDefinitionCategoryLike

        DecisionDefinitionQuery decisionDefinitionCategoryLike​(java.lang.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. %category%
        Parameters:
        decisionDefinitionCategoryLike - the pattern to match the decision definition category
      • decisionDefinitionName

        DecisionDefinitionQuery decisionDefinitionName​(java.lang.String decisionDefinitionName)
        Only select decision definitions with the given name.
        Parameters:
        decisionDefinitionName - the name of the decision definition
      • decisionDefinitionKey

        DecisionDefinitionQuery decisionDefinitionKey​(java.lang.String decisionDefinitionKey)
        Only select decision definition with the given key.
        Parameters:
        decisionDefinitionKey - the key of the decision definition
      • decisionDefinitionKeyLike

        DecisionDefinitionQuery decisionDefinitionKeyLike​(java.lang.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. %key%
        Parameters:
        decisionDefinitionKeyLike - the pattern to match the decision definition key
      • decisionDefinitionNameLike

        DecisionDefinitionQuery decisionDefinitionNameLike​(java.lang.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. %name%
        Parameters:
        decisionDefinitionNameLike - the pattern to match the decision definition name
      • deploymentId

        DecisionDefinitionQuery deploymentId​(java.lang.String deploymentId)
        Only select decision definitions that are deployed in a deployment with the given deployment id.
        Parameters:
        deploymentId - the id of the deployment
      • deployedAfter

        DecisionDefinitionQuery deployedAfter​(java.util.Date deployedAfter)
        Only select decision definitions that were deployed after the given Date (exclusive).
        Parameters:
        java - .util.Date that constitutes the lower boundary for the deployment time in the query
      • deployedAt

        DecisionDefinitionQuery deployedAt​(java.util.Date deployedAt)
        Only select decision definitions that were deployed at the given Date.
        Parameters:
        java - .util.Date that all query results must match
      • decisionDefinitionVersion

        DecisionDefinitionQuery decisionDefinitionVersion​(java.lang.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​(java.lang.String resourceName)
        Only select decision definition with the given resource name.
        Parameters:
        resourceName - the name of the resource
      • decisionDefinitionResourceNameLike

        DecisionDefinitionQuery decisionDefinitionResourceNameLike​(java.lang.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. %resourceName%
        Parameters:
        resourceNameLike - the pattern to match the resource name
      • decisionRequirementsDefinitionId

        DecisionDefinitionQuery decisionRequirementsDefinitionId​(java.lang.String decisionRequirementsDefinitionId)
        Only select decision definitions which belongs to a decision requirements definition with the given id.
        Parameters:
        decisionRequirementsDefinitionId - id of the related decision requirements definition
      • decisionRequirementsDefinitionKey

        DecisionDefinitionQuery decisionRequirementsDefinitionKey​(java.lang.String decisionRequirementsDefinitionKey)
        Only select decision definitions which belongs to a decision requirements definition with the given key.
        Parameters:
        decisionRequirementsDefinitionKey - key of the related decision requirements definition
      • withoutDecisionRequirementsDefinition

        DecisionDefinitionQuery withoutDecisionRequirementsDefinition()
        Only select decision definitions which belongs to no decision requirements definition.
      • tenantIdIn

        DecisionDefinitionQuery tenantIdIn​(java.lang.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...).
      • versionTag

        DecisionDefinitionQuery versionTag​(java.lang.String versionTag)
        Only selects decision definitions with a specific version tag
      • versionTagLike

        DecisionDefinitionQuery versionTagLike​(java.lang.String versionTagLike)
        Only selects decision definitions with a version tag like the given
      • orderByDecisionRequirementsDefinitionKey

        DecisionDefinitionQuery orderByDecisionRequirementsDefinitionKey()
        Order by key of the decision requirements definition (needs to be followed by Query.asc() or Query.desc()). Note that the ordering of decision definitions without decision requirements definition is database-specific.
      • orderByVersionTag

        DecisionDefinitionQuery orderByVersionTag()
        Order by version tag (needs to be followed by Query.asc() or Query.desc()). Note: sorting by versionTag is a string based sort. There is no interpretation of the version which can lead to a sorting like: v0.1.0 v0.10.0 v0.2.0.