|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.droplet.EmptyFormHandler atg.droplet.GenericFormHandler atg.search.query.formhandlers.BaseSearchFormHandler atg.search.query.formhandlers.BrowseFormHandler
public class BrowseFormHandler
This form handler issues requests using the <browse> tag, which also corresponds to the ClientCategoryRequest of the searchclient API.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.search.query.formhandlers.BaseSearchFormHandler |
---|
DEFAULT_ANONYMOUS_USERNAME, DEFAULT_SITE_NAME |
Fields inherited from class atg.droplet.GenericFormHandler |
---|
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
BrowseFormHandler()
|
Method Summary | |
---|---|
protected ClientRequest |
createClientRequest(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Create the appropriate ClientRequest subtype for this query type, in this case ClientCategoryRequest. |
protected SearchMessage |
createSearchMessage(ClientRequest pQueryRequest,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Create the JMS message to represent a ClientQueryRequest and associated response data. |
protected ClientCategoryRequest |
getClientCategoryRequest()
Convenience method for this class to avoid massive casting |
java.lang.String |
getInput()
Get the value for the <input> tag (query) or null |
java.lang.String |
getSearchConfigAttributeName()
Get search config attribute name. |
java.lang.String |
getSearchConfigName(DynamoHttpServletRequest pRequest)
Get the search config name. |
SearchConfigNameService |
getSearchConfigNameService()
Get nucleus service that return search config name. |
protected void |
prepareClientRequest(DynamoHttpServletRequest pRequest)
This method is overriden to translate the search config name to the XML request |
void |
setInput(java.lang.String pInput)
Set the <input> tag's body |
void |
setSearchConfigAttributeName(java.lang.String pSearchConfigAttributeName)
Set search config attribute name. |
void |
setSearchConfigNameService(SearchConfigNameService pSearchConfigNameService)
Set nucleus service. |
Methods inherited from class atg.droplet.EmptyFormHandler |
---|
afterGet |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public BrowseFormHandler()
Method Detail |
---|
public void setInput(java.lang.String pInput)
pInput
- the search input textpublic java.lang.String getInput()
public SearchConfigNameService getSearchConfigNameService()
public void setSearchConfigNameService(SearchConfigNameService pSearchConfigNameService)
pSearchConfigNameService
- new instance of SearchConfigNameService.public java.lang.String getSearchConfigAttributeName()
public void setSearchConfigAttributeName(java.lang.String pSearchConfigAttributeName)
pSearchConfigAttributeName
- Stringprotected ClientRequest createClientRequest(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
createClientRequest
in class BaseSearchFormHandler
pRequest
- the Dynamo http requestpResponse
- the Dynamo http response
protected SearchMessage createSearchMessage(ClientRequest pQueryRequest, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
createSearchMessage
in class BaseSearchFormHandler
pQueryRequest
- the ClientCategoryRequest objectpRequest
- the Dynamo http requestpResponse
- the Dynamo http response
protected ClientCategoryRequest getClientCategoryRequest()
protected void prepareClientRequest(DynamoHttpServletRequest pRequest)
prepareClientRequest
in class BaseSearchFormHandler
pRequest
- DynamoHttpServletRequestpublic java.lang.String getSearchConfigName(DynamoHttpServletRequest pRequest)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |