© 2005 BEA Systems, Inc.

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

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.bea.p13n.tracking.tags.ClickTag
          extended bycom.bea.commerce.ebusiness.tracking.tags.ClickProductTag
All Implemented Interfaces:
IterationTag, Serializable, Tag

public class ClickProductTag
extends com.bea.p13n.tracking.tags.ClickTag

Tag handler for ClickProductTag. Dispatches a ClickProductEvent.

See Also:
Serialized Form

Field Summary
protected  String applicationName
           
protected  String categoryId
           
protected  String sku
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
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 com.bea.p13n.tracking.tags.ClickTag
formatClickURL, getDocumentId, getDocumentType, getId, getUserId, setDocumentId, setDocumentType, setId, setUserId
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationName

protected String applicationName

categoryId

protected String categoryId

sku

protected String sku
Constructor Detail

ClickProductTag

public ClickProductTag()
Method Detail

doStartTag

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

Throws:
JspTagException

getApplicationName

public String getApplicationName()
Get the applicationName

Returns:
String the applicationName

getCategoryId

public String getCategoryId()
Get the categoryId

Returns:
String the categoryId

getSku

public String getSku()
Get the Sku

Returns:
String the sku

release

public void release()

setApplicationName

public void setApplicationName(String theApplicationName)
Set the applicationName

Parameters:
theApplicationName - applicationName to set to

setCategoryId

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

Parameters:
theCategory - Category used to get categoryId

setCategoryId

public void setCategoryId(String theCategoryId)
Set the categoryId

Parameters:
theCategoryId - categoryId to set to

setSku

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

Parameters:
theProduct - ProductItem used to get sku

setSku

public void setSku(String theSku)
Set the sku

Parameters:
theSku - sku to set to

throwException

protected void throwException(String message)
                       throws JspTagException
Throws:
JspTagException

throwException

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

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved