© 2002 BEA Systems, Inc.


com.bea.commerce.ebusiness.tracking.events
Class DisplayProductEvent

java.lang.Object
  |
  +--com.bea.p13n.property.AbstractConfigurableEntity
        |
        +--com.bea.p13n.events.Event
              |
              +--com.bea.p13n.tracking.events.TrackingEvent
                    |
                    +--com.bea.p13n.tracking.events.ContentEvent
                          |
                          +--com.bea.commerce.ebusiness.tracking.events.DisplayProductEvent

public class DisplayProductEvent
extends ContentEvent

Event for tracking display of product

See Also:
Serialized Form

Field Summary
static java.lang.String APPLICATION_NAME
          Event attribute key name for storefront (aka application) Attribute value is a String
static java.lang.String BANNER_AD_PROMOTION
          Suggestions for entry into the documentType data passed to the constructor Attribute value is a String
static java.lang.String CATEGORY_BROWSE
          Suggestions for entry into the documentType data passed to the constructor Attribute value is a String
static java.lang.String CATEGORY_ID
          Event attribute key name for item category id Attribute value is a String
static java.lang.String CATEGORY_VIEW
          Suggestions for entry into the documentType data passed to the constructor Attribute value is a String
static java.lang.String ITEM_BROWSE
          Suggestions for entry into the documentType data passed to the constructor Attribute value is a String
static java.lang.String SKU
          Event attribute key name for item sku Attribute value is a String
static java.lang.String TYPE
          The event type
 
Fields inherited from class com.bea.p13n.tracking.events.ContentEvent
DOCUMENT_ID, DOCUMENT_TYPE
 
Fields inherited from class com.bea.p13n.tracking.events.TrackingEvent
APPLICATION, REQUEST, SESSION_ID, USER_ID
 
Fields inherited from class com.bea.p13n.property.AbstractConfigurableEntity
CE_METHOD_CACHE, instanceClass, PREFIX_GET, PREFIX_SET, propertyCache, textFormatter
 
Constructor Summary
DisplayProductEvent(java.lang.String theSessionId, java.lang.String theUserId, javax.servlet.http.HttpServletRequest theRequest, java.lang.String aDocumentType, java.lang.String aDocumentId, java.lang.String aSKU, java.lang.String aCategoryId, java.lang.String aApplicationName)
          Create a new DisplayProductEvent.
 
Methods inherited from class com.bea.p13n.tracking.events.TrackingEvent
getSchemaKeys, getXMLNamespace, getXSDFile, setSchemaKeys, setXMLNamespace, setXSDFile
 
Methods inherited from class com.bea.p13n.events.Event
getApplication, getAttribute, getAttributeNames, getProperty, getTimeStamp, getType, removeAttribute, setApplication, setAttribute, toString
 
Methods inherited from class com.bea.p13n.property.AbstractConfigurableEntity
createMapKey, getCachedProperty, getExplicitProperty, getExplicitSetter, getImplicitProperty, getJndiName, getPkString, getPropertyAsString, getPropertyCache, getPropertyNoDefault, getUniqueId, hasExplicitGetter, hasExplicitSetter, removeExplicitProperty, removeProperty, setExplicitProperty, setProperty, upcaseFirst
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final java.lang.String TYPE
The event type

CATEGORY_ID

public static final java.lang.String CATEGORY_ID
Event attribute key name for item category id Attribute value is a String

SKU

public static final java.lang.String SKU
Event attribute key name for item sku Attribute value is a String

APPLICATION_NAME

public static final java.lang.String APPLICATION_NAME
Event attribute key name for storefront (aka application) Attribute value is a String

CATEGORY_BROWSE

public static final java.lang.String CATEGORY_BROWSE
Suggestions for entry into the documentType data passed to the constructor Attribute value is a String

ITEM_BROWSE

public static final java.lang.String ITEM_BROWSE
Suggestions for entry into the documentType data passed to the constructor Attribute value is a String

CATEGORY_VIEW

public static final java.lang.String CATEGORY_VIEW
Suggestions for entry into the documentType data passed to the constructor Attribute value is a String

BANNER_AD_PROMOTION

public static final java.lang.String BANNER_AD_PROMOTION
Suggestions for entry into the documentType data passed to the constructor Attribute value is a String
Constructor Detail

DisplayProductEvent

public DisplayProductEvent(java.lang.String theSessionId,
                           java.lang.String theUserId,
                           javax.servlet.http.HttpServletRequest theRequest,
                           java.lang.String aDocumentType,
                           java.lang.String aDocumentId,
                           java.lang.String aSKU,
                           java.lang.String aCategoryId,
                           java.lang.String aApplicationName)
Create a new DisplayProductEvent.

Parameters:
theSessionId - from HttpSession.getId()
theUserId - from HttpServletRequest.getRemoteUser() or equivalent (null if unknown)
theRequest - the http servlet request object
aDocumentType - Document Type for the displayed content (optionally null)
aDocumentId - Document ID for the displayed content (optionally null)
aCategoryId - Category of the item associated with the displayed content (optionally null)
aSKU - SKU of the item associated with the displayed content (optionally null)
aApplicationName - application name (Storefront) (optionally null)

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved