com.beasys.commerce.ebusiness.order
Interface OrderHome

All Superinterfaces
SmartEJBHome, SmartHome

public interface OrderHome
extends SmartEJBHome

The home interface for the Order entity bean. Use this class to create, remove, and find Order entity beans.


Method Summary
 Order create(OrderPk orderPk)
          Create a new Order entity bean using the com.beasys.commerce.ebusiness.order.OrderPk.
 Collection findByCustomer(String customerIdentifier)
          Returns a list of Orders in the system that are associated with the specified Customer identifier.
 Collection findByDate(Date from, Date to)
          Returns a list of Orders in the system that fall within the given date range.
 Order findByPrimaryKey(OrderPk orderPk)
          Find an Order entity bean using the com.beasys.commerce.ebusiness.order.OrderPk.
 Collection findByStatus(String findStatus)
          Returns an enumeration of all the Orders in the system with the specified status.
 

Method Detail

create

Order create(OrderPk orderPk)
             throws CreateException,
                    RemoteException
Create a new Order entity bean using the com.beasys.commerce.ebusiness.order.OrderPk.

Throws
CreateException
RemoteException

findByPrimaryKey

Order findByPrimaryKey(OrderPk orderPk)
                       throws RemoteException,
                              FinderException
Find an Order entity bean using the com.beasys.commerce.ebusiness.order.OrderPk.

Throws
RemoteException
FinderException

findByStatus

Collection findByStatus(String findStatus)
                        throws RemoteException,
                               FinderException
Returns an enumeration of all the Orders in the system with the specified status.

Throws
RemoteException
FinderException

findByCustomer

Collection findByCustomer(String customerIdentifier)
                          throws RemoteException,
                                 FinderException
Returns a list of Orders in the system that are associated with the specified Customer identifier.

Throws
RemoteException
FinderException

findByDate

Collection findByDate(Date from,
                      Date to)
                      throws RemoteException,
                             FinderException
Returns a list of Orders in the system that fall within the given date range.

Throws
RemoteException
FinderException


Copyright © 2006 BEA Systems, Inc. All Rights Reserved