atg.projects.store.recommendations.adc
Class StoreADCSessionData
java.lang.Object
  
atg.adc.ADCSessionData
      
atg.commerce.adc.CommerceADCSessionData
          
atg.projects.store.recommendations.adc.StoreADCSessionData
public class StoreADCSessionData
- extends atg.commerce.adc.CommerceADCSessionData
 
This class extends CommerceADCSessionData to store CRS Recommendations
 specific data.
- Version:
 
  - $Id: //hosting-blueprint/B2CBlueprint/version/10.2.1/Recommendations/src/atg/projects/store/recommendations/adc/StoreADCSessionData.java#2 $Change: 630322 $
 
- Author:
 
  - ATG
 
| 
Field Summary | 
static java.lang.String | 
CLASS_VERSION
 
          Class version string | 
 
| Fields inherited from class atg.commerce.adc.CommerceADCSessionData | 
mProductsViewed | 
 
 
| 
Method Summary | 
 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. | 
 
| Methods inherited from class atg.commerce.adc.CommerceADCSessionData | 
getProductsViewed, setProductsViewed | 
 
| Methods inherited from class atg.adc.ADCSessionData | 
getClientSessionData, getPreviousRequestCategoryId, setClientSessionData, setPreviousRequestCategoryId | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CLASS_VERSION
public static final java.lang.String CLASS_VERSION
- Class version string
- See Also:
 - Constant Field Values
 
 
StoreADCSessionData
public StoreADCSessionData()
addEvent
public void addEvent(javax.jms.Message pEvent)
- Add the event to the mEvents HashMap.
- Parameters:
 pEvent - The event that should be remembered
 
 
getEvents
public java.util.List getEvents(java.lang.String pJMSType)
- Returns all the events of a particular type.
- Parameters:
 pJMSType - The JMSType of the events being request
- Returns:
 - A List of the events.  If no events of the type have been seen, then null.
 
 
 
getAllEvents
public java.util.Collection getAllEvents()
- Returns all of the events stored in this session.
- Returns:
 - a Collection of all the events
 
 
 
hasEvent
public boolean hasEvent(java.lang.String pJMSType)
- Checks to see if any events of the given type have been seen.
 If so, returns true, if not returns false
- Parameters:
 pJMSType - The JMS type of the event to check for
- Returns:
 - true if an event of the given type has been saved
 
 
 
clearAllEvents
public void clearAllEvents()