@groovy.util.logging.Slf4j class SearchRequestParams extends java.lang.Object
Data Transfer Object to represent the request parameters required to search for occurrence records against biocache-service.
| Type | Name and description |
|---|---|
java.lang.String |
dir |
java.lang.String |
displayString |
java.lang.Boolean |
facetTo disable facets |
java.lang.String[] |
facetsThe facets to be included by the search Initialised with the default facets to use |
java.lang.String |
fl |
java.lang.Integer |
flimitThe limit for the number of facets to return |
java.lang.Integer |
foffsetThe offset of facets to return. |
java.lang.String |
formattedQuery |
java.lang.String |
fprefixThe prefix to limit facet values |
java.lang.String[] |
fq |
java.lang.String |
fsortThe sort order in which to return the facets. |
java.lang.Integer |
max |
java.lang.Integer |
offset |
java.lang.String |
order |
java.lang.Integer |
pageSize |
java.lang.String |
q |
java.lang.Long |
qId |
java.lang.String |
qcThe query context to be used for the search. |
java.lang.String |
sort |
java.lang.Integer |
startpagination params |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
conditionalEncode(java.lang.String input, java.lang.Boolean isEncoded)URI encode the param value if isEncoded is true |
|
java.lang.String |
getEncodedParams()Produce a URI encoded query string for use in java.util.URI, etc |
|
java.lang.String |
getUrlParams()Constructs the params to be returned in the result |
|
java.lang.String |
toString()Custom toString method to produce a String to be used as the request parameters for the Biocache Service webservices |
|
java.lang.String |
toString(java.lang.Boolean encodeParams)Common code to output a param string with conditional encoding of values |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
To disable facets
The facets to be included by the search Initialised with the default facets to use
The limit for the number of facets to return
The offset of facets to return. Used in conjunction to flimit
The prefix to limit facet values
The sort order in which to return the facets. Either count or index. When empty string the default values are used as defined in the Theme based facets
The query context to be used for the search. This will be used to generate extra query filters based on the search technology
pagination params
URI encode the param value if isEncoded is true
Produce a URI encoded query string for use in java.util.URI, etc
Constructs the params to be returned in the result
Custom toString method to produce a String to be used as the request parameters for the Biocache Service webservices
Common code to output a param string with conditional encoding of values