Apache CXF API

org.apache.cxf.jaxrs.ext.search.jpa
Class AbstractJPATypedQueryVisitor<T,T1,E>

java.lang.Object
  extended by org.apache.cxf.jaxrs.ext.search.AbstractSearchConditionVisitor<T,E>
      extended by org.apache.cxf.jaxrs.ext.search.jpa.AbstractJPATypedQueryVisitor<T,T1,E>
All Implemented Interfaces:
SearchConditionVisitor<T,E>
Direct Known Subclasses:
JPACriteriaQueryVisitor, JPATypedQueryVisitor

public abstract class AbstractJPATypedQueryVisitor<T,T1,E>
extends AbstractSearchConditionVisitor<T,E>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.jaxrs.ext.search.AbstractSearchConditionVisitor
AbstractSearchConditionVisitor.ClassValue
 
Constructor Summary
protected AbstractJPATypedQueryVisitor(EntityManager em, Class<T> tClass)
           
protected AbstractJPATypedQueryVisitor(EntityManager em, Class<T> tClass, Class<T1> queryClass)
           
protected AbstractJPATypedQueryVisitor(EntityManager em, Class<T> tClass, Class<T1> queryClass, Map<String,String> fieldMap)
           
protected AbstractJPATypedQueryVisitor(EntityManager em, Class<T> tClass, Class<T1> queryClass, Map<String,String> fieldMap, List<String> joinProps)
           
protected AbstractJPATypedQueryVisitor(EntityManager em, Class<T> tClass, List<String> joinProps)
           
protected AbstractJPATypedQueryVisitor(EntityManager em, Class<T> tClass, Map<String,String> fieldMap)
           
protected AbstractJPATypedQueryVisitor(EntityManager em, Class<T> tClass, Map<String,String> fieldMap, List<String> joinProps)
           
 
Method Summary
protected  CriteriaBuilder getCriteriaBuilder()
           
  getCriteriaQuery()
           
protected  EntityManager getEntityManager()
           
protected  Class<T1> getQueryClass()
           
  getRoot()
           
  getTypedQuery()
           
 void visit(SearchCondition<T> sc)
           
 
Methods inherited from class org.apache.cxf.jaxrs.ext.search.AbstractSearchConditionVisitor
getPrimitiveFieldClass, getPrimitiveFieldClass, getPrimitiveFieldClass, getRealPropertyName, setPrimitiveFieldTypeMap, visitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.jaxrs.ext.search.SearchConditionVisitor
getQuery
 

Constructor Detail

AbstractJPATypedQueryVisitor

protected AbstractJPATypedQueryVisitor(EntityManager em,
                                       Class<T> tClass)

AbstractJPATypedQueryVisitor

protected AbstractJPATypedQueryVisitor(EntityManager em,
                                       Class<T> tClass,
                                       Class<T1> queryClass)

AbstractJPATypedQueryVisitor

protected AbstractJPATypedQueryVisitor(EntityManager em,
                                       Class<T> tClass,
                                       Map<String,String> fieldMap)

AbstractJPATypedQueryVisitor

protected AbstractJPATypedQueryVisitor(EntityManager em,
                                       Class<T> tClass,
                                       List<String> joinProps)

AbstractJPATypedQueryVisitor

protected AbstractJPATypedQueryVisitor(EntityManager em,
                                       Class<T> tClass,
                                       Map<String,String> fieldMap,
                                       List<String> joinProps)

AbstractJPATypedQueryVisitor

protected AbstractJPATypedQueryVisitor(EntityManager em,
                                       Class<T> tClass,
                                       Class<T1> queryClass,
                                       Map<String,String> fieldMap)

AbstractJPATypedQueryVisitor

protected AbstractJPATypedQueryVisitor(EntityManager em,
                                       Class<T> tClass,
                                       Class<T1> queryClass,
                                       Map<String,String> fieldMap,
                                       List<String> joinProps)
Method Detail

getEntityManager

protected EntityManager getEntityManager()

visit

public void visit(SearchCondition<T> sc)

getCriteriaBuilder

protected CriteriaBuilder getCriteriaBuilder()

getQueryClass

protected Class<T1> getQueryClass()

getRoot

public  getRoot()

getTypedQuery

public  getTypedQuery()

getCriteriaQuery

public  getCriteriaQuery()

Apache CXF API

Apache CXF