|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.projects.b2cstore.SearchEventSender
public class SearchEventSender
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.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
SearchEventSender()
Constructs an instanceof SearchFormHandler |
Method Summary | |
---|---|
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. |
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 SearchEventSender()
Method Detail |
---|
public void setMessageSourceContext(MessageSourceContext pContext)
MessageSource
setMessageSourceContext
in interface MessageSource
public MessageSourceContext getMessageSourceContext()
public void startMessageSource()
MessageSource
startMessageSource
in interface MessageSource
public void stopMessageSource()
MessageSource
stopMessageSource
in interface MessageSource
public boolean fireSearchEvent(java.lang.String searchString)
pRequest
- the servlet's requestpResponse
- the servlet's response
ServletException
- if there was an error while executing the code
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 |