Interface HistoricCaseInstanceQuery

    • Method Detail

      • caseInstanceNameLike

        HistoricCaseInstanceQuery caseInstanceNameLike​(String caseInstanceNameLike)
        Only select historic case instances like the given name.
      • caseInstanceNameLikeIgnoreCase

        HistoricCaseInstanceQuery caseInstanceNameLikeIgnoreCase​(String nameLikeIgnoreCase)
        Only select case instances that have a name like (case insensitive) the given name.
        Parameters:
        nameLikeIgnoreCase - cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
      • caseInstanceBusinessKey

        HistoricCaseInstanceQuery caseInstanceBusinessKey​(String caseInstanceBusinessKey)
        Only select historic case instances with the given business key.
      • caseInstanceBusinessStatus

        HistoricCaseInstanceQuery caseInstanceBusinessStatus​(String caseInstanceBusinessStatus)
        Only select historic case instances with the given business status.
      • caseInstanceParentId

        HistoricCaseInstanceQuery caseInstanceParentId​(String parentId)
        Only select historic case instances with the parent identifier.
      • withoutCaseInstanceParent

        HistoricCaseInstanceQuery withoutCaseInstanceParent()
        Only select historic case instances without a parent identifier.
      • caseDefinitionId

        HistoricCaseInstanceQuery caseDefinitionId​(String caseDefinitionId)
        Only select historic case instances with the given case definition identifier.
      • caseDefinitionIds

        HistoricCaseInstanceQuery caseDefinitionIds​(Set<String> caseDefinitionIds)
        Only select historic case instances with the given case definition ids.
      • caseDefinitionCategory

        HistoricCaseInstanceQuery caseDefinitionCategory​(String caseDefinitionCategory)
        Only select historic case instances with the given case definition category.
      • caseDefinitionName

        HistoricCaseInstanceQuery caseDefinitionName​(String caseDefinitionName)
        Only select historic case instances with the given case definition name.
      • caseDefinitionVersion

        HistoricCaseInstanceQuery caseDefinitionVersion​(Integer caseDefinitionVersion)
        Only select historic case instances with the given case definition version.
      • includeCaseVariables

        HistoricCaseInstanceQuery includeCaseVariables()
        Include historic case variables in the historic case query result
      • deploymentId

        HistoricCaseInstanceQuery deploymentId​(String deploymentId)
        Only select historic case instances that are defined by a case definition with the given deployment identifier.
      • deploymentIds

        HistoricCaseInstanceQuery deploymentIds​(List<String> deploymentIds)
        Only select historic case instances that are defined by a case definition with one of the given deployment identifiers.
      • startedBefore

        HistoricCaseInstanceQuery startedBefore​(Date beforeTime)
        Only select historic case instances that are started before the provided date time.
      • startedAfter

        HistoricCaseInstanceQuery startedAfter​(Date afterTime)
        Only select historic case instances that are started after the provided date time.
      • finishedBefore

        HistoricCaseInstanceQuery finishedBefore​(Date beforeTime)
        Only select historic case instances that are finished before the provided date time.
      • finishedAfter

        HistoricCaseInstanceQuery finishedAfter​(Date afterTime)
        Only select historic case instances that are finished after the provided date time.
      • lastReactivatedBefore

        HistoricCaseInstanceQuery lastReactivatedBefore​(Date beforeTime)
        Only select historic case instance that are reactivated before the provided date time.
      • lastReactivatedAfter

        HistoricCaseInstanceQuery lastReactivatedAfter​(Date afterTime)
        Only select historic case instance that are reactivated after the provided date time.
      • lastReactivatedBy

        HistoricCaseInstanceQuery lastReactivatedBy​(String userId)
        Only select historic case instances that are reactivated by the provided user identifier.
      • caseInstanceCallbackId

        HistoricCaseInstanceQuery caseInstanceCallbackId​(String callbackId)
        Only select historic case instances that have the provided callback identifier.
      • caseInstanceCallbackType

        HistoricCaseInstanceQuery caseInstanceCallbackType​(String callbackType)
        Only select historic case instances that have the provided callback type.
      • withoutCaseInstanceCallbackId

        HistoricCaseInstanceQuery withoutCaseInstanceCallbackId()
        Only select historic case instances that do not have a callback identifier.
      • caseInstanceReferenceId

        HistoricCaseInstanceQuery caseInstanceReferenceId​(String referenceId)
        Only select historic case instance that have the provided reference identifier.
      • caseInstanceReferenceType

        HistoricCaseInstanceQuery caseInstanceReferenceType​(String referenceType)
        Only select historic case instance that have the provided reference type.
      • caseInstanceTenantId

        HistoricCaseInstanceQuery caseInstanceTenantId​(String tenantId)
        Only select historic case instances that have the tenant identifier.
      • caseInstanceWithoutTenantId

        HistoricCaseInstanceQuery caseInstanceWithoutTenantId()
        Only select historic case instances that have no tenant identifier.
      • or

        HistoricCaseInstanceQuery or()
        Begin an OR statement. Make sure you invoke the endOr method at the end of your OR statement. Only one OR statement is allowed, for the second call to this method an exception will be thrown.
      • endOr

        HistoricCaseInstanceQuery endOr()
        End an OR statement. Only one OR statement is allowed, for the second call to this method an exception will be thrown.
      • activePlanItemDefinitionId

        HistoricCaseInstanceQuery activePlanItemDefinitionId​(String planItemDefinitionId)
        Select the historic case instances with an active plan item definition id equal to the provided definition id.
      • activePlanItemDefinitionIds

        HistoricCaseInstanceQuery activePlanItemDefinitionIds​(Set<String> planItemDefinitionIds)
        Select the historic case instances with an active plan item definition id equal to one of the provided definition ids.
      • involvedUser

        HistoricCaseInstanceQuery involvedUser​(String userId)
        Select the historic case instances with which the user with the given id is involved.
      • involvedUser

        HistoricCaseInstanceQuery involvedUser​(String userId,
                                               String identityLinkType)
        Select the historic case instances with which the user with the given id and identity link type are involved.
      • involvedGroup

        HistoricCaseInstanceQuery involvedGroup​(String groupId,
                                                String identityLinkType)
        Select the historic case instances with which the group with the given id and identity link type are involved.
      • involvedGroups

        HistoricCaseInstanceQuery involvedGroups​(Set<String> groupIds)
        Select the historic case instances with which the groups with the given ids are involved.
      • variableValueEquals

        HistoricCaseInstanceQuery variableValueEquals​(String name,
                                                      Object value)
        Only select case instances which had a global variable with the given value when they ended. Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Parameters:
        name - of the variable, cannot be null.
      • variableValueEquals

        HistoricCaseInstanceQuery variableValueEquals​(Object value)
        Only select case instances which had at least one global variable with the given value when they ended. Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
      • variableValueEqualsIgnoreCase

        HistoricCaseInstanceQuery variableValueEqualsIgnoreCase​(String name,
                                                                String value)
        Only select historic case instances which have a string variable with the given value, case insensitive.
        Parameters:
        name - name of the variable, cannot be null.
        value - value of the variable, cannot be null.
      • variableValueNotEquals

        HistoricCaseInstanceQuery variableValueNotEquals​(String name,
                                                         Object value)
        Only select case instances which had a global variable with the given name, but with a different value than the passed value when they ended. Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Parameters:
        name - of the variable, cannot be null.
      • variableValueGreaterThan

        HistoricCaseInstanceQuery variableValueGreaterThan​(String name,
                                                           Object value)
        Only select case instances which had a global variable value greater than the passed value when they ended. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • variableValueGreaterThanOrEqual

        HistoricCaseInstanceQuery variableValueGreaterThanOrEqual​(String name,
                                                                  Object value)
        Only select case instances which had a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • variableValueLessThan

        HistoricCaseInstanceQuery variableValueLessThan​(String name,
                                                        Object value)
        Only select case instances which had a global variable value less than the passed value when the ended. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • variableValueLessThanOrEqual

        HistoricCaseInstanceQuery variableValueLessThanOrEqual​(String name,
                                                               Object value)
        Only select case instances which has a global variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.
        Parameters:
        name - cannot be null.
        value - cannot be null.
      • variableValueLike

        HistoricCaseInstanceQuery variableValueLike​(String name,
                                                    String value)
        Only select case instances which had global variable value like the given value when they ended. This can be used on string variables only.
        Parameters:
        name - cannot be null.
        value - cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
      • variableValueLikeIgnoreCase

        HistoricCaseInstanceQuery variableValueLikeIgnoreCase​(String name,
                                                              String value)
        Only select case instances which had global variable value like (case insensitive) the given value when they ended. This can be used on string variables only.
        Parameters:
        name - cannot be null.
        value - cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
      • variableExists

        HistoricCaseInstanceQuery variableExists​(String name)
        Only select case instances which have a variable with the given name.
        Parameters:
        name - cannot be null.
      • variableNotExists

        HistoricCaseInstanceQuery variableNotExists​(String name)
        Only select case instances which does not have a variable with the given name.
        Parameters:
        name - cannot be null.
      • withLocalizationFallback

        HistoricCaseInstanceQuery withLocalizationFallback()
        Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.