Package org.apache.cxf.jaxrs.ext.search
Interface QueryContext
-
public interface QueryContextCaptures the converted search expression.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> StringgetConvertedExpression(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>
EgetConvertedExpression(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<T> StringgetConvertedExpression(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>
EgetConvertedExpression(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
<T> String getConvertedExpression(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(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
-
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
-
-