ClickProductTag Class
- public class ClickProductTag
extends ClickTag
Tag handler for ClickProductTag.
Dispatches a ClickProductEvent.
-
Hierarchy
-
Object
TagSupport
ClickTag
ClickProductTag
-
All Implemented Interfaces
-
IterationTag, Serializable, Tag
Methods from com.bea.p13n.tracking.tags.ClickTag |
formatClickURL, getDocumentId, getDocumentType, getId, getUserId, setDocumentId, setDocumentType, setId, setUserId |
Methods from javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
applicationName
protected String applicationName
categoryId
protected String categoryId
sku
protected String sku
ClickProductTag
public ClickProductTag()
doStartTag() Method
public int doStartTag()
throws JspTagException
Implement the StartTag callback.
This only does some validation
common to tags of this type.
-
Overrides
-
TagSupport.doStartTag()
Exceptions
-
JspTagException
getApplicationName() Method
public String getApplicationName()
Get the applicationName
Returns
- String the applicationName
getCategoryId() Method
public String getCategoryId()
Get the categoryId
Returns
- String the categoryId
getSku() Method
public String getSku()
Get the Sku
Returns
- String the sku
release() Method
public void release()
-
Overrides
- ClickTag.release()
setApplicationName(String) Method
public void setApplicationName(String theApplicationName)
Set the applicationName
Parameters
-
theApplicationName
- applicationName to set to
setCategoryId(String) Method
public void setCategoryId(String theCategoryId)
Set the categoryId
Parameters
-
theCategoryId
- categoryId to set to
setCategoryId(Category) Method
public void setCategoryId(Category theCategory)
Set the categoryId using a Category
Parameters
-
theCategory
- Category used to get categoryId
setSku(String) Method
public void setSku(String theSku)
Set the sku
Parameters
-
theSku
- sku to set to
setSku(ProductItem) Method
public void setSku(ProductItem theProduct)
Set the sku using a ProductItem
Parameters
-
theProduct
- ProductItem used to get sku
throwException(String, Object) Method
protected void throwException(String message,
Object messageObject)
throws JspTagException
Exceptions
-
JspTagException
throwException(String) Method
protected void throwException(String message)
throws JspTagException
Exceptions
-
JspTagException