Class AuditRelatedId

java.lang.Object
org.hibernate.envers.query.criteria.AuditRelatedId

public class AuditRelatedId extends Object
Create restrictions on an id of an entity related to an audited entity.
  • Constructor Details

  • Method Details

    • eq

      public AuditCriterion eq(Object id)
      Applies an "equals" criteria predicate.
      Parameters:
      id - the value to test equality with
      Returns:
      the criterion.
    • ne

      public AuditCriterion ne(Object id)
      Applies a "not equals" criteria predicate.
      Parameters:
      id - the value to test inequality with
      Returns:
      the criterion
    • in

      public AuditCriterion in(Object[] values)
      Applies an "in" criteria predicate.
      Parameters:
      values - the values to test with
      Returns:
      the criterion