com.retek.component.customerorder.integration.rib
Class ReturnConfirmationOrder

java.lang.Object
  extended bycom.retek.component.customerorder.integration.rib.ReturnConfirmationOrder

public class ReturnConfirmationOrder
extends java.lang.Object

Class which represents a return confirmation order. This is a wrapper class around a customer order for use within the return confirmation process. It provides additional behavior specific to the return process.


Constructor Summary
ReturnConfirmationOrder(CustomerOrder order)
           
 
Method Summary
 CustomerOrder getOrder()
           
 java.util.List getPendingReturnLinesForItemSortedByQty(java.lang.String itemId)
          Return a list of pending return lines (matching the specified item) sorted in descending order by expected quantity.
 java.util.List getReturnableOrderLinesForItem(java.lang.String itemId)
          Return a list of returnable order lines (matching the specified item).
 SellingSku getSellingSku(java.lang.String itemId)
           
 Quantity getTotalReturnableQuantity(java.lang.String itemId)
          Return the total returnable quantity on an order for a specified sellable item id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnConfirmationOrder

public ReturnConfirmationOrder(CustomerOrder order)
                        throws SystemException
Method Detail

getOrder

public CustomerOrder getOrder()

getTotalReturnableQuantity

public Quantity getTotalReturnableQuantity(java.lang.String itemId)
                                    throws SystemException
Return the total returnable quantity on an order for a specified sellable item id.

Parameters:
itemId - item id
Returns:
Quantity total returnable quantity for the order
Throws:
SystemException

getPendingReturnLinesForItemSortedByQty

public java.util.List getPendingReturnLinesForItemSortedByQty(java.lang.String itemId)
                                                       throws SystemException
Return a list of pending return lines (matching the specified item) sorted in descending order by expected quantity.

Parameters:
itemId - item id for the return
Throws:
SystemException

getReturnableOrderLinesForItem

public java.util.List getReturnableOrderLinesForItem(java.lang.String itemId)
                                              throws SystemException
Return a list of returnable order lines (matching the specified item).

Parameters:
itemId - item id for the return
Throws:
SystemException

getSellingSku

public SellingSku getSellingSku(java.lang.String itemId)
                         throws SystemException
Throws:
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28