Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2003 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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:
  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

### 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

### 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

### 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

### 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

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.

Parameters:
  `theEventType` - the event type
  `theXMLNamespace` - the namespace for an XML representation of this event type
  `theXSDFile` - the file that contains the schema which specifies and enforces typing on the data in the XML file
  `theSchemaKeys` - the list of keys (in their order in the XSD schema) representing the data to be persisted in this event's XML
  `theRequest` - the http servlet request object
  `aSKU` - SKU of the item (optionally null)
  `theQuantity` - quantity of item
  `aCurrency` - 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 type
  `theSessionId` - from HttpSession.getId()
  `theUserId` - from HttpServletRequest.getRemoteUser() or equivalent (null if unknown)
  `theXMLNamespace` - the namespace for an XML representation of this event type
  `theXSDFile` - the file that contains the schema which specifies and enforces typing on the data in the XML file
  `theSchemaKeys` - the list of keys (in their order in the XSD schema) representing the data to be persisted in this event's XML
  `theRequest` - the http servlet request object
  `aSKU` - SKU of the item (optionally null)
  `theQuantity` - quantity of item
  `aCurrency` - the currency (null ig unknown)
  `aApplicationName` - (aka storefront) (optionally null)

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2003 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003 BEA Systems, Inc. All Rights Reserved