Apache CXF API

org.apache.cxf.jaxrs.impl.tl
Class ThreadLocalSearchContext

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy<SearchContext>
      extended by org.apache.cxf.jaxrs.impl.tl.ThreadLocalSearchContext
All Implemented Interfaces:
SearchContext, ThreadLocalProxy<SearchContext>

public class ThreadLocalSearchContext
extends AbstractThreadLocalProxy<SearchContext>
implements SearchContext


Constructor Summary
ThreadLocalSearchContext()
           
 
Method Summary
 SearchCondition getCondition(Class cls)
          Returns the typed search condition representing the search expression
 String getSearchExpression()
          Returns the actual query expression
 
Methods inherited from class org.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy
get, remove, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalSearchContext

public ThreadLocalSearchContext()
Method Detail

getCondition

public SearchCondition getCondition(Class 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