org.hibernate.envers.revisioninfo
Class RevisionInfoQueryCreator
java.lang.Object
org.hibernate.envers.revisioninfo.RevisionInfoQueryCreator
public class RevisionInfoQueryCreator
- extends Object
- Author:
- Adam Warski (adam at warski dot org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RevisionInfoQueryCreator
public RevisionInfoQueryCreator(String revisionInfoEntityName,
String revisionInfoIdName,
String revisionInfoTimestampName,
boolean timestampAsDate)
getRevisionDateQuery
public Query getRevisionDateQuery(Session session,
Number revision)
getRevisionNumberForDateQuery
public Query getRevisionNumberForDateQuery(Session session,
Date date)
getRevisionsQuery
public Query getRevisionsQuery(Session session,
Set<Number> revisions)
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.