|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.jaxrs.ext.search.SearchContextImpl
public class SearchContextImpl
Field Summary | |
---|---|
static String |
CUSTOM_SEARCH_PARSER_PROPERTY
|
static String |
CUSTOM_SEARCH_QUERY_PARAM_NAME
|
static String |
SEARCH_QUERY
|
static String |
SHORT_SEARCH_QUERY
|
Constructor Summary | |
---|---|
SearchContextImpl(Message message)
|
Method Summary | ||
---|---|---|
|
getCondition(Class<T> cls)
Returns the typed search condition representing the search expression which is extracted from the request URI |
|
|
getCondition(Class<T> cls,
Map<String,String> beanProperties)
Returns the typed search condition representing the search expression which is extracted from the request URI |
|
|
getCondition(Class<T> cls,
Map<String,String> beanProperties,
Map<String,String> parserProperties)
Returns the typed search condition representing the search expression which is extracted from the request URI |
|
|
getCondition(String expression,
Class<T> cls)
Returns the typed search condition representing the provided search expression |
|
|
getCondition(String expression,
Class<T> cls,
Map<String,String> beanProperties)
Returns the typed search condition representing the provided search expression |
|
|
getCondition(String expression,
Class<T> cls,
Map<String,String> beanProperties,
Map<String,String> parserProperties)
Returns the typed search condition representing the provided search expression |
|
String |
getSearchExpression()
Returns the search expression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SEARCH_QUERY
public static final String SHORT_SEARCH_QUERY
public static final String CUSTOM_SEARCH_PARSER_PROPERTY
public static final String CUSTOM_SEARCH_QUERY_PARAM_NAME
Constructor Detail |
---|
public SearchContextImpl(Message message)
Method Detail |
---|
public <T> SearchCondition<T> getCondition(Class<T> cls)
SearchContext
getCondition
in interface SearchContext
cls
- the type of the bean(s) the new search condition will
attempt to match
public <T> SearchCondition<T> getCondition(Class<T> cls, Map<String,String> beanProperties)
SearchContext
getCondition
in interface SearchContext
cls
- the type of the bean(s) the new search condition will
attempt to matchbeanProperties
- mapping between search and bean properties
public <T> SearchCondition<T> getCondition(Class<T> cls, Map<String,String> beanProperties, Map<String,String> parserProperties)
SearchContext
getCondition
in interface SearchContext
cls
- the type of the bean(s) the new search condition will
attempt to matchbeanProperties
- mapping between search and bean propertiesparserProperties
- parser properties
public <T> SearchCondition<T> getCondition(String expression, Class<T> cls)
SearchContext
getCondition
in interface SearchContext
expression
- the search expressioncls
- the type of the bean(s) the new search condition will
attempt to match
public <T> SearchCondition<T> getCondition(String expression, Class<T> cls, Map<String,String> beanProperties)
SearchContext
getCondition
in interface SearchContext
expression
- the search expressioncls
- the type of the bean(s) the new search condition will
attempt to matchbeanProperties
- mapping between search and bean properties
public <T> SearchCondition<T> getCondition(String expression, Class<T> cls, Map<String,String> beanProperties, Map<String,String> parserProperties)
SearchContext
getCondition
in interface SearchContext
expression
- the search expressioncls
- the type of the bean(s) the new search condition will
attempt to matchbeanProperties
- mapping between search and bean propertiesparserProperties
- parser properties
public String getSearchExpression()
SearchContext
getSearchExpression
in interface SearchContext
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |