Apache CXF API

org.apache.cxf.jaxrs.ext.search
Interface QueryContext


public interface QueryContext

Captures the converted search expression.


Method Summary
 String getConvertedExpression(String originalExpression)
          Uses SearchBean and a visitor registered with "search.visitor" contextual property to capture and convert the original expression
<T> String
getConvertedExpression(String originalExpression, Class<T> beanClass)
          Uses a custom bean and a visitor registered with "search.visitor" contextual property to capture and convert the original expression
<T,E> E
getConvertedExpression(String originalExpression, Class<T> beanClass, Class<E> queryClass)
          Uses a custom bean and query classes and a visitor registered with "search.visitor" contextual property to capture and convert the original expression
 

Method Detail

getConvertedExpression

String getConvertedExpression(String originalExpression)
Uses SearchBean and a visitor registered with "search.visitor" contextual property to capture and convert the original expression

Returns:
converted search expression

getConvertedExpression

<T> String getConvertedExpression(String originalExpression,
                                  Class<T> beanClass)
Uses a custom bean and a visitor registered with "search.visitor" contextual property to capture and convert the original expression

Returns:
converted search expression

getConvertedExpression

<T,E> E getConvertedExpression(String originalExpression,
                               Class<T> beanClass,
                               Class<E> queryClass)
Uses a custom bean and query classes and a visitor registered with "search.visitor" contextual property to capture and convert the original expression

Returns:
converted search expression

Apache CXF API

Apache CXF