com.ibm.websphere.samples.plantsbywebsphereejb
Interface ReportGenerator

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface ReportGenerator
extends javax.ejb.EJBObject

Remote interface for ReportGenerator stateless session bean.


Method Summary
 Report getTopSellersForDates(java.util.Date startdate, java.util.Date enddate, int quantity, ReportFormat reportFormat)
          Run the report to get the top selling items for a range of dates.
 Report getTopSellingZipsForDates(java.util.Date startdate, java.util.Date enddate, int quantity, ReportFormat reportFormat)
          Run the report to get the top zip codes for a range of dates.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getTopSellersForDates

Report getTopSellersForDates(java.util.Date startdate,
                             java.util.Date enddate,
                             int quantity,
                             ReportFormat reportFormat)
                             throws java.rmi.RemoteException
Run the report to get the top selling items for a range of dates.

Throws:
java.rmi.RemoteException

getTopSellingZipsForDates

Report getTopSellingZipsForDates(java.util.Date startdate,
                                 java.util.Date enddate,
                                 int quantity,
                                 ReportFormat reportFormat)
                                 throws java.rmi.RemoteException
Run the report to get the top zip codes for a range of dates.

Throws:
java.rmi.RemoteException