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
- 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 java.lang.String |
APPLICATION_NAME
Event attribute key name for application name (aka storefront)
Attribute value is a String |
static java.lang.String |
CURRENCY
Event attribute key name for currency (used by shopping and buy)
Attribute value is a String |
static java.lang.String |
QUANTITY
Event attribute key name for quantity (used by shopping and buy)
Attribute value is a Double |
static java.lang.String |
SKU
Event attribute key name for item sku (used by most)
Attribute value is a String |
Constructor Summary
|
ShoppingEvent(java.lang.String theEventType,
java.lang.String theSessionId,
java.lang.String theUserId,
java.lang.String theXMLNamespace,
java.lang.String theXSDFile,
java.lang.String[] theSchemaKeys,
javax.servlet.http.HttpServletRequest theRequest,
java.lang.String aSKU,
java.lang.Double theQuantity,
java.lang.String aCurrency,
java.lang.String aApplicationName)
Create a new ShoppingEvent. |
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 |
SKU
public static final java.lang.String SKU
- Event attribute key name for item sku (used by most)
Attribute value is a String
QUANTITY
public static final java.lang.String QUANTITY
- Event attribute key name for quantity (used by shopping and buy)
Attribute value is a Double
CURRENCY
public static final java.lang.String CURRENCY
- Event attribute key name for currency (used by shopping and buy)
Attribute value is a String
APPLICATION_NAME
public static final java.lang.String APPLICATION_NAME
- Event attribute key name for application name (aka storefront)
Attribute value is a String
ShoppingEvent
public ShoppingEvent(java.lang.String theEventType,
java.lang.String theSessionId,
java.lang.String theUserId,
java.lang.String theXMLNamespace,
java.lang.String theXSDFile,
java.lang.String[] theSchemaKeys,
javax.servlet.http.HttpServletRequest theRequest,
java.lang.String aSKU,
java.lang.Double theQuantity,
java.lang.String aCurrency,
java.lang.String aApplicationName)
- 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 © 2002 BEA Systems, Inc. All Rights Reserved