public class SearchEventSender extends java.lang.Object implements MessageSource
This component sends an atg.projects.b2cstore.search message when its fireSearchEvent() method is called. It is used by the /atg/commerce/catalog/CatalogSearch component to record user searches in the bikestore.
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| Constructor and Description | 
|---|
| SearchEventSender()Constructs an instanceof SearchFormHandler | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | fireSearchEvent(java.lang.String searchString)Invoke the parent handleSearch, then fire a message to the scenario manager
 informing it of this most recent search. | 
| MessageSourceContext | getMessageSourceContext() | 
| void | setMessageSourceContext(MessageSourceContext pContext)This notifies the MessageSource as to what its
 MessageSourceContext should be. | 
| void | startMessageSource()This is called to tell the MessageSource that it may begin
 sending messages. | 
| void | stopMessageSource()This is called to tell the MessageSource that it should stop
 sending messages. | 
public SearchEventSender()
public void setMessageSourceContext(MessageSourceContext pContext)
MessageSourcesetMessageSourceContext in interface MessageSourcepublic MessageSourceContext getMessageSourceContext()
public void startMessageSource()
MessageSourcestartMessageSource in interface MessageSourcepublic void stopMessageSource()
MessageSourcestopMessageSource in interface MessageSourcepublic boolean fireSearchEvent(java.lang.String searchString)
pRequest - the servlet's requestpResponse - the servlet's responseServletException - if there was an error while executing the codeIOException - if there was an error with servlet io