BuyEvent Class

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

public class BuyEvent

    extends ShoppingEvent

Event for tracking purchases


Hierarchy
Object
  AbstractConfigurableEntity
    Event
      TrackingEvent
        ShoppingEvent
          BuyEvent
All Implemented Interfaces

ConfigurableEntity, EventConstants, Serializable

Field Summary

public static final String
ORDER_LINE_ID
Order line id key Attribute value is a Long
public static final String
TYPE
The event type
public static final String
UNIT_PRICE
Event attribute key name for unit price (used by shopping and buy) Attribute value is a Double
   
Fields from  com.bea.commerce.ebusiness.tracking.events.ShoppingEvent
APPLICATION_NAME, CURRENCY, QUANTITY, SKU
 
Fields from  com.bea.p13n.tracking.events.TrackingEvent
APPLICATION, REQUEST, SESSION_ID, USER_ID, USER_TYPE
 
Fields from  com.bea.p13n.property.AbstractConfigurableEntity
CE_METHOD_CACHE, instanceClass, PREFIX_GET, PREFIX_SET, propertyCache, textFormatter
 
Fields from interface com.bea.p13n.property.ConfigurableEntity
RESERVED_PROPERTY_SET
 
Fields from interface com.bea.p13n.events.EventConstants
TYPE_ALL
 

Constructor Summary

BuyEvent(String theSessionId, String theUserId, HttpServletRequest theRequest, String aSKU, Double theQuantity, Double theUnitPrice, String aCurrency, String aApplicationName, Long aOrderLineId)

Create a new BuyEvent.
BuyEvent(HttpSession session, HttpServletRequest theRequest, String aSKU, Double theQuantity, Double theUnitPrice, String aCurrency, String aApplicationName, Long aOrderLineId)

Create a new BuyEvent.
 

Method Summary

 
Methods from  com.bea.p13n.tracking.events.TrackingEvent
getSchemaKeys, getSession, getXMLNamespace, getXSDFile, setSchemaKeys, setSession, setXMLNamespace, setXSDFile
 
Methods from  com.bea.p13n.events.Event
getApplication, getAttribute, getAttributeNames, getProperty, getTimeStamp, getType, removeAttribute, setApplication, setAttribute, toString
 
Methods from  com.bea.p13n.property.AbstractConfigurableEntity
createMapKey, getCachedProperty, getExplicitProperty, getExplicitSetter, getImplicitProperty, getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyCache, getPropertyNoDefault, getUniqueId, hasExplicitGetter, hasExplicitSetter, removeExplicitProperty, removeProperty, setExplicitProperty, setProperty, upcaseFirst
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.p13n.property.ConfigurableEntity
getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyNoDefault, getUniqueId, removeProperty, setProperty
 

Field Detail

ORDER_LINE_ID

public static final String ORDER_LINE_ID
Order line id key Attribute value is a Long


TYPE

public static final String TYPE
The event type


UNIT_PRICE

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

 

Constructor Detail

BuyEvent

public BuyEvent(String theSessionId, 
                String theUserId, 
                HttpServletRequest theRequest, 
                String aSKU, 
                Double theQuantity, 
                Double theUnitPrice, 
                String aCurrency, 
                String aApplicationName, 
                Long aOrderLineId)
Create a new BuyEvent.

BuyEvent

public BuyEvent(HttpSession session, 
                HttpServletRequest theRequest, 
                String aSKU, 
                Double theQuantity, 
                Double theUnitPrice, 
                String aCurrency, 
                String aApplicationName, 
                Long aOrderLineId)
Create a new BuyEvent. This ctor must be used to track anonymous users