© 2002 BEA Systems, Inc.


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

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--com.bea.p13n.tracking.tags.ClickTag
              |
              +--com.bea.commerce.ebusiness.tracking.tags.ClickProductTag

public class ClickProductTag
extends ClickTag

Tag handler for ClickProductTag. Dispatches a ClickProductEvent.

See Also:
Serialized Form

Field Summary
protected  java.lang.String applicationName
           
protected  java.lang.String categoryId
           
protected  java.lang.String sku
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Constructor Summary
ClickProductTag()
           
 
Method Summary
 int doStartTag()
          Implement the StartTag callback.
 java.lang.String getApplicationName()
          Get the applicationName
 java.lang.String getCategoryId()
          Get the categoryId
 java.lang.String getSku()
          Get the Sku
 void release()
           
 void setApplicationName(java.lang.String theApplicationName)
          Set the applicationName
 void setCategoryId(Category theCategory)
          Set the categoryId using a Category
 void setCategoryId(java.lang.String theCategoryId)
          Set the categoryId
 void setSku(ProductItem theProduct)
          Set the sku using a ProductItem
 void setSku(java.lang.String theSku)
          Set the sku
protected  void throwException(java.lang.String message)
           
protected  void throwException(java.lang.String message, java.lang.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

sku

protected java.lang.String sku

categoryId

protected java.lang.String categoryId

applicationName

protected java.lang.String applicationName
Constructor Detail

ClickProductTag

public ClickProductTag()
Method Detail

getSku

public java.lang.String getSku()
Get the Sku

Returns:
String the sku

setSku

public void setSku(java.lang.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 java.lang.String getCategoryId()
Get the categoryId

Returns:
String the categoryId

setCategoryId

public void setCategoryId(java.lang.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 java.lang.String getApplicationName()
Get the applicationName

Returns:
String the applicationName

setApplicationName

public void setApplicationName(java.lang.String theApplicationName)
Set the applicationName

Parameters:
theApplicationName - applicationName to set to

doStartTag

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

Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

throwException

protected void throwException(java.lang.String message,
                              java.lang.Object messageObject)
                       throws javax.servlet.jsp.JspTagException

throwException

protected void throwException(java.lang.String message)
                       throws javax.servlet.jsp.JspTagException

release

public void release()

Overrides:
release in class ClickTag

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved