ProductEventTag Class
- public class ProductEventTag
extends TagSupport
The tag handler of the behavior tracking tag display.
This tag is a base tag that will be used by other
XXXXProductTags and only validates information
that is common to the latter.
-
Hierarchy
-
Object
TagSupport
ProductEventTag
-
All Implemented Interfaces
-
IterationTag
, Serializable
, Tag
-
Direct Known Subclasses
-
DisplayProductEventTag
Methods from javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, 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
documentId
protected String
documentId
documentType
protected String
documentType
sessionId
protected String
sessionId
sku
protected String
sku
userId
protected String
userId
ProductEventTag
public ProductEventTag()
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
getDocumentId() Method
public String
getDocumentId()
Get the documentId
Returns
- String the documentId
getDocumentType() Method
public String
getDocumentType()
Get the documentType
Returns
- String the documentType
getSku() Method
public String
getSku()
Get the Sku
Returns
- String the sku
log(int, String) Method
protected void log(int logLevel,
String
message)
release() Method
public void release()
-
Overrides
-
TagSupport.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
setDocumentId(String) Method
public void setDocumentId(String
theDocumentId)
Set the documentId
Parameters
-
theDocumentId
- documentId to set to
setDocumentType(String) Method
public void setDocumentType(String
theDocumentType)
Set the documentType
Parameters
-
theDocumentType
- documentType to set to
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