atg.commerce.adc.processor
Class ProcSetProduct

java.lang.Object
  extended by ADCEventPipelineProcessor
      extended by atg.commerce.adc.processor.ProcSetProduct

public class ProcSetProduct
extends ADCEventPipelineProcessor

This processor stores the product that has been viewed in the request data.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ProcSetProduct()
           
 
Method Summary
 void doStartService()
          Initialize and store the product item descriptor.
 Repository getCatalogRepository()
           
 java.lang.String getProductItemType()
           
 int processEvent(ADCPipelineArgs pArgs, javax.jms.Message pMessage)
          Update ADCRequestData to remember what product has been viewed.
 void setCatalogRepository(Repository pCatalogRepository)
          The catalog repository
 void setProductItemType(java.lang.String pProductItemType)
          The item descriptor name for products
 
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

ProcSetProduct

public ProcSetProduct()
Method Detail

setCatalogRepository

public void setCatalogRepository(Repository pCatalogRepository)
The catalog repository

Parameters:
pCatalogRepository - the catalog repository

getCatalogRepository

public Repository getCatalogRepository()
Returns:
The catalog repository

setProductItemType

public void setProductItemType(java.lang.String pProductItemType)
The item descriptor name for products

Parameters:
pProductItemType - the item descriptor name for products

getProductItemType

public java.lang.String getProductItemType()
Returns:
The item descriptor name for products

processEvent

public int processEvent(ADCPipelineArgs pArgs,
                        javax.jms.Message pMessage)
Update ADCRequestData to remember what product has been viewed.


doStartService

public void doStartService()
                    throws ServiceException
Initialize and store the product item descriptor.

Throws:
ServiceException