public class StoreADCSessionData
extends atg.commerce.adc.CommerceADCSessionData
CommerceADCSessionData
to store CRS Recommendations
specific data.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
StoreADCSessionData() |
Modifier and Type | Method and Description |
---|---|
void |
addEvent(javax.jms.Message pEvent)
Add the event to the mEvents HashMap.
|
void |
clearAllEvents() |
java.util.Collection |
getAllEvents()
Returns all of the events stored in this session.
|
java.util.List |
getEvents(java.lang.String pJMSType)
Returns all the events of a particular type.
|
boolean |
hasEvent(java.lang.String pJMSType)
Checks to see if any events of the given type have been seen.
|
getProductsViewed, setProductsViewed
public static final java.lang.String CLASS_VERSION
public void addEvent(javax.jms.Message pEvent)
pEvent
- The event that should be rememberedpublic java.util.List getEvents(java.lang.String pJMSType)
pJMSType
- The JMSType of the events being requestpublic java.util.Collection getAllEvents()
public boolean hasEvent(java.lang.String pJMSType)
pJMSType
- The JMS type of the event to check forpublic void clearAllEvents()