package com.xyz.ejb;
import com.xyz.data.LocationVO;
import com.xyz.data.ItemVO;
/**
* Remote interface for Enterprise Bean: SalesFacade
*/
public interface SalesFacade extends javax.ejb.EJBObject {
public String echo(String s) throws java.rmi.RemoteException;
/**
* Return array of Item data objects
* @return com.xyz.data.LocationVO[], an array of all locations
*/
public ItemVO[] getAllItems() throws java.rmi.RemoteException;
/**
* Create Purchase objects from list of items for a
* given Zip Code
* @return boolean, true if and only if successful
*/
public boolean makePurchase(String zipCode, Long[] items)
throws java.rmi.RemoteException;
}