org.hibernate.envers.query.criteria
Class AuditId

java.lang.Object
  extended by org.hibernate.envers.query.criteria.AuditId

public class AuditId
extends Object

Create restrictions and projections for the id of an audited entity.

Author:
Adam Warski (adam at warski dot org)

Constructor Summary
AuditId()
           
 
Method Summary
 AuditProjection count(String idPropertyName)
          Projection counting the values TODO: idPropertyName isn't needed, should be read from the configuration
 AuditCriterion eq(Object id)
          Apply an "equal" constraint
 AuditCriterion ne(Object id)
          Apply a "not equal" constraint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditId

public AuditId()
Method Detail

eq

public AuditCriterion eq(Object id)
Apply an "equal" constraint


ne

public AuditCriterion ne(Object id)
Apply a "not equal" constraint


count

public AuditProjection count(String idPropertyName)
Projection counting the values TODO: idPropertyName isn't needed, should be read from the configuration

Parameters:
idPropertyName - Name of the identifier property


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.