Class CaseExecutionQueryImpl

    • Field Detail

      • caseDefinitionId

        protected java.lang.String caseDefinitionId
      • caseDefinitionKey

        protected java.lang.String caseDefinitionKey
      • activityId

        protected java.lang.String activityId
      • caseExecutionId

        protected java.lang.String caseExecutionId
      • caseInstanceId

        protected java.lang.String caseInstanceId
      • businessKey

        protected java.lang.String businessKey
      • required

        protected java.lang.Boolean required
      • isTenantIdSet

        protected boolean isTenantIdSet
      • tenantIds

        protected java.lang.String[] tenantIds
      • superProcessInstanceId

        protected java.lang.String superProcessInstanceId
      • subProcessInstanceId

        protected java.lang.String subProcessInstanceId
      • superCaseInstanceId

        protected java.lang.String superCaseInstanceId
      • subCaseInstanceId

        protected java.lang.String subCaseInstanceId
      • deploymentId

        protected java.lang.String deploymentId
    • Constructor Detail

      • CaseExecutionQueryImpl

        public CaseExecutionQueryImpl()
      • CaseExecutionQueryImpl

        public CaseExecutionQueryImpl​(CommandExecutor commandExecutor)
    • Method Detail

      • caseDefinitionId

        public CaseExecutionQuery caseDefinitionId​(java.lang.String caseDefinitionId)
        Description copied from interface: CaseExecutionQuery
        Only select case executions which have the given case definition id.
        Specified by:
        caseDefinitionId in interface CaseExecutionQuery
        Parameters:
        caseDefinitionId - the id of the case definition
      • caseDefinitionKey

        public CaseExecutionQuery caseDefinitionKey​(java.lang.String caseDefinitionKey)
        Description copied from interface: CaseExecutionQuery
        Only select case executions which have the given case definition key.
        Specified by:
        caseDefinitionKey in interface CaseExecutionQuery
        Parameters:
        caseDefinitionKey - the key of the case definition
      • caseInstanceBusinessKey

        public CaseExecutionQuery caseInstanceBusinessKey​(java.lang.String caseInstanceBusinessKey)
        Description copied from interface: CaseExecutionQuery
        Only select case executions that belong to a case instance with the given business key
        Specified by:
        caseInstanceBusinessKey in interface CaseExecutionQuery
        Parameters:
        caseInstanceBusinessKey - the business key of the case instance
      • caseInstanceVariableValueEquals

        public CaseExecutionQuery caseInstanceVariableValueEquals​(java.lang.String name,
                                                                  java.lang.Object value)
        Description copied from interface: CaseExecutionQuery
        Only select case executions which are part of a case instance that have a variable with the given name set to the given value. The type of variable is determined based on the value, using types configured in ProcessEngineConfiguration#getVariableSerializers(). Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        caseInstanceVariableValueEquals in interface CaseExecutionQuery
        Parameters:
        name - the name of the variable, cannot be null
        value - the value of the variable
      • caseInstanceVariableValueNotEquals

        public CaseExecutionQuery caseInstanceVariableValueNotEquals​(java.lang.String name,
                                                                     java.lang.Object value)
        Description copied from interface: CaseExecutionQuery
        Only select case executions which are part of a case instance that have a variable with the given name, but with a different value than the passed value. Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        caseInstanceVariableValueNotEquals in interface CaseExecutionQuery
        Parameters:
        name - the name of the variable, cannot be null
        value - the value of the variable
      • caseInstanceVariableValueGreaterThan

        public CaseExecutionQuery caseInstanceVariableValueGreaterThan​(java.lang.String name,
                                                                       java.lang.Object value)
        Description copied from interface: CaseExecutionQuery
        Only select case executions which are part of a case instance that have a variable with the given name and a variable value greater than the passed value. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        caseInstanceVariableValueGreaterThan in interface CaseExecutionQuery
        Parameters:
        name - the name of the variable, cannot be null
        value - the value of the variable, cannot be null
      • caseInstanceVariableValueGreaterThanOrEqual

        public CaseExecutionQuery caseInstanceVariableValueGreaterThanOrEqual​(java.lang.String name,
                                                                              java.lang.Object value)
        Description copied from interface: CaseExecutionQuery
        Only select case executions which are part of a case instance that have a variable value greater than or equal to the passed value. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        caseInstanceVariableValueGreaterThanOrEqual in interface CaseExecutionQuery
        Parameters:
        name - the name of the variable, cannot be null
        value - the value of the variable, cannot be null
      • caseInstanceVariableValueLessThan

        public CaseExecutionQuery caseInstanceVariableValueLessThan​(java.lang.String name,
                                                                    java.lang.Object value)
        Description copied from interface: CaseExecutionQuery
        Only select case executions which are part of a case instance that have a variable value less than the passed value. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        caseInstanceVariableValueLessThan in interface CaseExecutionQuery
        Parameters:
        name - the name of the variable, cannot be null
        value - the value of the variable, cannot be null
      • caseInstanceVariableValueLessThanOrEqual

        public CaseExecutionQuery caseInstanceVariableValueLessThanOrEqual​(java.lang.String name,
                                                                           java.lang.Object value)
        Description copied from interface: CaseExecutionQuery
        Only select case executions which are part of a case instance that have a variable value less than or equal to the passed value. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Specified by:
        caseInstanceVariableValueLessThanOrEqual in interface CaseExecutionQuery
        Parameters:
        name - the name of the variable, cannot be null
        value - the value of the variable, cannot be null
      • caseInstanceVariableValueLike

        public CaseExecutionQuery caseInstanceVariableValueLike​(java.lang.String name,
                                                                java.lang.String value)
        Description copied from interface: CaseExecutionQuery
        Only select case executions which are part of a case instance that have a variable value like the given value. This can be used on string variables only.
        Specified by:
        caseInstanceVariableValueLike in interface CaseExecutionQuery
        Parameters:
        name - the name of the variable, cannot be null
        value - the value of the variable, cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
      • getCaseDefinitionId

        public java.lang.String getCaseDefinitionId()
      • getCaseDefinitionKey

        public java.lang.String getCaseDefinitionKey()
      • getActivityId

        public java.lang.String getActivityId()
      • getCaseExecutionId

        public java.lang.String getCaseExecutionId()
      • getCaseInstanceId

        public java.lang.String getCaseInstanceId()
      • getBusinessKey

        public java.lang.String getBusinessKey()
      • isCaseInstancesOnly

        public boolean isCaseInstancesOnly()
      • getSuperProcessInstanceId

        public java.lang.String getSuperProcessInstanceId()
      • getSubProcessInstanceId

        public java.lang.String getSubProcessInstanceId()
      • getSuperCaseInstanceId

        public java.lang.String getSuperCaseInstanceId()
      • getSubCaseInstanceId

        public java.lang.String getSubCaseInstanceId()
      • getDeploymentId

        public java.lang.String getDeploymentId()
      • isRequired

        public java.lang.Boolean isRequired()