Apache CXF API

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

All Known Implementing Classes:
SearchContextImpl, ThreadLocalSearchContext

public interface SearchContext

Represents the current search expression


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
 

Method Detail

getCondition

<T> SearchCondition<T> getCondition(Class<T> cls)
Returns the typed search condition representing the search expression

Parameters:
cls - the type of the bean(s) the new search condition will attempt to match
Returns:
the search condition

getSearchExpression

String getSearchExpression()
Returns the actual query expression

Returns:
the expression

Apache CXF API

Apache CXF