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

java.lang.Object
  extended by TagSupport
      extended by com.bea.commerce.ebusiness.tracking.tags.ProductEventTag
Direct Known Subclasses:
DisplayProductEventTag

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.


Field Summary
protected  String applicationName
           
protected  String categoryId
           
protected  String documentId
           
protected  String documentType
           
protected  String sessionId
           
protected  String sku
           
protected  String userId
           
 
Constructor Summary
ProductEventTag()
           
 
Method Summary
 int doStartTag()
          Implement the StartTag callback.
 String getApplicationName()
          Get the applicationName
 String getCategoryId()
          Get the categoryId
 String getDocumentId()
          Get the documentId
 String getDocumentType()
          Get the documentType
 String getSku()
          Get the Sku
protected  void log(int logLevel, String message)
           
 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 setDocumentId(String theDocumentId)
          Set the documentId
 void setDocumentType(String theDocumentType)
          Set the documentType
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documentId

protected String documentId

documentType

protected String documentType

sku

protected String sku

categoryId

protected String categoryId

applicationName

protected String applicationName

sessionId

protected String sessionId

userId

protected String userId
Constructor Detail

ProductEventTag

public ProductEventTag()
Method Detail

getDocumentId

public String getDocumentId()
Get the documentId

Returns
String the documentId

setDocumentId

public void setDocumentId(String theDocumentId)
Set the documentId

Parameters
theDocumentId - documentId to set to

getDocumentType

public String getDocumentType()
Get the documentType

Returns
String the documentType

setDocumentType

public void setDocumentType(String theDocumentType)
Set the documentType

Parameters
theDocumentType - documentType to set to

getSku

public String getSku()
Get the Sku

Returns
String the sku

setSku

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

Returns
String the categoryId

setCategoryId

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

Returns
String the applicationName

setApplicationName

public void setApplicationName(String theApplicationName)
Set the applicationName

Parameters
theApplicationName - applicationName to set to

doStartTag

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

Throws
JspTagException

throwException

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

throwException

protected void throwException(String message)
                       throws JspTagException
Throws
JspTagException

log

protected void log(int logLevel,
                   String message)

release

public void release()


Copyright © 2006 BEA Systems, Inc. All Rights Reserved