| org.objectweb.jonas.stests.appli.OrderEntryClerk
OrderEntryClerk | public interface OrderEntryClerk extends EJBObject(Code) | | OrderEntryClerk remote interface
|
addOrderLine | public void addOrderLine(Integer iid, int quantity) throws RemoteException(Code) | | Create an order detail (order line). Add an item and quantity to the order.
Parameters: iid - Item ID to set (Mandatory) Parameters: quantity - amount of the item to be placed on order (Mandatory) void exception: java.rmi.RemoteException - Remote exception |
findAllItems | public Vector findAllItems() throws RemoteException(Code) | | Find all available items
Note: This method will return a Vector of String Arrays
each String Array contains:
- String 0 - Item ID
- String 1 - Item Description
- String 2 - Item Price
- String 3 - Item Quantity in Stock
- String 4 - Item Data
Vector exception: java.rmi.RemoteException - Remote exception |
findRangeOfItems | public Vector findRangeOfItems(Integer lowID, Integer highID) throws RemoteException(Code) | | Retrieve available items within a range of item IDs
Note: This method will return a Vector of String Arrays
each String Array contains:
- String 0 - Item ID
- String 1 - Item Description
- String 2 - Item Price
- String 3 - Item Quantity in Stock
- String 4 - Item Data
Vector exception: java.rmi.RemoteException - Remote exception |
getCustomerForOrder | public String[] getCustomerForOrder(String wid, int did, int oid) throws RemoteException, CpwejbException(Code) | | Get the cutomer for a given order. The order is located by its warehouse,
district, and order number. The returned information is:
- String 0 - Customer ID
- String 1 - Customer first name
- String 2 - Customer initials
- String 3 - Customer last name
Parameters: wid - Warehouse ID Parameters: did - District ID Parameters: oid - Order ID String exception: CpwejbException - Application exception exception: java.rmi.RemoteException - Remote exception |
getItemsForOrder | public Vector getItemsForOrder(String wid, int did, int oid) throws RemoteException, CpwejbException(Code) | | Get the items list for a given order. The order is located by its warehouse,
district, and order number. The return information is:
- String 0 - Order line number
- String 1 - Item description
- String 2 - Item quanity
- String 3 - Order line amount
Parameters: wid - Warehouse ID Parameters: did - District ID Parameters: oid - Order ID Vector exception: CpwejbException - Application exception exception: java.rmi.RemoteException - Remote exception |
undoAll | public void undoAll() throws RemoteException(Code) | | Reset the OrderEntryClerk state ie the current customer and the current order
|
verifyCustomer | public boolean verifyCustomer(Integer cid) throws RemoteException(Code) | | Verify the existence of a customer in this districts tables.
Parameters: cid - Customer ID to check for (Mandatory) boolean exception: java.rmi.RemoteException - Remote exception |
|
|