Class JpaUtils.Accumulator

java.lang.Object
com.atlassian.bamboo.jpa.JpaUtils.Accumulator
Enclosing class:
JpaUtils

public static class JpaUtils.Accumulator extends Object
  • Constructor Details

    • Accumulator

      public Accumulator()
  • Method Details

    • add

      public JpaUtils.Accumulator add(javax.persistence.criteria.Predicate predicate)
      Adds predicate to the list of predicates
    • add

      public JpaUtils.Accumulator add(List<javax.persistence.criteria.Predicate> predicates)
      Adds predicates to the list of predicates
    • toWhere

      public void toWhere(javax.persistence.criteria.CriteriaQuery<?> q)
      Applies all accumulated predicates to the where condition of the supplied query