# com.beasys.commerce.ebusiness.order
OrderHome Interface

public interface OrderHome
extends `SmartEJBHome`

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

All Superinterfaces
  `EJBHome`, `Remote`, `SmartEJBHome`, `SmartHome`

## Method Summary

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

Methods from interface `javax.ejb.`EJBHome``
`getEJBMetaData, getHomeHandle, remove, remove`

## Method Detail

### create(OrderPk) Method

    public Order create(OrderPk orderPk)
         throws CreateException, RemoteException

Create a new Order entity bean using the com.beasys.commerce.ebusiness.order.OrderPk.

#### Exceptions

``CreateException``
``RemoteException``

### findByCustomer(String) Method

    public Collection findByCustomer(String customerIdentifier)
         throws RemoteException, FinderException

Returns a list of Orders in the system that are associated with the specified Customer identifier.

#### Exceptions

``RemoteException``
``FinderException``

### findByDate(Date, Date) Method

    public Collection findByDate(Date from,
                                 Date to)
         throws RemoteException, FinderException

Returns a list of Orders in the system that fall within the given date range.

#### Exceptions

``RemoteException``
``FinderException``

### findByPrimaryKey(OrderPk) Method

    public Order findByPrimaryKey(OrderPk orderPk)
         throws RemoteException, FinderException

Find an Order entity bean using the com.beasys.commerce.ebusiness.order.OrderPk.

#### Exceptions

``RemoteException``
``FinderException``

### findByStatus(String) Method

    public Collection findByStatus(String findStatus)
         throws RemoteException, FinderException

Returns an enumeration of all the Orders in the system with the specified status.

#### Exceptions

``RemoteException``
``FinderException``