|
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.client.SearchConditionBuilder
public abstract class SearchConditionBuilder
Builder of client-side search condition string using `fluent interface' style. It helps build create part
of URL that will be parsed by server-side counterpart. It is factory of different implementations e.g. for
FiqlSearchConditionBuilder
, that has FiqlParser
on server-side, one can use SearchConditionBuilder.instance("FIQL").
See FiqlSearchConditionBuilder
for examples of usage.
Field Summary | |
---|---|
static String |
DEFAULT_LANGUAGE
|
Constructor Summary | |
---|---|
SearchConditionBuilder()
|
Method Summary | |
---|---|
static SearchConditionBuilder |
instance()
Creates instance of builder. |
static SearchConditionBuilder |
instance(Map<String,String> properties)
Creates instance of builder with provided properties |
static SearchConditionBuilder |
instance(String language)
Creates instance of builder for specific language. |
static SearchConditionBuilder |
instance(String language,
Map<String,String> properties)
|
abstract String |
query()
Finalize condition construction and build search condition query. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cxf.jaxrs.ext.search.client.PartialCondition |
---|
and, is, or |
Field Detail |
---|
public static final String DEFAULT_LANGUAGE
Constructor Detail |
---|
public SearchConditionBuilder()
Method Detail |
---|
public static SearchConditionBuilder instance()
public static SearchConditionBuilder instance(Map<String,String> properties)
properties
-
public static SearchConditionBuilder instance(String language)
language
- alias of language, case insensitive. If alias is unknown, default FIQL implementation
is returned.
public static SearchConditionBuilder instance(String language, Map<String,String> properties)
public abstract String query()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |