com.bea.commerce.ebusiness.tracking.tags
Class ClickProductTag

java.lang.Object
  extended by ClickTag
      extended by com.bea.commerce.ebusiness.tracking.tags.ClickProductTag

public class ClickProductTag
extends ClickTag

Tag handler for ClickProductTag. Dispatches a ClickProductEvent.


Field Summary
protected  String applicationName
           
protected  String categoryId
           
protected  String sku
           
 
Constructor Summary
ClickProductTag()
           
 
Method Summary
 int doStartTag()
          Implement the StartTag callback.
 String getApplicationName()
          Get the applicationName
 String getCategoryId()
          Get the categoryId
 String getSku()
          Get the Sku
 void release()
           
 void setApplicationName(String theApplicationName)
          Set the applicationName
 void setCategoryId(Category theCategory)
          Set the categoryId using a Category
 void setCategoryId(String theCategoryId)
          Set the categoryId
 void setSku(ProductItem theProduct)
          Set the sku using a ProductItem
 void setSku(String theSku)
          Set the sku
protected  void throwException(String message)
           
protected  void throwException(String message, Object messageObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sku

protected String sku

categoryId

protected String categoryId

applicationName

protected String applicationName
Constructor Detail

ClickProductTag

public ClickProductTag()
Method Detail

getSku

public String getSku()
Get the Sku

Returns
String the sku

setSku

public void setSku(String theSku)
Set the sku

Parameters
theSku - sku to set to

setSku

public void setSku(ProductItem theProduct)
Set the sku using a ProductItem

Parameters
theProduct - ProductItem used to get sku

getCategoryId

public String getCategoryId()
Get the categoryId

Returns
String the categoryId

setCategoryId

public void setCategoryId(String theCategoryId)
Set the categoryId

Parameters
theCategoryId - categoryId to set to

setCategoryId

public void setCategoryId(Category theCategory)
Set the categoryId using a Category

Parameters
theCategory - Category used to get categoryId

getApplicationName

public String getApplicationName()
Get the applicationName

Returns
String the applicationName

setApplicationName

public void setApplicationName(String theApplicationName)
Set the applicationName

Parameters
theApplicationName - applicationName to set to

doStartTag

public int doStartTag()
               throws JspTagException
Implement the StartTag callback. This only does some validation common to tags of this type.

Throws
JspTagException

throwException

protected void throwException(String message,
                              Object messageObject)
                       throws JspTagException
Throws
JspTagException

throwException

protected void throwException(String message)
                       throws JspTagException
Throws
JspTagException

release

public void release()


Copyright © 2006 BEA Systems, Inc. All Rights Reserved