org.kuali.rice.core.jpa.criteria
Class QueryByCriteria

java.lang.Object
  extended by org.kuali.rice.core.jpa.criteria.QueryByCriteria

public class QueryByCriteria
extends Object

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
static class QueryByCriteria.QueryByCriteriaType
           
 
Field Summary
private  Criteria criteria
           
private  javax.persistence.EntityManager entityManager
           
private  QueryByCriteria.QueryByCriteriaType type
           
 
Constructor Summary
QueryByCriteria(javax.persistence.EntityManager entityManager, Criteria criteria)
           
QueryByCriteria(javax.persistence.EntityManager entityManager, Criteria criteria, QueryByCriteria.QueryByCriteriaType type)
           
 
Method Summary
 javax.persistence.Query toCountQuery()
           
 javax.persistence.Query toQuery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityManager

private javax.persistence.EntityManager entityManager

criteria

private Criteria criteria

type

private QueryByCriteria.QueryByCriteriaType type
Constructor Detail

QueryByCriteria

public QueryByCriteria(javax.persistence.EntityManager entityManager,
                       Criteria criteria)

QueryByCriteria

public QueryByCriteria(javax.persistence.EntityManager entityManager,
                       Criteria criteria,
                       QueryByCriteria.QueryByCriteriaType type)
Method Detail

toQuery

public javax.persistence.Query toQuery()

toCountQuery

public javax.persistence.Query toCountQuery()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.