com.retek.component.customerorder.impl
Class ShipmentRequestImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.customerorder.impl.ShipmentRequestImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, ShipmentRequest

public class ShipmentRequestImpl
extends DistributedObjectImpl
implements ShipmentRequest


Nested Class Summary
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.customerorder.ShipmentRequest
SHIP_REQUEST_LINE_NOT_FOUND
 
Constructor Summary
ShipmentRequestImpl(DistributedContext context, DistributedReference ref)
           
ShipmentRequestImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
 
Method Summary
 void addShipmentRequestLine(ShipmentRequestLine reqLine)
           
 void addShippedContainer(ShippedContainer container)
           
 boolean containsOrderLine(CustomerOrderLine orderLine)
           
protected  Dto createEmptyDto()
           
 Carrier getCarrier()
           
 RDate getCreationDate()
           
 ShipmentRequestDto getDto()
           
 CustomerOrder getOrder()
           
 Warehouse getPhysicalWarehouse()
           
 java.util.Collection getShipmentRequestLines()
           
 java.util.Set getShippedContainerLines(CustomerOrderLine orderLine)
           
 java.util.Set getShippedContainers()
           
 ShippingMethod getShippingMethod()
           
 ShipTo getShipTo()
           
 Money getTotalAdditionalShippingAndHandlingAmount()
           
 Money getTotalExtendedPrice()
           
 Money getTotalExtendedTax()
           
 Money getTotalRushShippingAndHandlingAmount()
           
 Money getTotalStandardShippingAndHandlingAmount()
           
 Money getTotalTaxAmount()
           
 Money getTotalVASAmount()
           
 Dto readLatest()
           
 void setPhysicalWarehouse(Warehouse physicalWarehouse)
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
attributesToString, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

ShipmentRequestImpl

public ShipmentRequestImpl(DistributedContext context,
                           DistributedReference ref,
                           boolean createHollow)
                    throws SystemException

ShipmentRequestImpl

public ShipmentRequestImpl(DistributedContext context,
                           DistributedReference ref)
                    throws SystemException
Method Detail

getDto

public ShipmentRequestDto getDto()
                          throws SystemException
Throws:
SystemException

createEmptyDto

protected Dto createEmptyDto()
                      throws SystemException
Overrides:
createEmptyDto in class DistributedObjectImpl
Throws:
SystemException

addShipmentRequestLine

public void addShipmentRequestLine(ShipmentRequestLine reqLine)
                            throws SystemException,
                                   BusinessException
Specified by:
addShipmentRequestLine in interface ShipmentRequest
Throws:
SystemException
BusinessException

getShipmentRequestLines

public java.util.Collection getShipmentRequestLines()
                                             throws SystemException
Specified by:
getShipmentRequestLines in interface ShipmentRequest
Throws:
SystemException

getCarrier

public Carrier getCarrier()
                   throws SystemException,
                          BusinessException
Specified by:
getCarrier in interface ShipmentRequest
Throws:
SystemException
BusinessException

getShippingMethod

public ShippingMethod getShippingMethod()
                                 throws SystemException,
                                        BusinessException
Specified by:
getShippingMethod in interface ShipmentRequest
Throws:
SystemException
BusinessException

getCreationDate

public RDate getCreationDate()
                      throws SystemException
Specified by:
getCreationDate in interface ShipmentRequest
Throws:
SystemException

getTotalExtendedPrice

public Money getTotalExtendedPrice()
                            throws SystemException,
                                   BusinessException
Specified by:
getTotalExtendedPrice in interface ShipmentRequest
Throws:
SystemException
BusinessException

getTotalExtendedTax

public Money getTotalExtendedTax()
                          throws SystemException,
                                 BusinessException
Specified by:
getTotalExtendedTax in interface ShipmentRequest
Throws:
SystemException
BusinessException

getShippedContainers

public java.util.Set getShippedContainers()
                                   throws SystemException
Specified by:
getShippedContainers in interface ShipmentRequest
Throws:
SystemException

addShippedContainer

public void addShippedContainer(ShippedContainer container)
                         throws SystemException
Specified by:
addShippedContainer in interface ShipmentRequest
Throws:
SystemException

getOrder

public CustomerOrder getOrder()
                       throws SystemException
Specified by:
getOrder in interface ShipmentRequest
Throws:
SystemException

readLatest

public Dto readLatest()
               throws SystemException
Overrides:
readLatest in class DistributedObjectImpl
Throws:
SystemException

getShippedContainerLines

public java.util.Set getShippedContainerLines(CustomerOrderLine orderLine)
                                       throws SystemException
Specified by:
getShippedContainerLines in interface ShipmentRequest
Throws:
SystemException

containsOrderLine

public boolean containsOrderLine(CustomerOrderLine orderLine)
                          throws SystemException
Throws:
SystemException

getTotalStandardShippingAndHandlingAmount

public Money getTotalStandardShippingAndHandlingAmount()
                                                throws SystemException,
                                                       BusinessException
Specified by:
getTotalStandardShippingAndHandlingAmount in interface ShipmentRequest
Throws:
SystemException
BusinessException

getTotalRushShippingAndHandlingAmount

public Money getTotalRushShippingAndHandlingAmount()
                                            throws SystemException,
                                                   BusinessException
Specified by:
getTotalRushShippingAndHandlingAmount in interface ShipmentRequest
Throws:
SystemException
BusinessException

getTotalAdditionalShippingAndHandlingAmount

public Money getTotalAdditionalShippingAndHandlingAmount()
                                                  throws SystemException,
                                                         BusinessException
Specified by:
getTotalAdditionalShippingAndHandlingAmount in interface ShipmentRequest
Throws:
SystemException
BusinessException

getTotalVASAmount

public Money getTotalVASAmount()
                        throws SystemException,
                               BusinessException
Specified by:
getTotalVASAmount in interface ShipmentRequest
Throws:
SystemException
BusinessException

getTotalTaxAmount

public Money getTotalTaxAmount()
                        throws SystemException,
                               BusinessException
Specified by:
getTotalTaxAmount in interface ShipmentRequest
Throws:
SystemException
BusinessException

getPhysicalWarehouse

public Warehouse getPhysicalWarehouse()
                               throws SystemException
Specified by:
getPhysicalWarehouse in interface ShipmentRequest
Throws:
SystemException

setPhysicalWarehouse

public void setPhysicalWarehouse(Warehouse physicalWarehouse)
                          throws SystemException
Specified by:
setPhysicalWarehouse in interface ShipmentRequest
Throws:
SystemException

getShipTo

public ShipTo getShipTo()
                 throws SystemException,
                        BusinessException
Specified by:
getShipTo in interface ShipmentRequest
Throws:
SystemException
BusinessException


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