|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.endeca.infront.navigation.url.UrlNavigationStateBuilder
public class UrlNavigationStateBuilder
An implementation of NavigationStateBuilder
that uses the
UrlFormatter
. The UrlFormatter
is always required
and can be set by calling setUrlFormatter(UrlFormatter)
.
setRecordDetailsDimensionNames(List)
for more information),
you must also provide an MdexRequestBroker
by calling the
setMdexRequestBroker(MdexRequestBroker)
method.
This class has configurable URL parameter names
for navigation filters and record selection that are used
to serialize navigation states. The default parameter names for each are (feature - name):
Name | Parameter | Format | Example | corresponding state object |
---|---|---|---|---|
Navigation filters | N | Either 0 (zero) for a root navigation request, or one or more dimension value IDs. If SEO formatting is used, the value is often base64 encoded and placed as part of the path. | N=0 N=132831+154283 |
FilterState.getNavigationFilters() |
Search filters term | Ntt | One or more terms for a record search. Each term is delimited by a plus sign, and each set of terms is delimited by the pipe character. | Ntt=canon+cameras | SearchFilter.getTerms() |
Search filters key | Ntk | One or more search keys (properties or dimensions), each delimited by the pipe character. If not specified, the SearchFilter.getKey() will be used. |
Ntk=All Ntk=product.description |
SearchFilter.getKey() |
Search filters match mode | Ntx | The match mode for record search in the navigation query, each delimited by the pipe character. If not specified, the SearchFilter.getMatchMode() will be used. |
Ntx=mode+matchallany This example will result in 2 SearchFilter objects, with the first one using the default search key Ntt=canon+cameras|blue+black&Ntk=|product.color&Ntx=mode+matchallany|mode+matchany |
SearchFilter.getMatchMode() |
Range filters | Nf | Sets a range filter with one of these formats: key|LT+number key|LTEQ+number key|GT+number key|GTEQ+number key|BTWN+num1+num2 |
Nf=Price|LT+25 Nf=Price|BTWN+8+15 |
FilterState.getRangeFilters() |
Geo filter | Nfg | Sets a GCLT geo filter using the following format, with radius in km: key|latitude|longitude|radius |
Ngg=store.geocode|42.365615|-71.075647|10 | FilterState.getGeoFilter() |
Record filters | Nr | The record filters for the navigation query. This parameter can be multi-valued | Nr=AND(132831,propertyA:valueX,OR(propertyB:valueY,propertyC:valueZ)) Nr=NOT(132831)&Nr=propertyB:valueY |
FilterState.getRecordFilters() |
Featured records selector | Rsel | FilterState.getFeaturedRecords() |
||
Record specification | R | One or more Endeca record specs. RecordState.isAggregateRecord() will return false. | R=66091 | RecordState.getRecordSpec() |
Aggregate record specification | A | The record specification of the Endeca aggregated record. RecordState.isAggregateRecord() will return true. | A=7 | RecordState.getRecordSpec() |
Autophrase | Ntp | Turns autophrase on or off - either 1 or 0. If 1, this is the equivalent to telling the
MDEX to compute alternate phrasings and to apply them (Ntpc and Ntpr respectively in the presentation API). If 0, the MDEX will
not apply alternate phrasings, but may compute them if the
SearchSuggestionMdexQuery has phraseSuggestionEnabled=true |
Ntp=0 | FilterState.isAutoPhraseEnabled() |
Langauage Id | Ntl | Sets the language ID sent to the MDEX Engine | Ntl=en-GB | FilterState.getLanguageId() |
This builder also provides configuration for removing URL parameters when a filter state is updated, a filter state is cleared, or on any update to the request state (including modifying other URL parameters):
Subclasses can customize the format of the navigation state serialization by overriding one of the following methods that modifies the UrlState using a navigation state:
addNavigationFilters(NavigationState, UrlState)
addSearchFilters(NavigationState, UrlState)
addRangeFilters(NavigationState, UrlState)
addGeoFilter(NavigationState, UrlState)
addRecordFilters(NavigationState, UrlState)
addFeaturedRecords(NavigationState, UrlState)
addParameters(NavigationState, UrlState)
NavigationStateBuilder
Field Summary | |
---|---|
protected Set<String> |
handledParams
A list of the parameters that are parsed by the methods in this class. |
Constructor Summary | |
---|---|
UrlNavigationStateBuilder()
|
Method Summary | |
---|---|
protected void |
addAutoPhraseEnabled(NavigationState navigationState,
UrlState urlState)
Updates the UrlState, adding the autophraseParam if the current value of FilterState.isAutoPhraseEnabled()
is different from the
defaultFilterState. |
protected void |
addFeaturedRecords(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding featured records from the given NavigationState. |
protected void |
addGeoFilter(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding a geo filter from the given NavigationState. |
protected void |
addLanguageId(NavigationState navigationState,
UrlState urlState)
Updates the UrlState, adding the languageParam if the current value of FilterState.getLanguageId() is different from the
defaultFilterState. |
protected void |
addNavigationFilters(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding navigation filters from the NavigationState. |
protected void |
addParameters(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding URL parameters from the given NavigationState. |
protected void |
addParameters(RecordState recordState,
UrlState urlState)
Updates the UrlState by adding URL parameters from the given RecordState |
protected void |
addRangeFilters(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding range filters from the given NavigationState. |
protected void |
addRecordFilters(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding record filters from the given NavigationState |
protected void |
addRecordSpec(RecordState recordState,
UrlState urlState)
Updates the UrlState by adding the record spec from the given RecordState. |
protected void |
addSearchFilters(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding search filters from the given NavigationState. |
String |
getAggregateRecordSpecParam()
|
String |
getAutophraseParam()
The parameter key used for autophrase - defaults to "Ntp" |
FilterState |
getDefaultFilterState()
If null, a new FilterState will be created and its standard defaults will be used. |
MatchMode |
getDefaultMatchMode()
|
String |
getDefaultSearchKey()
|
String |
getFeaturedRecordsParam()
|
String |
getGeoFilterParam()
|
String |
getLanguageParam()
|
MdexRequestBroker |
getMdexRequestBroker()
Used to construct MDEX requests. |
String |
getNavigationFiltersParam()
|
String |
getRangeFiltersParam()
|
List<String> |
getRecordDetailsDimensionNames()
Gets the list of dimensions which have been configured to be retrieved from records and added to the navigation state on record detail pages. |
String |
getRecordFilterParam()
|
String |
getRecordSpecParam()
|
List<String> |
getRemoveAlways()
Sets the list of URL parameters that will get removed "always". |
List<String> |
getRemoveOnClearFilterState()
Gets the list of URL parameters that will get removed when NavigationState.clearFilterState() is called. |
List<String> |
getRemoveOnUpdateFilterState()
Gets the list of URL parameters that will get removed when any method that updates the filter state is called on NavigationState
(removeSearches, removeFilters, selectNavigationFilter, etc.) |
String |
getSearchFiltersKeyParam()
|
String |
getSearchFiltersMatchModeParam()
|
String |
getSearchFiltersParam()
|
UrlFormatter |
getUrlFormatter()
Returns the UrlFormatter associated with this class. |
protected List<String> |
parseFeaturedRecords(UrlState urlState)
Parses a List of featured records from the given UrlState. |
protected FilterState |
parseFilterState(UrlState urlState)
Creates a new FilterState (or a clone of the FilterState specified by getDefaultFilterState() )
and parses the filter state parameters on the given UrlState
onto it. |
protected GeoFilter |
parseGeoFilter(UrlState urlState)
Parses a GeoFilter off of the UrlState. |
protected List<String> |
parseNavigationFilters(UrlState urlState)
Parses a List of navigation filters (dimension value IDs) off of the UrlState. |
NavigationState |
parseNavigationState(HttpServletRequest request)
Creates a NavigationState using the query string, path info, and character encoding from the given request object. |
NavigationState |
parseNavigationState(String queryString,
String pathInfo,
String characterEncoding)
Create a NavigationState parsed from a query string, a path info, and a character encoding. |
protected Map<String,String> |
parseParameters(UrlState urlState)
Parses parameters from the UrlState and returns them
as a map. |
protected List<RangeFilter> |
parseRangeFilters(UrlState urlState)
Parses a List of RangeFilter off of the
UrlState. |
protected List<String> |
parseRecordFilters(UrlState urlState)
Returns a List of record filters parsed from the UrlState. |
protected String |
parseRecordSpec(UrlState urlState)
Parses a record spec String off of the UrlState. |
RecordState |
parseRecordState(HttpServletRequest request)
Creates a RecordState using the query string, path info, and character encoding from the given request object. |
RecordState |
parseRecordState(String queryString,
String pathInfo,
String characterEncoding)
Create a RecordState parsed from a path info, a query string, and a character encoding. |
protected List<SearchFilter> |
parseSearchFilters(UrlState urlState)
Parses a List of SearchFilter objects
off of the UrlState. |
void |
setAggregateRecordSpecParam(String aggregateRecordSpecParam)
Sets the aggregateRecordSpecParam. |
void |
setAutophraseParam(String autophraseParam)
Sets the autophraseParam |
void |
setDefaultFilterState(FilterState filterState)
Sets a default FilterState object that will be used as the initial FilterState in NavigationState instances created by this NavigationStateBuilder. |
void |
setDefaultMatchMode(MatchMode defaultMatchMode)
Sets the default match mode that will be set when a SearchFilter is parsed
and a match mode is not specified in the URL parameter specified by
getSearchFiltersMatchModeParam() |
void |
setDefaultSearchKey(String defaultSearchKey)
Sets the default search key that will be set when a SearchFilter is parsed
and a search key is not specified in the URL parameter specified by
getSearchFiltersKeyParam() . |
void |
setFeaturedRecordsParam(String featuredRecordsParam)
Sets the featuredRecordsParam. |
void |
setGeoFilterParam(String geoFilterParam)
Sets the geoFilterParam. |
void |
setLanguageParam(String languageParam)
Sets the parameter used for specifying the language ID |
void |
setMdexRequestBroker(MdexRequestBroker mdexRequestBroker)
Sets the request Broker used by this class to create record detail queries. |
void |
setNavigationFiltersParam(String navigationFiltersParam)
Sets the dimensionFiltersParam. |
void |
setRangeFiltersParam(String rangeFiltersParam)
Sets the rangeFiltersParam. |
void |
setRecordDetailsDimensionNames(List<String> recordDetailsDimensionNames)
Sets the list of dimension values to be retrieved from records and added to the navigation state on record detail pages. |
void |
setRecordFilterParam(String recordFilterParam)
Sets the recordFilterParam. |
void |
setRecordSpecParam(String recordSpecParam)
Sets the recordSpecParam. |
void |
setRemoveAlways(List<String> removeAlways)
Sets the list of URL parameters that will get removed "always". |
void |
setRemoveOnClearFilterState(List<String> removeOnClearFilterState)
Sets the list of URL parameters that will get removed when NavigationState.clearFilterState() is called. |
void |
setRemoveOnUpdateFilterState(List<String> removeOnUpdateFilterState)
Sets the list of URL parameters that will get removed when any method that updates the filter state is called on NavigationState
(removeSearches, removeFilters, selectNavigationFilter, etc.) |
void |
setSearchFiltersKeyParam(String searchFiltersKeyParam)
Sets the searchFiltersKeyParam. |
void |
setSearchFiltersMatchModeParam(String searchFiltersMatchModeParam)
Sets the searchFiltersMatchModeParam. |
void |
setSearchFiltersParam(String searchFiltersParam)
Sets the searchFiltersParam. |
void |
setUrlFormatter(UrlFormatter urlFormatter)
Sets the UrlFormatter associated with this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Set<String> handledParams
parseParameters(UrlState)
to determine which parameters it should ignore because they have
already been handled by other methods.
Subclasses that process a different set of parameters should either
update this list or override parseParameters(UrlState)
to parse the correct set of parameters.
Constructor Detail |
---|
public UrlNavigationStateBuilder()
Method Detail |
---|
public NavigationState parseNavigationState(HttpServletRequest request) throws NavigationException
parseNavigationState(String, String, String)
for details.
request
- the request object
NavigationException
- if a NavigationState could not
be constructed from the given request objectpublic RecordState parseRecordState(HttpServletRequest request) throws NavigationException
parseRecordState(String, String, String)
for details.
request
- the request object
NavigationException
- if a RecordState could not
be constructed from the given request objectpublic NavigationState parseNavigationState(String queryString, String pathInfo, String characterEncoding) throws NavigationException
NavigationStateBuilder
Create a NavigationState parsed from a query string, a path info, and a character encoding. Depending on the NavigationStateBuilder implementation and the way in which it is configured, the navigation state may be described by the query string, the path info, or some combination of the two.
parseNavigationState
in interface NavigationStateBuilder
queryString
- The query string that describes the
NavigationStatepathInfo
- The path info that describes the
NavigationStatecharacterEncoding
- The character encoding of the path info
and query string
NavigationException
- if a NavigationState could
not be constructed from the given query string and path infopublic RecordState parseRecordState(String queryString, String pathInfo, String characterEncoding) throws NavigationException
NavigationStateBuilder
Create a RecordState parsed from a path info, a query string, and a character encoding. Depending on the NavigationStateBuilder implementation and the way in which it is configured, the record state may be described by the query string, the path info, or some combination of the two.
parseRecordState
in interface NavigationStateBuilder
queryString
- The query string that describes the
RecordStatepathInfo
- The path info that describes the RecordStatecharacterEncoding
- The character encoding of the path info
and query string
NavigationException
- if a RecordState could
not be constructed from the given query string and path infopublic List<String> getRemoveOnUpdateFilterState()
NavigationState
(removeSearches, removeFilters, selectNavigationFilter, etc.)
public void setRemoveOnUpdateFilterState(List<String> removeOnUpdateFilterState)
NavigationState
(removeSearches, removeFilters, selectNavigationFilter, etc.)
removeOnUpdateFilterState
- the new list of parameters to removepublic List<String> getRemoveOnClearFilterState()
NavigationState.clearFilterState()
is called.
public void setRemoveOnClearFilterState(List<String> removeOnClearFilterState)
NavigationState.clearFilterState()
is called.
removeOnClearFilterState
- the new list of URL parameterspublic List<String> getRemoveAlways()
public void setRemoveAlways(List<String> removeAlways)
NavigationState
,
it will show up in its serialization.
However, it will be removed if you make any subsequent change
to the NavigationState
.
The implications of this are that you must
always call NavigationState.putParameter(String, String)
as the last change you make to
a NavigationState
before serializing it.
removeAlways
- the list of URL parameterspublic List<String> getRecordDetailsDimensionNames()
setRecordDetailsDimensionNames(List)
has not been called or
it has been called with a null
argument, this method will
return null
.
public void setRecordDetailsDimensionNames(List<String> recordDetailsDimensionNames)
MdexRequestBroker
must also be provided
by calling setMdexRequestBroker(MdexRequestBroker)
.
recordDetailsDimensionNames
- the list of dimensionspublic MdexRequestBroker getMdexRequestBroker()
NavigationCartridgeHandler
and NavigationStateBuilder
. Use
of the MdexRequestBroker in other classes is not supported.
public void setMdexRequestBroker(MdexRequestBroker mdexRequestBroker)
mdexRequestBroker
- the MdexRequestBroker.setRecordDetailsDimensionNames(List)
public UrlFormatter getUrlFormatter()
public void setUrlFormatter(UrlFormatter urlFormatter)
urlFormatter
- the UrlFormatter to associate with this classpublic MatchMode getDefaultMatchMode()
MatchMode.ALL
.public void setDefaultMatchMode(MatchMode defaultMatchMode)
SearchFilter
is parsed
and a match mode is not specified in the URL parameter specified by
getSearchFiltersMatchModeParam()
defaultMatchMode
- the new default match modepublic String getDefaultSearchKey()
public void setDefaultSearchKey(String defaultSearchKey)
SearchFilter
is parsed
and a search key is not specified in the URL parameter specified by
getSearchFiltersKeyParam()
.
defaultSearchKey
- the new default search keypublic void setDefaultFilterState(FilterState filterState)
Can be to set a default languageId, autoPhraseEnabled, rollupKey, and securityFilter. Use this method to set the default FilterState statically through something like Spring XML.
To programmatically change the default values in the
FilterState, based on URL parameters
or other logic, override the parseFilterState(UrlState)
method.
If there are search filters, range filters, record filter,
or dimension filters configured
in the default filter state, the default parse methods
(parseSearchFilters(com.endeca.soleng.urlformatter.UrlState)
, parseNavigationFilters(com.endeca.soleng.urlformatter.UrlState)
, etc.)
will use the default filters if there is no value for the URL parameter that is
used to specify each filter type, and will override these defaults if a URL parameter
value exists.
filterState
- the new default filter statepublic FilterState getDefaultFilterState()
protected List<String> parseNavigationFilters(UrlState urlState) throws NavigationException
For record detail pages, this implementation also adds any dimension
values for the configured dimensions that occur on the record to the
navigation state. These dimensions are specified using the
setRecordDetailsDimensionNames(List)
method.
If there is a default FilterState
configured that contains navigation filters,
these navigation filters will be returned if there are no navigation filters
set in URL, and will be overridden otherwise.
urlState
- the URL state containing the parameters from the request
NavigationException
- if there is an error parsing the
navigation filtersaddNavigationFilters(NavigationState, UrlState)
protected void addNavigationFilters(NavigationState navigationState, UrlState urlState)
navigationState
- the navigation state containing the filtersurlState
- the URL state to add the filters toparseNavigationFilters(UrlState)
protected List<SearchFilter> parseSearchFilters(UrlState urlState) throws NavigationException
SearchFilter
objects
off of the UrlState.
Subclasses can override this method to customize the behavior
of this method.
If there is a default FilterState
configured that
contains SearchFilter
objects, these search filters will be returned if there are
no search filters
set in URL, and will be overridden otherwise.
urlState
- the URL state containing the parameters from the request
NavigationException
- is there was an error parsing the
search filtersaddSearchFilters(NavigationState, UrlState)
,
getDefaultFilterState()
protected void addSearchFilters(NavigationState navigationState, UrlState urlState)
navigationState
- the NavigationState containing the
search filtersurlState
- the URL state to add the search filters toparseSearchFilters(UrlState)
protected List<RangeFilter> parseRangeFilters(UrlState urlState) throws NavigationException
RangeFilter
off of the
UrlState.
Subclasses can override this method to customize the behavior
of this method.
If there is a default FilterState
configured that
contains RangeFilter
objects, these range filters will be returned if there
are no range filters
set in URL, and will be overridden otherwise.
urlState
- the URL state containing the parameters from the request
NavigationException
- if there was an error parsing the
rnage filtersaddRangeFilters(NavigationState, UrlState)
protected GeoFilter parseGeoFilter(UrlState urlState) throws NavigationException
GeoFilter
off of the UrlState.
Subclasses can override this method to customize the behavior
of this method.
If there is a default FilterState
configured that
contains a GeoFilter
this geo filter will be returned if there is no geo filter
set in URL, and will be overridden otherwise.
urlState
- the URL state containing the parameters from the request
NavigationException
- if there is an error parsing the geo filteraddGeoFilter(NavigationState, UrlState)
protected void addRangeFilters(NavigationState navigationState, UrlState urlState)
navigationState
- the NavigationState containing the
range filtersurlState
- the URL state to add the range filters toparseRangeFilters(UrlState)
protected void addGeoFilter(NavigationState navigationState, UrlState urlState)
navigationState
- the NavigationState containing the
geo filterurlState
- the URL state to add the geo filter toparseGeoFilter(UrlState)
protected List<String> parseRecordFilters(UrlState urlState) throws NavigationException
By default this implementation will only parse a single record filter.
If there is a default FilterState
configured that
contains record filters
these record filters will be returned if there are no record filters
set in URL, and will be overridden otherwise.
urlState
- the URL state containing the parameters from the request
NavigationException
- if there is an error parsing the
record filtersaddRecordFilters(NavigationState, UrlState)
protected void addRecordFilters(NavigationState navigationState, UrlState urlState)
navigationState
- the NavigationState containing the
record filtersurlState
- the URL state to add the record filters toparseRecordFilters(UrlState)
protected List<String> parseFeaturedRecords(UrlState urlState) throws NavigationException
If there is a default FilterState
configured
that contains featured records
these featured records will be returned if there are no featured records
set in URL, and will be overridden otherwise.
urlState
- the URL state containing the parameters from the request
NavigationException
- if there is an error parsing
the featured recordsaddFeaturedRecords(NavigationState, UrlState)
protected void addFeaturedRecords(NavigationState navigationState, UrlState urlState)
navigationState
- the NavigationState containing the
featured recordsurlState
- the URL state to add the featured records toparseFeaturedRecords(UrlState)
protected String parseRecordSpec(UrlState urlState) throws NavigationException
urlState
- the URL state containing the parameters from the request
NavigationException
- if there is an error parsing the
record specaddRecordSpec(RecordState, UrlState)
protected void addRecordSpec(RecordState recordState, UrlState urlState)
recordState
- the RecordState containing the record specurlState
- the URL state to add the record state toparseRecordSpec(UrlState)
protected FilterState parseFilterState(UrlState urlState) throws NavigationException
getDefaultFilterState()
)
and parses the filter state parameters on the given UrlState
onto it.
This method directly parses the languageParam and autophraseParam, and overrides the default FilterState values if these parameters exist and have valid values.
This method also delegates to the other parse methods (parseSearchFilters, parseNaviationFilter, parseGeoFilter, etc.)
urlState
- the UrlState to parse
NavigationException
- if there is an error parsing the filter stateprotected void addAutoPhraseEnabled(NavigationState navigationState, UrlState urlState)
FilterState.isAutoPhraseEnabled()
is different from the
defaultFilterState.
navigationState
- the NavigationState to use in
updating the UrlStateurlState
- the UrlState to be updatedprotected void addLanguageId(NavigationState navigationState, UrlState urlState)
FilterState.getLanguageId()
is different from the
defaultFilterState.
navigationState
- the NavigationState to use in updating
the UrlStateurlState
- the UrlState to be updatedprotected Map<String,String> parseParameters(UrlState urlState) throws NavigationException
UrlState
and returns them
as a map. Known parameters such as the navigation filter parameter
and the record spec parameter (see
setNavigationFiltersParam(String)
and
setRecordSpecParam(String)
) are ignored since they are
processed by other methods; parseParameters
is intended
as a catch-all for everything else.
Subclasses can override this method to customize its behavior.
urlState
- the urlState containing the parameters from the request
NavigationException
- if there is an error parsing the parametersparseParameters(UrlState)
protected void addParameters(NavigationState navigationState, UrlState urlState)
navigationState
- the NavigationState containing
the parametersurlState
- the UrlState to updateparseParameters(UrlState)
protected void addParameters(RecordState recordState, UrlState urlState)
recordState
- the RecordState containing
the parametersurlState
- the UrlState to updateparseParameters(UrlState)
public String getNavigationFiltersParam()
This supersedes UrlFormatter.getNavStateParamKey()
.
public void setNavigationFiltersParam(String navigationFiltersParam)
This will also call BasicUrlFormatter.setNavStateParamKey(String)
navigationFiltersParam
- to set. Cannot be null.
IllegalArgumentException
- if navigationFiltersParam is null.public String getSearchFiltersParam()
public void setSearchFiltersParam(String searchFiltersParam)
searchFiltersParam
- to set. Cannot be null.
IllegalArgumentException
- if searchFiltersParam is null.public String getSearchFiltersKeyParam()
public void setSearchFiltersKeyParam(String searchFiltersKeyParam)
searchFiltersKeyParam
- to set. Cannot be null.
IllegalArgumentException
- if searchFiltersKeyParam is null.public String getSearchFiltersMatchModeParam()
public void setSearchFiltersMatchModeParam(String searchFiltersMatchModeParam)
searchFiltersMatchModeParam
- to set. Cannot be null.
IllegalArgumentException
- if searchFiltersMatchModeParam is null.public String getRangeFiltersParam()
public void setRangeFiltersParam(String rangeFiltersParam)
rangeFiltersParam
- to set. Cannot be null.
IllegalArgumentException
- if rangeFiltersParam is null.public String getGeoFilterParam()
public void setGeoFilterParam(String geoFilterParam)
geoFilterParam
- to set. Cannot be null.
IllegalArgumentException
- if geoFilterParam is null.public String getRecordFilterParam()
public void setRecordFilterParam(String recordFilterParam)
recordFilterParam
- to set. Cannot be null.
IllegalArgumentException
- if recordFilterParam is null.public String getFeaturedRecordsParam()
public void setFeaturedRecordsParam(String featuredRecordsParam)
featuredRecordsParam
- to set. Cannot be null.
IllegalArgumentException
- if featuredRecordsParam is null.public String getRecordSpecParam()
This supersedes UrlFormatter.getERecParamKey()
.
public void setRecordSpecParam(String recordSpecParam)
This will also call BasicUrlFormatter.setERecParamKey(String)
recordSpecParam
- to set. Cannot be null.
IllegalArgumentException
- if recordParam is null.public String getAggregateRecordSpecParam()
This supersedes UrlFormatter.getAggrERecParamKey()
.
public void setAggregateRecordSpecParam(String aggregateRecordSpecParam)
This will also call BasicUrlFormatter.setAggrERecParamKey(String)
aggregateRecordSpecParam
- to set. Cannot be null.
IllegalArgumentException
- if recordParam is null.public String getAutophraseParam()
public void setAutophraseParam(String autophraseParam)
autophraseParam
- the new autophrase parameterpublic String getLanguageParam()
public void setLanguageParam(String languageParam)
languageParam
- the new language parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |