© 2003 BEA Systems, Inc.

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

java.lang.Object
  |
  +--com.bea.p13n.property.AbstractConfigurableEntity
        |
        +--com.bea.p13n.events.Event
              |
              +--com.bea.p13n.tracking.events.TrackingEvent
                    |
                    +--com.bea.p13n.tracking.events.ClickEvent
                          |
                          +--com.bea.commerce.ebusiness.tracking.events.ClickProductEvent
All Implemented Interfaces:
ConfigurableEntity, EventConstants, Serializable

public class ClickProductEvent
extends ClickEvent

Event for tracking click of product

See Also:
Serialized Form

Field Summary
static String APPLICATION_NAME
          Event attribute key name for storefront (aka application) Attribute value is a String
static String BANNER_AD_PROMOTION
          Suggestions for entry into the documentType data passed to the constructor Attribute value is a String
static String CATEGORY_BROWSE
          Suggestions for entry into the documentType data passed to the constructor Attribute value is a String
static String CATEGORY_ID
          Event attribute key name for item category id Attribute value is a String
static String CATEGORY_VIEW
          Suggestions for entry into the documentType data passed to the constructor Attribute value is a String
static String ITEM_BROWSE
          Suggestions for entry into the documentType data passed to the constructor Attribute value is a String
static String SKU
          Event attribute key name for item sku Attribute value is a String
static String TYPE
          The event type
 
Fields inherited from class com.bea.p13n.tracking.events.ClickEvent
DOCUMENT_ID, DOCUMENT_TYPE
 
Fields inherited from class com.bea.p13n.tracking.events.TrackingEvent
APPLICATION, REQUEST, SESSION_ID, USER_ID, USER_TYPE
 
Fields inherited from class com.bea.p13n.property.AbstractConfigurableEntity
CE_METHOD_CACHE, instanceClass, PREFIX_GET, PREFIX_SET, propertyCache, textFormatter
 
Fields inherited from interface com.bea.p13n.property.ConfigurableEntity
RESERVED_PROPERTY_SET
 
Fields inherited from interface com.bea.p13n.events.EventConstants
TYPE_ALL
 
Constructor Summary
ClickProductEvent(HttpSession session, HttpServletRequest theRequest, String aDocumentType, String aDocumentId, String aSKU, String aCategoryId, String aApplicationName)
          Create a new ClickProductEvent.
ClickProductEvent(String theSessionId, String theUserId, HttpServletRequest theRequest, String aDocumentType, String aDocumentId, String aSKU, String aCategoryId, String aApplicationName)
          Deprecated.  
 
Methods inherited from class com.bea.p13n.tracking.events.TrackingEvent
getSchemaKeys, getSession, getXMLNamespace, getXSDFile, setSchemaKeys, setSession, 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
 
Methods inherited from interface com.bea.p13n.property.ConfigurableEntity
getJndiName, getPkString, getPropertyAsString, getPropertyNoDefault, getUniqueId, removeProperty, setProperty
 

Field Detail

TYPE

public static final String TYPE
The event type

See Also:
Constant Field Values

CATEGORY_ID

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

See Also:
Constant Field Values

SKU

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

See Also:
Constant Field Values

APPLICATION_NAME

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

See Also:
Constant Field Values

CATEGORY_BROWSE

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

See Also:
Constant Field Values

ITEM_BROWSE

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

See Also:
Constant Field Values

CATEGORY_VIEW

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

See Also:
Constant Field Values

BANNER_AD_PROMOTION

public static final String BANNER_AD_PROMOTION
Suggestions for entry into the documentType data passed to the constructor Attribute value is a String

See Also:
Constant Field Values
Constructor Detail

ClickProductEvent

public ClickProductEvent(HttpSession session,
                         HttpServletRequest theRequest,
                         String aDocumentType,
                         String aDocumentId,
                         String aSKU,
                         String aCategoryId,
                         String aApplicationName)
Create a new ClickProductEvent. This ctor must be used to track anonymous users.

Parameters:
session - the http servlet session object
theRequest - the http servlet request object
aDocumentType - Document Type for the clicked content (optionally null)
aDocumentId - Document ID for the clicked content (optionally null)
aCategoryId - Category of the item associated with the clicked content (optionally null)
aSKU - SKU of the item associated with the clicked content (optionally null)
aApplicationName - application name (aka storefront) (optionally null)

ClickProductEvent

public ClickProductEvent(String theSessionId,
                         String theUserId,
                         HttpServletRequest theRequest,
                         String aDocumentType,
                         String aDocumentId,
                         String aSKU,
                         String aCategoryId,
                         String aApplicationName)
Deprecated.  

Create a new ClickProductEvent.

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 clicked content (optionally null)
aDocumentId - Document ID for the clicked content (optionally null)
aCategoryId - Category of the item associated with the clicked content (optionally null)
aSKU - SKU of the item associated with the clicked content (optionally null)
aApplicationName - application name (aka storefront) (optionally null)

© 2003 BEA Systems, Inc.

Copyright © 2003 BEA Systems, Inc. All Rights Reserved