com.bea.commerce.ebusiness.tracking.events
Class ShoppingEvent
java.lang.Object
com.bea.p13n.property.AbstractConfigurableEntity
com.bea.p13n.events.Event
com.bea.p13n.tracking.events.TrackingEvent
com.bea.commerce.ebusiness.tracking.events.ShoppingEvent
- All Implemented Interfaces
- EventConstants, ConfigurableEntity, Serializable
- Direct Known Subclasses:
- AddToCartEvent, BuyEvent, PurchaseCartEvent, RemoveFromCartEvent
public abstract class ShoppingEvent
- extends TrackingEvent
Event for tracking shopping and purchase activity
- See Also
- Serialized Form
Field Summary |
static String |
APPLICATION_NAME
Event attribute key name for application name (aka storefront)
Attribute value is a String |
static String |
CURRENCY
Event attribute key name for currency (used by shopping and buy)
Attribute value is a String |
static String |
QUANTITY
Event attribute key name for quantity (used by shopping and buy)
Attribute value is a Double |
static String |
SKU
Event attribute key name for item sku (used by most)
Attribute value is a String |
Constructor Summary |
ShoppingEvent(String theEventType,
HttpSession session,
String theXMLNamespace,
String theXSDFile,
String[] theSchemaKeys,
HttpServletRequest theRequest,
String aSKU,
Double theQuantity,
String aCurrency,
String aApplicationName)
Create a new ShoppingEvent. |
ShoppingEvent(String theEventType,
String theSessionId,
String theUserId,
String theXMLNamespace,
String theXSDFile,
String[] theSchemaKeys,
HttpServletRequest theRequest,
String aSKU,
Double theQuantity,
String aCurrency,
String aApplicationName)
Deprecated |
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 |
SKU
public static final String SKU
- Event attribute key name for item sku (used by most)
Attribute value is a String
- See Also
- Constants Summary
QUANTITY
public static final String QUANTITY
- Event attribute key name for quantity (used by shopping and buy)
Attribute value is a Double
- See Also
- Constants Summary
CURRENCY
public static final String CURRENCY
- Event attribute key name for currency (used by shopping and buy)
Attribute value is a String
- See Also
- Constants Summary
APPLICATION_NAME
public static final String APPLICATION_NAME
- Event attribute key name for application name (aka storefront)
Attribute value is a String
- See Also
- Constants Summary
ShoppingEvent
public ShoppingEvent(String theEventType,
HttpSession session,
String theXMLNamespace,
String theXSDFile,
String[] theSchemaKeys,
HttpServletRequest theRequest,
String aSKU,
Double theQuantity,
String aCurrency,
String aApplicationName)
- Create a new ShoppingEvent.
This ctor must be used to track anonymous users.
- Parameters
theEventType
- the event typetheSessionId
- from HttpSession.getId()theUserId
- from HttpServletRequest.getRemoteUser() or equivalent (null if unknown)theXMLNamespace
- the namespace for an XML representation of this event typetheXSDFile
- the file that contains the schema which specifies and enforces typing on the data in the XML filetheSchemaKeys
- the list of keys (in their order in the XSD schema) representing the data
to be persisted in this event's XMLtheRequest
- the http servlet request objectaSKU
- SKU of the item (optionally null)theQuantity
- quantity of itemaCurrency
- the currency (null ig unknown)aApplicationName
- (aka storefront) (optionally null)
ShoppingEvent
public ShoppingEvent(String theEventType,
String theSessionId,
String theUserId,
String theXMLNamespace,
String theXSDFile,
String[] theSchemaKeys,
HttpServletRequest theRequest,
String aSKU,
Double theQuantity,
String aCurrency,
String aApplicationName)
- Deprecated
- Create a new ShoppingEvent.
- Parameters
theEventType
- the event typetheSessionId
- from HttpSession.getId()theUserId
- from HttpServletRequest.getRemoteUser() or equivalent (null if unknown)theXMLNamespace
- the namespace for an XML representation of this event typetheXSDFile
- the file that contains the schema which specifies and enforces typing on the data in the XML filetheSchemaKeys
- the list of keys (in their order in the XSD schema) representing the data
to be persisted in this event's XMLtheRequest
- the http servlet request objectaSKU
- SKU of the item (optionally null)theQuantity
- quantity of itemaCurrency
- the currency (null ig unknown)aApplicationName
- (aka storefront) (optionally null)
Copyright © 2006 BEA Systems, Inc. All Rights Reserved