atg.commerce.adc
Class ProductViewed

java.lang.Object
  extended by atg.commerce.adc.ProductViewed
All Implemented Interfaces:
java.io.Serializable

public class ProductViewed
extends java.lang.Object
implements java.io.Serializable

This class will hold information for a product that has been viewed.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ProductViewed()
           
 
Method Summary
 java.lang.String getCategoryId()
           
 java.lang.String getProductId()
           
 boolean isInCart()
           
 void setCategoryId(java.lang.String pCategoryId)
          The Id of the product category that the product was viewed in.
 void setInCart(boolean pInCart)
          Boolean indicating if the product is in the user's cart
 void setProductId(java.lang.String pProductId)
          The id of the product that was viewed
 
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

ProductViewed

public ProductViewed()
Method Detail

setCategoryId

public void setCategoryId(java.lang.String pCategoryId)
The Id of the product category that the product was viewed in.

Parameters:
pCategoryId - the id of the product category that the product was viewed in

getCategoryId

public java.lang.String getCategoryId()
Returns:
The id of the product category that the product was viewed in

setInCart

public void setInCart(boolean pInCart)
Boolean indicating if the product is in the user's cart

Parameters:
pInCart - boolean indicating if the product is in the user's cart

isInCart

public boolean isInCart()
Returns:
boolean indicating if the product is in the user's cart

setProductId

public void setProductId(java.lang.String pProductId)
The id of the product that was viewed

Parameters:
pProductId - the id of the product that was viewed

getProductId

public java.lang.String getProductId()
Returns:
The id of the product that was viewed