| java.lang.Object edu.indiana.lib.twinpeaks.search.QueryBase
All known Subclasses: edu.indiana.lib.twinpeaks.search.HttpTransactionQueryBase,
QueryBase | abstract public class QueryBase implements QueryInterface(Code) | | This module provides a single, core implementation of QueryInterface.
It provides "lowest common denominator" functionality.
In reality, each search application should extend QueryBase
and implement appropriate methods. See HttpTransactionQueryBase.java
for an example.
|
getIntegerRequestParameter | public Integer getIntegerRequestParameter(String name)(Code) | | Fetch a request parameter by name
Parameters: name - Parameter name Parameter value (an Integer) |
getRequestParameter | public String getRequestParameter(String name)(Code) | | Fetch a request parameter by name
Parameters: name - Parameter name Parameter value |
getRequestParameterMap | public Map getRequestParameterMap()(Code) | | Fetch the entire request parameter Map
Parameter Map |
getSearchString | abstract public String getSearchString()(Code) | | Fetch the current search text
The search string |
getUrl | abstract public String getUrl()(Code) | | Fetch the current search URL
The URL (as a String) |
parseRequest | public void parseRequest(Map parameterMap)(Code) | | Parse user request parameters. This base method supports only
the standard, simple query format. Override if necessary.
Parameters: parameterMap - Request details (name=value pairs) |
populateRequestParameters | protected void populateRequestParameters(Map parameterMap)(Code) | | Populate user request parameters
Parameters: parameterMap - Request details as a map (name=value pairs) |
|
|