com.retek.rcom.gui.wrapper
Class RcomOrderLineManager

java.lang.Object
  extended bycom.retek.rcom.gui.wrapper.RcomOrderLineManager

public class RcomOrderLineManager
extends java.lang.Object

This class manages the RcomOrderLine object. All retrieval of order lines from an order or shipping request, or creating new lines, or creating new service lines should be done using this manager.

Retek Inc. Copyright (c) 2002


Method Summary
static RcomOrderLine buildExchangeLine(CustomerOrder order)
          Builds a new RcomOrderLine around an Exchange Sale Order Line.
static RcomOrderLine buildMailOrderLine(CustomerOrder order, User user)
          Builds a new RcomOrderLine.
static CustomerOrderMonogramServiceLine buildMonogramServiceLine(RcomOrderLine orderLine)
          Builds a monogram service line for an RcomOrderLine.
static RcomOrderLine buildOrderLine()
          Builds a new RcomOrderLine.
static RcomOrderLine buildPartialLine(RcomOrderLine orderLine)
          Builds a new RcomOrderLine around a RcomOrderLine object to create a partial order line.
static CustomerOrderPersonalizationServiceLine buildPersonalizationServiceLine(RcomOrderLine orderLine)
          Builds a personalization service line for an RcomOrderLine.
static ReplacementLinePair buildReplacementLine(RcomOrderLine orderLine)
          Builds a new RcomOrderLine around an Exchange Sale Order Line.
static RcomOrderLine buildReturnLine(RcomOrderLine orderLine)
          Builds a new RcomOrderLine around a RcomOrderLine object to create a return line.
static RcomOrderLine buildZeroDollarReturnLine()
          Builds a new RcomOrderLine around a Zero Dollar Return Line.
static java.util.List getActiveOrderLines(ShipTo shipRequest)
          Retrieves all the standard and partial order lines of a Ship Request, excludeing cancelled lines.
static java.util.List getAllSellingItems(CustomerOrder order)
          Retrieves all the selling items of a customer order.
static java.util.Set getCustomerOrderLineSet(java.util.Set rcomLineSet)
          Comverts a Set of RcomOrderLines into a Set of CustomerOrderLines.
static java.util.List getOrderLines(ShipTo shipRequest)
          Retrieves all the standard and partial order lines of a Ship Request, including cancelled lines.
static java.util.List getReturnLines(ShipTo shipRequest)
          Retrieves all the return lines for a ship request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

buildOrderLine

public static RcomOrderLine buildOrderLine()
                                    throws SystemException,
                                           BusinessException
Builds a new RcomOrderLine. This is a standard customer order line.

Throws:
SystemException
BusinessException

buildMailOrderLine

public static RcomOrderLine buildMailOrderLine(CustomerOrder order,
                                               User user)
                                        throws SystemException,
                                               BusinessException
Builds a new RcomOrderLine. This is a mail order customer order line.

Throws:
SystemException
BusinessException

buildPartialLine

public static RcomOrderLine buildPartialLine(RcomOrderLine orderLine)
                                      throws SystemException,
                                             BusinessException
Builds a new RcomOrderLine around a RcomOrderLine object to create a partial order line.

Throws:
SystemException
BusinessException

buildReturnLine

public static RcomOrderLine buildReturnLine(RcomOrderLine orderLine)
                                     throws SystemException,
                                            BusinessException
Builds a new RcomOrderLine around a RcomOrderLine object to create a return line.

Throws:
SystemException
BusinessException

buildExchangeLine

public static RcomOrderLine buildExchangeLine(CustomerOrder order)
                                       throws SystemException,
                                              BusinessException
Builds a new RcomOrderLine around an Exchange Sale Order Line.

Throws:
SystemException
BusinessException

buildReplacementLine

public static ReplacementLinePair buildReplacementLine(RcomOrderLine orderLine)
                                                throws SystemException,
                                                       BusinessException
Builds a new RcomOrderLine around an Exchange Sale Order Line.

Throws:
SystemException
BusinessException

buildZeroDollarReturnLine

public static RcomOrderLine buildZeroDollarReturnLine()
                                               throws SystemException,
                                                      BusinessException
Builds a new RcomOrderLine around a Zero Dollar Return Line.

Throws:
SystemException
BusinessException

buildMonogramServiceLine

public static CustomerOrderMonogramServiceLine buildMonogramServiceLine(RcomOrderLine orderLine)
                                                                 throws SystemException
Builds a monogram service line for an RcomOrderLine.

Throws:
SystemException

buildPersonalizationServiceLine

public static CustomerOrderPersonalizationServiceLine buildPersonalizationServiceLine(RcomOrderLine orderLine)
                                                                               throws SystemException
Builds a personalization service line for an RcomOrderLine.

Throws:
SystemException

getCustomerOrderLineSet

public static java.util.Set getCustomerOrderLineSet(java.util.Set rcomLineSet)
Comverts a Set of RcomOrderLines into a Set of CustomerOrderLines. This method will exclude all ReturnLines that were discovered.


getAllSellingItems

public static java.util.List getAllSellingItems(CustomerOrder order)
                                         throws SystemException,
                                                BusinessException
Retrieves all the selling items of a customer order.

Throws:
SystemException
BusinessException

getOrderLines

public static java.util.List getOrderLines(ShipTo shipRequest)
                                    throws SystemException,
                                           BusinessException
Retrieves all the standard and partial order lines of a Ship Request, including cancelled lines.

Throws:
SystemException
BusinessException

getActiveOrderLines

public static java.util.List getActiveOrderLines(ShipTo shipRequest)
                                          throws SystemException,
                                                 BusinessException
Retrieves all the standard and partial order lines of a Ship Request, excludeing cancelled lines.

Throws:
SystemException
BusinessException

getReturnLines

public static java.util.List getReturnLines(ShipTo shipRequest)
                                     throws SystemException,
                                            BusinessException
Retrieves all the return lines for a ship request.

Throws:
SystemException
BusinessException


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25