org.cocome.tradingsystem.inventory.application.reporting.impl
Class ReportingImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.cocome.tradingsystem.inventory.application.reporting.impl.ReportingImpl
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, ReportingIf
public class ReportingImpl
- extends java.rmi.server.UnicastRemoteObject
- implements ReportingIf
- Author:
- Yannick Welsch
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ReportingImpl
public ReportingImpl()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getMeanTimeToDeliveryReport
public ReportTO getMeanTimeToDeliveryReport(EnterpriseTO enterpriseTO)
- Used for implementation of UC 6:ShowDeliveryReports
- Specified by:
getMeanTimeToDeliveryReport
in interface ReportingIf
- Parameters:
enterpriseTO
- TradingEnterprise for which the report should be generated.
- Returns:
- Report transfer object containing mean time to delivery information.
getStockReport
public ReportTO getStockReport(StoreTO storeTO)
- Used for implementation of UC 5:ShowStockReports
- Specified by:
getStockReport
in interface ReportingIf
- Parameters:
storeTO
- Store for which report should be generated.
- Returns:
- Report transfer object containing stock information.
getStockReport
public ReportTO getStockReport(EnterpriseTO enterpriseTO)
- Description copied from interface:
ReportingIf
- Generates report of cumulated available stocks of specified enterprise.
- Specified by:
getStockReport
in interface ReportingIf
- Parameters:
enterpriseTO
- The enterprise for which the report should be generated.
- Returns:
- Report transfer object containing cumulated stock information.