org.cocome.tradingsystem.inventory.application.reporting
Interface ReportingIf

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ReportingImpl

public interface ReportingIf
extends java.rmi.Remote

This interface provides methods for generating reports. It corresponds to the interface ReportingIf in figure xx.

Author:
herold

Method Summary
 ReportTO getMeanTimeToDeliveryReport(EnterpriseTO enterpriseTO)
          Genrates report which informs about the mean time to delivery for each supplier of the specified enterprise.
 ReportTO getStockReport(EnterpriseTO enterpriseTO)
          Generates report of cumulated available stocks of specified enterprise.
 ReportTO getStockReport(StoreTO storeTO)
          Generates report of available stocks in the specified store.
 

Method Detail

getStockReport

ReportTO getStockReport(StoreTO storeTO)
                        throws java.rmi.RemoteException
Generates report of available stocks in the specified store.

Parameters:
storeTO - Store for which report should be generated.
Returns:
Report transfer object containing stock information.
Throws:
java.rmi.RemoteException

getStockReport

ReportTO getStockReport(EnterpriseTO enterpriseTO)
                        throws java.rmi.RemoteException
Generates report of cumulated available stocks of specified enterprise.

Parameters:
enterpriseTO - The enterprise for which the report should be generated.
Returns:
Report transfer object containing cumulated stock information.
Throws:
java.rmi.RemoteException

getMeanTimeToDeliveryReport

ReportTO getMeanTimeToDeliveryReport(EnterpriseTO enterpriseTO)
                                     throws java.rmi.RemoteException
Genrates report which informs about the mean time to delivery for each supplier of the specified enterprise.

Parameters:
enterpriseTO - TradingEnterprise for which the report should be generated.
Returns:
Report transfer object containing mean time to delivery information.
Throws:
java.rmi.RemoteException