Apache CXF API

org.apache.cxf.jaxrs.ext.search
Class SearchContextImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.ext.search.SearchContextImpl
All Implemented Interfaces:
SearchContext

public class SearchContextImpl
extends Object
implements SearchContext


Field Summary
static String SEARCH_QUERY
           
static String SHORT_SEARCH_QUERY
           
 
Constructor Summary
SearchContextImpl(Message message)
           
 
Method Summary
<T> SearchCondition<T>
getCondition(Class<T> cls)
          Returns the typed search condition representing the search expression
 String getSearchExpression()
          Returns the actual query expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEARCH_QUERY

public static final String SEARCH_QUERY
See Also:
Constant Field Values

SHORT_SEARCH_QUERY

public static final String SHORT_SEARCH_QUERY
See Also:
Constant Field Values
Constructor Detail

SearchContextImpl

public SearchContextImpl(Message message)
Method Detail

getCondition

public <T> SearchCondition<T> getCondition(Class<T> cls)
Description copied from interface: SearchContext
Returns the typed search condition representing the search expression

Specified by:
getCondition in interface SearchContext
Parameters:
cls - the type of the bean(s) the new search condition will attempt to match
Returns:
the search condition

getSearchExpression

public String getSearchExpression()
Description copied from interface: SearchContext
Returns the actual query expression

Specified by:
getSearchExpression in interface SearchContext
Returns:
the expression

Apache CXF API

Apache CXF