BEA Systems, Inc.

theory.smart.ebusiness.shipping
Class ShippingManagerImpl

java.lang.Object
  |
  +--theory.smart.foundation.SessionImpl
        |
        +--theory.smart.ebusiness.shipping.ShippingManagerImpl

public class ShippingManagerImpl
extends SessionImpl

Manages the creation and removal of PackingLists. It also provides an interface to Shipping Methods.

See Also:
ShippingManager, ShippingManagerHome, Serialized Form

Field Summary
 PackingListHome packingListHome
           
 ShippingMethodHome shippingMethodHome
           
 
Fields inherited from class theory.smart.foundation.SessionImpl
ctx
 
Constructor Summary
ShippingManagerImpl()
           
 
Method Summary
 PackingList createPackingList(Order order)
          Create Packing List will create a packing list by combining an and customer key.
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbPostCreate()
           
 void ejbRemove()
           
 com.sun.java.util.collections.Collection getPendingPackingLists()
          Return a vector that contains the orderKey of all outstanding PackingLists.
 java.util.Enumeration getShippingMethods()
           
 void setSessionContext(javax.ejb.SessionContext ctx)
           
 
Methods inherited from class theory.smart.foundation.SessionImpl
getSessionContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shippingMethodHome

public transient ShippingMethodHome shippingMethodHome

packingListHome

public transient PackingListHome packingListHome
Constructor Detail

ShippingManagerImpl

public ShippingManagerImpl()
                    throws javax.ejb.CreateException
Method Detail

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException,
                      java.rmi.RemoteException
Overrides:
ejbCreate in class SessionImpl

ejbPostCreate

public void ejbPostCreate()
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException
Overrides:
ejbPostCreate in class SessionImpl

ejbActivate

public void ejbActivate()
                 throws java.rmi.RemoteException
Overrides:
ejbActivate in class SessionImpl

ejbPassivate

public void ejbPassivate()
                  throws java.rmi.RemoteException
Overrides:
ejbPassivate in class SessionImpl

ejbRemove

public void ejbRemove()
               throws java.rmi.RemoteException
Overrides:
ejbRemove in class SessionImpl

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)
                       throws java.rmi.RemoteException
Overrides:
setSessionContext in class SessionImpl

getShippingMethods

public java.util.Enumeration getShippingMethods()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException

createPackingList

public PackingList createPackingList(Order order)
                              throws java.rmi.RemoteException
Create Packing List will create a packing list by combining an and customer key. The user of this class is required to set other values separately.

getPendingPackingLists

public com.sun.java.util.collections.Collection getPendingPackingLists()
                                                                throws java.rmi.RemoteException
Return a vector that contains the orderKey of all outstanding PackingLists.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved