© 2001 BEA Systems, Inc.

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

java.lang.Object
  |
  +--com.beasys.commerce.foundation.AbstractConfigurableEntity
        |
        +--com.bea.commerce.platform.events.Event
              |
              +--com.bea.commerce.platform.tracking.events.TrackingEvent
                    |
                    +--com.bea.commerce.ebusiness.tracking.events.ShoppingEvent
                          |
                          +--com.bea.commerce.ebusiness.tracking.events.RemoveFromCartEvent
All Implemented Interfaces:
BusinessPolicyManager, ConfigurableEntity, EventConstants, java.io.Serializable

public class RemoveFromCartEvent
extends ShoppingEvent

Event for tracking shopping cart removes

See Also:
Serialized Form

Field Summary
static java.lang.String TYPE
          The event type
static java.lang.String UNIT_PRICE
          Event attribute key name for unit price (used by shopping and buy) Attribute value is a Double
static java.lang.String XML_NAMESPACE
          The XML namespace for this event
static java.lang.String XSD_FILE
          The XSD file containing the schema for this event
 
Fields inherited from class com.bea.commerce.ebusiness.tracking.events.ShoppingEvent
APPLICATION_NAME, CURRENCY, QUANTITY, SKU
 
Fields inherited from class com.bea.commerce.platform.tracking.events.TrackingEvent
REQUEST, SESSION_ID, USER_ID
 
Fields inherited from interface com.beasys.commerce.foundation.ConfigurableEntity
RESERVED_SCOPE_NAME
 
Fields inherited from interface com.bea.commerce.platform.events.EventConstants
ASYNCHRONOUS_LISTENER_CLASSES_PROPERTY, EVENT_LISTENER_CLASSES_PROPERTY, EVENT_MESSAGE_CATALOG, ILLEGAL_ARGUMENT_EXCEPTION_NULL_TYPE, LISTENER_CREATE_EXCEPTION, NULL_POINTER_EXCEPTION_ATTRIBUTE_KEY, TYPE_ALL
 
Constructor Summary
RemoveFromCartEvent(java.lang.String theSessionId, java.lang.String theUserId, javax.servlet.http.HttpServletRequest theRequest, java.lang.String aSKU, java.lang.Double theQuantity, java.lang.Double theUnitPrice, java.lang.String aCurrency, java.lang.String aApplicationName)
          Create a new RemoveFromCartEvent.
 
Methods inherited from class com.bea.commerce.platform.tracking.events.TrackingEvent
getSchemaKeys, getXMLNamespace, getXSDFile, setSchemaKeys, setXMLNamespace, setXSDFile
 
Methods inherited from class com.bea.commerce.platform.events.Event
getAttribute, getAttributeNames, getProperty, getTimeStamp, getType, removeAttribute, setAttribute, toString
 
Methods inherited from class com.beasys.commerce.foundation.AbstractConfigurableEntity
addBusinessPolicy, addPropertyValue, addPropertyValueMapped, getBusinessPolicy, getPersistableHandle, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyNoDefault, getSuccessor, getUniqueId, removeBusinessPolicy, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setProperty, setProperty, setSuccessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.beasys.commerce.foundation.ConfigurableEntity
addPropertyValue, addPropertyValueMapped, getPersistableHandle, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyNoDefault, getSuccessor, getUniqueId, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setProperty, setProperty, setSuccessor
 
Methods inherited from interface com.beasys.commerce.foundation.BusinessPolicyManager
addBusinessPolicy, getBusinessPolicy, removeBusinessPolicy
 

Field Detail

TYPE

public static final java.lang.String TYPE
The event type

XML_NAMESPACE

public static final java.lang.String XML_NAMESPACE
The XML namespace for this event

XSD_FILE

public static final java.lang.String XSD_FILE
The XSD file containing the schema for this event

UNIT_PRICE

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

RemoveFromCartEvent

public RemoveFromCartEvent(java.lang.String theSessionId,
                           java.lang.String theUserId,
                           javax.servlet.http.HttpServletRequest theRequest,
                           java.lang.String aSKU,
                           java.lang.Double theQuantity,
                           java.lang.Double theUnitPrice,
                           java.lang.String aCurrency,
                           java.lang.String aApplicationName)
Create a new RemoveFromCartEvent.
Parameters:
theSessionId - from HttpSession.getId()
theUserId - from HttpServletRequest.getRemoteUser() or equivalent (null if unknown
theRequest - the http servlet request object
aSKU - SKU of the item (optionally null)
theQuantity - quantity of item
theUnitPrice - price per unit quantity of the item
aCurrency - the currency (null if unknown)
aApplicationName - application name (aka storefront) (optionally null)

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved