© 2005 BEA Systems, Inc.

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

java.lang.Object
  extended bycom.bea.p13n.property.AbstractConfigurableEntity
      extended bycom.bea.p13n.events.Event
          extended bycom.bea.p13n.tracking.events.TrackingEvent
              extended bycom.bea.commerce.ebusiness.tracking.events.ShoppingEvent
All Implemented Interfaces:
ConfigurableEntity, EventConstants, 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
 
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
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.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

APPLICATION_NAME

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

See Also:
Constant Field Values

CURRENCY

public static final String CURRENCY
Event attribute key name for currency (used by shopping and buy) Attribute value is a String

See Also:
Constant Field Values

QUANTITY

public static final String QUANTITY
Event attribute key name for quantity (used by shopping and buy) Attribute value is a Double

See Also:
Constant Field Values

SKU

public static final String SKU
Event attribute key name for item sku (used by most) Attribute value is a String

See Also:
Constant Field Values
Constructor Detail

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.


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.


© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved