com.sun.j2ee.blueprints.petstore.control.event
Class OrderEvent

java.lang.Object
  |
  +--com.sun.j2ee.blueprints.petstore.control.event.EStoreEventSupport
        |
        +--com.sun.j2ee.blueprints.petstore.control.event.OrderEvent

public class OrderEvent
extends EStoreEventSupport

This event is sent from the web tier to the EJB Controller to notify the EJB Controller that the user wants to change the Order model data.

See Also:
Serialized Form

Field Summary
static int CREATE_ORDER
           
static int DELETE_ORDER
           
static int UPDATE_ORDER
           
 
Constructor Summary
OrderEvent()
           
 
Method Summary
 int getActionType()
           
 Address getBillingAddress()
           
 java.lang.String getBillToFirstName()
           
 java.lang.String getBillToLastName()
           
 java.lang.String getCarrier()
           
 CreditCard getCreditCard()
           
 java.lang.String getEventName()
          Specifiy a logical name that is mapped to the event in in the Universal Remote Controller.
 java.util.Locale getLocale()
           
 int getRequestId()
           
 Address getShippingAddress()
           
 java.lang.String getShipToFirstName()
           
 java.lang.String getShipToLastName()
           
 void setInfo(int requestId, Address shippingAddress, Address billingAddress, java.lang.String shipToFirstName, java.lang.String shipToLastName, java.lang.String billToFirstName, java.lang.String billToLastName, CreditCard creditCard, java.lang.String carrier, java.util.Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATE_ORDER

public static final int CREATE_ORDER

DELETE_ORDER

public static final int DELETE_ORDER

UPDATE_ORDER

public static final int UPDATE_ORDER
Constructor Detail

OrderEvent

public OrderEvent()
Method Detail

setInfo

public void setInfo(int requestId,
                    Address shippingAddress,
                    Address billingAddress,
                    java.lang.String shipToFirstName,
                    java.lang.String shipToLastName,
                    java.lang.String billToFirstName,
                    java.lang.String billToLastName,
                    CreditCard creditCard,
                    java.lang.String carrier,
                    java.util.Locale locale)

getLocale

public java.util.Locale getLocale()

getActionType

public int getActionType()

getBillingAddress

public Address getBillingAddress()

getShippingAddress

public Address getShippingAddress()

getShipToFirstName

public java.lang.String getShipToFirstName()

getShipToLastName

public java.lang.String getShipToLastName()

getBillToFirstName

public java.lang.String getBillToFirstName()

getBillToLastName

public java.lang.String getBillToLastName()

getCarrier

public java.lang.String getCarrier()

getCreditCard

public CreditCard getCreditCard()

getRequestId

public int getRequestId()

getEventName

public java.lang.String getEventName()
Description copied from interface: EStoreEvent
Specifiy a logical name that is mapped to the event in in the Universal Remote Controller.
Overrides:
getEventName in class EStoreEventSupport


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.