|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.droplet.EmptyFormHandler
atg.droplet.GenericFormHandler
atg.repository.servlet.SearchFormHandler
atg.commerce.catalog.SearchFormHandler
atg.projects.b2cstore.B2CSearchFormHandler
public class B2CSearchFormHandler
This form handler extends the DCS SearchFormHandler by overriding the handleSearch method to fire a message to the scenario manager, and by adding a one-step simple search set/handler pair.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Fields inherited from class atg.commerce.catalog.SearchFormHandler |
|---|
INVALID_PRICE, mLastCatalogKey |
| Fields inherited from class atg.repository.servlet.SearchFormHandler |
|---|
EMPTY_SEARCH_VALUES_DISALLOW, GENERATE_VALUES_BY_TYPE_FAILED, INVALID_ITEM_TYPE, INVALID_KEYWORD_SEARCH_STRING, INVALID_PROP_COMBINATION, INVALID_SEARCH_PROPERTY_NAMES, MULTIPLE_ITEM_TYPES_DISALLOW, NO_PROPERTY_NAMES_FOR_ITEM, QUERY_FAILURE, UNMATCHED_QUOTES |
| 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 | |
|---|---|
B2CSearchFormHandler()
Constructs an instanceof SearchFormHandler |
|
| Method Summary | |
|---|---|
java.lang.String |
getOneStepSearch()
Returns property oneStepSearch |
SearchEventSender |
getSearchEventSender()
Returns property searchEventSender |
boolean |
handleOneStepSearch(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Performs a one-step search, using the value in setOneStepSearch to perform a search using handleSearch. |
boolean |
handleSearch(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Invoke the parent handleSearch, then fire a message to the scenario manager informing it of this most recent search. |
void |
setOneStepSearch(java.lang.String pOneStepString)
Sets property oneStepSearch |
void |
setSearchEventSender(SearchEventSender pEventSender)
Sets property searchEventSender |
| 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 B2CSearchFormHandler()
| Method Detail |
|---|
public void setOneStepSearch(java.lang.String pOneStepString)
public java.lang.String getOneStepSearch()
public void setSearchEventSender(SearchEventSender pEventSender)
public SearchEventSender getSearchEventSender()
public boolean handleSearch(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
handleSearch in class SearchFormHandlerpRequest - the servlet's requestpResponse - the servlet's response
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io
public boolean handleOneStepSearch(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the servlet's requestpResponse - the servlet's response
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||