|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProductDispatcherIf
This interface provides enterprise specific business logic (business logic that is not available for stores)
Method Summary | |
---|---|
ProductAmountTO[] |
orderProductsAvailableAtOtherStores(EnterpriseTO enterpriseTO,
StoreTO callingStore,
java.util.Collection<ProductAmountTO> productAmounts)
Executes a query to search for a product (that ran out of stock at one store) at other stores in the region. |
Method Detail |
---|
ProductAmountTO[] orderProductsAvailableAtOtherStores(EnterpriseTO enterpriseTO, StoreTO callingStore, java.util.Collection<ProductAmountTO> productAmounts) throws java.rmi.RemoteException
Required for Use-Case 8 (product exchange (on low stock) among stores). Called by
an InventoryApplication
.
callingStore
- The store running out of stock.enterpriseTO
- The enterprise managing the transferproductAmounts
- The products running out at the calling store and the required
amount of those products.
Products that are indicates to be available (amount > 0) are prepared for delivery by the delivering store (markProductsUnavailableInStock).
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |