atg.commerce.adc.processor
Class ProcScenarioAddedItemToOrder

java.lang.Object
  extended by ADCEventPipelineProcessor
      extended by atg.commerce.adc.processor.ProcAddProductViewed
          extended by atg.commerce.adc.processor.ProcScenarioAddedItemToOrder

public class ProcScenarioAddedItemToOrder
extends ProcAddProductViewed

This class will add an product added to the order by a scenario to the ProductsViewed map associated with the session data.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ProcScenarioAddedItemToOrder()
           
 
Method Summary
 java.lang.String getScenarioCategoryId()
           
 int processEvent(ADCPipelineArgs pArgs, javax.jms.Message pMessage)
          Update ADCSessionData to say that a particular product has been viewed.
 void setScenarioCategoryId(java.lang.String pScenarioCategoryId)
          The category id used for products added to the order via scenario
 
Methods inherited from class atg.commerce.adc.processor.ProcAddProductViewed
addProductViewedObject, addProductViewedObject, clearProductsViewedFromCart, getDefaultCategory, getParentCategoryPropertyName, getProductCategoryId, isUseParentCategory, isUsePreviousRequestCategoryId, setDefaultCategory, setParentCategoryPropertyName, setUseParentCategory, setUsePreviousRequestCategoryId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Constructor Detail

ProcScenarioAddedItemToOrder

public ProcScenarioAddedItemToOrder()
Method Detail

setScenarioCategoryId

public void setScenarioCategoryId(java.lang.String pScenarioCategoryId)
The category id used for products added to the order via scenario

Parameters:
pScenarioCategoryId - the category id used for products added to the order via scenario

getScenarioCategoryId

public java.lang.String getScenarioCategoryId()
Returns:
the category id used for products added to the order via scenario

processEvent

public int processEvent(ADCPipelineArgs pArgs,
                        javax.jms.Message pMessage)
Update ADCSessionData to say that a particular product has been viewed.