| java.lang.Object olstore.domain.manager.OrderManager
OrderManager | public class OrderManager (Code) | | A wrapper class for order actions so that there is no need to reference the
beans directly, allowing us to swap out the backend beans for a different
implementation.
|
Constructor Summary | |
public | OrderManager(OrderLocalHome home) |
OrderManager | public OrderManager(OrderLocalHome home)(Code) | | Constructs a new order manager with the LocalHome bean injected by
spring
Parameters: home - the LocalHome interface of the Order EJB |
findOrdersForUpdate | public Collection findOrdersForUpdate()(Code) | | Load orders whose status needs to be updated by the admin.
Parameters: status - the status of the orders to load a list of OrderEntry objects for each order that can be updated |
loadOrdersForUpdate | public ArrayList loadOrdersForUpdate()(Code) | | Load orders whose status needs to be updated by the admin.
Parameters: status - the status of the orders to load a list of OrderEntry objects for each order that can be updated |
setStatus | public void setStatus(Integer id, String status)(Code) | | Updates the status of a given order.
Parameters: id - the id of the order Parameters: status - the new status of the order |
|
|