ClickProductTag Class

com.bea.commerce.ebusiness.tracking.tags
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

Field Summary

protected String
applicationName
String
protected String
categoryId
String
protected String
sku
String
   
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

ClickProductTag()

 

Method Summary

public int
doStartTag()
Implement the StartTag callback.
public String
getApplicationName()
Get the applicationName
public String
getCategoryId()
Get the categoryId
public String
getSku()
Get the Sku
public void
release()
public void
setApplicationName(String theApplicationName)
Set the applicationName
public void
setCategoryId(String theCategoryId)
Set the categoryId
public void
setCategoryId(Category theCategory)
Set the categoryId using a Category
public void
setSku(String theSku)
Set the sku
public void
setSku(ProductItem theProduct)
Set the sku using a ProductItem
protected void
throwException(String message, Object messageObject)
protected void
throwException(String message)
 
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
   
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Field Detail

applicationName

protected String applicationName


categoryId

protected String categoryId


sku

protected String sku

 

Constructor Detail

ClickProductTag

public ClickProductTag()
 

Method Detail

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