com.retek.component.customerorder.impl
Class ShippedContainerLineImpl

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

public class ShippedContainerLineImpl
extends DistributedObjectImpl
implements ShippedContainerLine


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.ShippedContainerLine
SHIPPED_QUANTITY, VOUCHER_NUMBER
 
Constructor Summary
ShippedContainerLineImpl(DistributedContext context, DistributedReference ref)
           
ShippedContainerLineImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
 
Method Summary
 void addConfirmedReturnedComponentQuantity(Quantity qtyToUseOnThisLine, CustomerOrderLineImpl componentOrderLine)
           
 void addConfirmedReturnedQuantity(Quantity qty)
           
 void addPendingReturnedComponentQuantity(Quantity qtyToUseOnThisLine, CustomerOrderLineImpl componentOrderLine)
           
 void addPendingReturnedQuantity(Quantity qty)
           
 void addProratedPromotion(ShippedContainerLineProratedPromotion proratedPromotion)
           
 void adjustTaxValuesByQuotedAndActuals()
           
 Money getActualExtendedAdditionalShippingTaxAtShipTime()
           
 Money getActualExtendedGiftTaxAtShipTime()
           
 Money getActualExtendedMerchTaxAtShipTime()
           
 Money getActualExtendedPersonalizationTaxAtShipTime()
           
 CustomerOrderLine getChargeableOrderLine()
           
 Quantity getChargeableShippedQuantity()
           
 Quantity getChargeableShippedQuantityForComponent(CustomerOrderLine componentOrderLine)
           
 Money getChargedExtendedAdditionalShippingTax()
           
 Money getChargedExtendedGiftServiceTax()
           
 Money getChargedExtendedMerchTax()
           
 Money getChargedExtendedPersonalizationServiceTax()
           
 Money getChargedValueAddedServiceTax()
           
 Money getDirectshipReportedUnitCost()
           
 ShippedContainerLineDto getDto()
           
 Money getExtendedAdditionalShippingCharge()
           
 Money getExtendedPrice()
           
 CustomerOrderLine getOrderLine()
           
 RDate getOriginalEstimatedDeliveryDate()
           
 Quantity getPreviousShippedQuantity()
           
 Money getPromotionDiscountAmount()
           
 Money getProratedAccommodationAmount(GeneralAccommodation accommodation)
           
 Money getProratedActualRushDeliveryTax()
           
 Money getProratedActualStandardShippingTax()
           
 Money getProratedChargedRushDeliveryTax()
           
 Money getProratedChargedStandardShippingTax()
           
 java.util.List getProratedPromotions()
           
 Quantity getReturnedQuantity()
           
 Quantity getReturnedQuantityForComponent(CustomerOrderLine componentOrderLine)
           
 Money getRushDeliveryCharge()
           
 SellingItem getSellingItem()
           
 Money getSettlementValue()
           
 ShippedContainer getShippedContainer()
           
 Quantity getShippedQuantity()
           
 Money getStandardShippingCharge()
           
 Money getTotalActualTaxAtShipTime()
           
 Money getTotalChargedShippingTax()
           
 Money getTotalChargedTax()
           
 Money getTotalChargedTaxAtShipTime()
           
 Money getTotalGiftServiceCharge()
           
 Money getTotalMerchChargeForRushShipping()
           
 Money getTotalMerchChargeForStandardShipping()
           
 Money getTotalPersonalizationServiceCharge()
           
 Money getTotalServiceCharge()
           
 Money getTotalShippingAndDeliveryCharges()
           
 CustomerOrderTransactionGroup getTransactionGroup()
           
 RDate getVoucherExpirationDate()
           
 java.lang.String getVoucherNumber()
           
 boolean isPackComponentLine()
           
 boolean isReplacementWithReturnRequired()
           
 boolean lineHasShippingAndHandling()
           
 void setActualTaxesAtShipTime(Money merchTax, Money additionalShippingTax, Money personalizationTax, Money giftTax)
           
 void setChargeableShippedQuantity(Quantity chargeableShippedQuantity)
           
 void setChargedExtendedGiftServiceTax(Money money)
           
 void setChargedExtendedPersonalizationServiceTax(Money money)
           
 void setDirectshipReportedUnitCost(Money reportedUnitCost)
           
 void setExtendedStandardShippingCharge(Money val)
           
 void setOrderLine(CustomerOrderLine orderLine)
           
 void setProratedActualRushDeliveryTax(Money actualRushDeliveryTax)
           
 void setProratedActualStandardShippingTax(Money actualStandardShippingTax)
           
 void setProratedChargedRushDeliveryTax(Money rushDeliveryTax)
           
 void setProratedChargedStandardShippingTax(Money standardShippingTax)
           
 void setRushDeliveryCharge(Money rushDeliveryCharge)
           
 void setSettlementValue(Money settlementValue)
           
 void setShippedQuantity(Quantity shippedQuantity)
           
 void setVoucherExpirationDate(RDate date)
           
 void setVoucherNumber(java.lang.String number)
           
 TaxInvoiceLineItem toTaxInvoiceLineItem(boolean applyPreShipmentAccommodations)
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, readLatest, 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

ShippedContainerLineImpl

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

ShippedContainerLineImpl

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

adjustTaxValuesByQuotedAndActuals

public void adjustTaxValuesByQuotedAndActuals()
                                       throws SystemException,
                                              BusinessException
Throws:
SystemException
BusinessException

setActualTaxesAtShipTime

public void setActualTaxesAtShipTime(Money merchTax,
                                     Money additionalShippingTax,
                                     Money personalizationTax,
                                     Money giftTax)
                              throws SystemException
Throws:
SystemException

getTotalActualTaxAtShipTime

public Money getTotalActualTaxAtShipTime()
                                  throws SystemException
Throws:
SystemException

getTotalChargedTaxAtShipTime

public Money getTotalChargedTaxAtShipTime()
                                   throws SystemException
Throws:
SystemException

getActualExtendedMerchTaxAtShipTime

public Money getActualExtendedMerchTaxAtShipTime()
                                          throws SystemException
Throws:
SystemException

getActualExtendedAdditionalShippingTaxAtShipTime

public Money getActualExtendedAdditionalShippingTaxAtShipTime()
                                                       throws SystemException
Throws:
SystemException

getActualExtendedPersonalizationTaxAtShipTime

public Money getActualExtendedPersonalizationTaxAtShipTime()
                                                    throws SystemException
Throws:
SystemException

getActualExtendedGiftTaxAtShipTime

public Money getActualExtendedGiftTaxAtShipTime()
                                         throws SystemException
Throws:
SystemException

getDirectshipReportedUnitCost

public Money getDirectshipReportedUnitCost()
                                    throws SystemException
Specified by:
getDirectshipReportedUnitCost in interface ShippedContainerLine
Throws:
SystemException

setDirectshipReportedUnitCost

public void setDirectshipReportedUnitCost(Money reportedUnitCost)
                                   throws SystemException
Specified by:
setDirectshipReportedUnitCost in interface ShippedContainerLine
Throws:
SystemException

getPreviousShippedQuantity

public Quantity getPreviousShippedQuantity()
                                    throws SystemException
Specified by:
getPreviousShippedQuantity in interface ShippedContainerLine
Throws:
SystemException

getDto

public ShippedContainerLineDto getDto()
                               throws SystemException
Throws:
SystemException

getShippedContainer

public ShippedContainer getShippedContainer()
                                     throws SystemException
Specified by:
getShippedContainer in interface ShippedContainerLine
Throws:
SystemException

getShippedQuantity

public Quantity getShippedQuantity()
                            throws SystemException
Specified by:
getShippedQuantity in interface ShippedContainerLine
Throws:
SystemException

setShippedQuantity

public void setShippedQuantity(Quantity shippedQuantity)
                        throws SystemException
Specified by:
setShippedQuantity in interface ShippedContainerLine
Throws:
SystemException

getChargeableShippedQuantity

public Quantity getChargeableShippedQuantity()
                                      throws SystemException
Specified by:
getChargeableShippedQuantity in interface ShippedContainerLine
Throws:
SystemException

getChargeableShippedQuantityForComponent

public Quantity getChargeableShippedQuantityForComponent(CustomerOrderLine componentOrderLine)
                                                  throws SystemException
Throws:
SystemException

getOrderLine

public CustomerOrderLine getOrderLine()
                               throws SystemException
Specified by:
getOrderLine in interface ShippedContainerLine
Throws:
SystemException

setOrderLine

public void setOrderLine(CustomerOrderLine orderLine)
                  throws SystemException,
                         BusinessException
Specified by:
setOrderLine in interface ShippedContainerLine
Throws:
SystemException
BusinessException

getChargedExtendedAdditionalShippingTax

public Money getChargedExtendedAdditionalShippingTax()
                                              throws SystemException
Specified by:
getChargedExtendedAdditionalShippingTax in interface ShippedContainerLine
Throws:
SystemException

toTaxInvoiceLineItem

public TaxInvoiceLineItem toTaxInvoiceLineItem(boolean applyPreShipmentAccommodations)
                                        throws BusinessException,
                                               SystemException
Throws:
BusinessException
SystemException

getChargedExtendedMerchTax

public Money getChargedExtendedMerchTax()
                                 throws SystemException
Specified by:
getChargedExtendedMerchTax in interface ShippedContainerLine
Throws:
SystemException

getChargedValueAddedServiceTax

public Money getChargedValueAddedServiceTax()
                                     throws SystemException
Specified by:
getChargedValueAddedServiceTax in interface ShippedContainerLine
Throws:
SystemException

getProratedActualStandardShippingTax

public Money getProratedActualStandardShippingTax()
                                           throws SystemException
Specified by:
getProratedActualStandardShippingTax in interface ShippedContainerLine
Throws:
SystemException

getProratedActualRushDeliveryTax

public Money getProratedActualRushDeliveryTax()
                                       throws SystemException
Specified by:
getProratedActualRushDeliveryTax in interface ShippedContainerLine
Throws:
SystemException

getProratedChargedStandardShippingTax

public Money getProratedChargedStandardShippingTax()
                                            throws SystemException
Specified by:
getProratedChargedStandardShippingTax in interface ShippedContainerLine
Throws:
SystemException

getProratedChargedRushDeliveryTax

public Money getProratedChargedRushDeliveryTax()
                                        throws SystemException
Specified by:
getProratedChargedRushDeliveryTax in interface ShippedContainerLine
Throws:
SystemException

getTotalChargedTax

public Money getTotalChargedTax()
                         throws BusinessException,
                                SystemException
Specified by:
getTotalChargedTax in interface ShippedContainerLine
Throws:
BusinessException
SystemException

getTotalChargedShippingTax

public Money getTotalChargedShippingTax()
                                 throws SystemException
Specified by:
getTotalChargedShippingTax in interface ShippedContainerLine
Throws:
SystemException

getTotalServiceCharge

public Money getTotalServiceCharge()
                            throws SystemException,
                                   BusinessException
Specified by:
getTotalServiceCharge in interface ShippedContainerLine
Throws:
SystemException
BusinessException

getExtendedPrice

public Money getExtendedPrice()
                       throws SystemException,
                              BusinessException
Specified by:
getExtendedPrice in interface ShippedContainerLine
Throws:
SystemException
BusinessException

getPromotionDiscountAmount

public Money getPromotionDiscountAmount()
                                 throws SystemException
Specified by:
getPromotionDiscountAmount in interface ShippedContainerLine
Throws:
SystemException

getExtendedAdditionalShippingCharge

public Money getExtendedAdditionalShippingCharge()
                                          throws SystemException,
                                                 BusinessException
Specified by:
getExtendedAdditionalShippingCharge in interface ShippedContainerLine
Throws:
SystemException
BusinessException

getTotalMerchChargeForStandardShipping

public Money getTotalMerchChargeForStandardShipping()
                                             throws SystemException,
                                                    BusinessException
Specified by:
getTotalMerchChargeForStandardShipping in interface ShippedContainerLine
Throws:
SystemException
BusinessException

getProratedPromotions

public java.util.List getProratedPromotions()
                                     throws SystemException
Specified by:
getProratedPromotions in interface ShippedContainerLine
Throws:
SystemException

getTotalMerchChargeForRushShipping

public Money getTotalMerchChargeForRushShipping()
                                         throws BusinessException,
                                                SystemException
Specified by:
getTotalMerchChargeForRushShipping in interface ShippedContainerLine
Throws:
BusinessException
SystemException

setProratedActualStandardShippingTax

public void setProratedActualStandardShippingTax(Money actualStandardShippingTax)
                                          throws SystemException
Throws:
SystemException

setProratedActualRushDeliveryTax

public void setProratedActualRushDeliveryTax(Money actualRushDeliveryTax)
                                      throws SystemException
Throws:
SystemException

setProratedChargedStandardShippingTax

public void setProratedChargedStandardShippingTax(Money standardShippingTax)
                                           throws SystemException
Throws:
SystemException

setProratedChargedRushDeliveryTax

public void setProratedChargedRushDeliveryTax(Money rushDeliveryTax)
                                       throws SystemException
Throws:
SystemException

lineHasShippingAndHandling

public boolean lineHasShippingAndHandling()
                                   throws BusinessException,
                                          SystemException
Throws:
BusinessException
SystemException

isReplacementWithReturnRequired

public boolean isReplacementWithReturnRequired()
                                        throws SystemException
Specified by:
isReplacementWithReturnRequired in interface ShippedContainerLine
Throws:
SystemException

isPackComponentLine

public boolean isPackComponentLine()
                            throws SystemException,
                                   BusinessException
Specified by:
isPackComponentLine in interface ShippedContainerLine
Throws:
SystemException
BusinessException

getVoucherExpirationDate

public RDate getVoucherExpirationDate()
                               throws SystemException
Specified by:
getVoucherExpirationDate in interface ShippedContainerLine
Throws:
SystemException

getVoucherNumber

public java.lang.String getVoucherNumber()
                                  throws SystemException
Specified by:
getVoucherNumber in interface ShippedContainerLine
Throws:
SystemException

setVoucherExpirationDate

public void setVoucherExpirationDate(RDate date)
                              throws SystemException
Specified by:
setVoucherExpirationDate in interface ShippedContainerLine
Throws:
SystemException

setVoucherNumber

public void setVoucherNumber(java.lang.String number)
                      throws SystemException
Specified by:
setVoucherNumber in interface ShippedContainerLine
Throws:
SystemException

getStandardShippingCharge

public Money getStandardShippingCharge()
                                throws SystemException
Specified by:
getStandardShippingCharge in interface ShippedContainerLine
Throws:
SystemException

setExtendedStandardShippingCharge

public void setExtendedStandardShippingCharge(Money val)
                                       throws SystemException
Throws:
SystemException

getRushDeliveryCharge

public Money getRushDeliveryCharge()
                            throws SystemException
Specified by:
getRushDeliveryCharge in interface ShippedContainerLine
Throws:
SystemException

setRushDeliveryCharge

public void setRushDeliveryCharge(Money rushDeliveryCharge)
                           throws SystemException
Throws:
SystemException

getTotalShippingAndDeliveryCharges

public Money getTotalShippingAndDeliveryCharges()
                                         throws SystemException,
                                                BusinessException
Specified by:
getTotalShippingAndDeliveryCharges in interface ShippedContainerLine
Throws:
SystemException
BusinessException

getSellingItem

public SellingItem getSellingItem()
                           throws SystemException,
                                  BusinessException
Specified by:
getSellingItem in interface ShippedContainerLine
Throws:
SystemException
BusinessException

getTotalGiftServiceCharge

public Money getTotalGiftServiceCharge()
                                throws SystemException,
                                       BusinessException
Specified by:
getTotalGiftServiceCharge in interface ShippedContainerLine
Throws:
SystemException
BusinessException

getTotalPersonalizationServiceCharge

public Money getTotalPersonalizationServiceCharge()
                                           throws SystemException,
                                                  BusinessException
Specified by:
getTotalPersonalizationServiceCharge in interface ShippedContainerLine
Throws:
SystemException
BusinessException

getOriginalEstimatedDeliveryDate

public RDate getOriginalEstimatedDeliveryDate()
                                       throws SystemException,
                                              BusinessException
Specified by:
getOriginalEstimatedDeliveryDate in interface ShippedContainerLine
Throws:
SystemException
BusinessException

setSettlementValue

public void setSettlementValue(Money settlementValue)
                        throws SystemException
Throws:
SystemException

getSettlementValue

public Money getSettlementValue()
                         throws SystemException
Throws:
SystemException

getTransactionGroup

public CustomerOrderTransactionGroup getTransactionGroup()
                                                  throws SystemException,
                                                         BusinessException
Specified by:
getTransactionGroup in interface ShippedContainerLine
Throws:
SystemException
BusinessException

getProratedAccommodationAmount

public Money getProratedAccommodationAmount(GeneralAccommodation accommodation)
                                     throws SystemException
Specified by:
getProratedAccommodationAmount in interface ShippedContainerLine
Throws:
SystemException

getChargeableOrderLine

public CustomerOrderLine getChargeableOrderLine()
                                         throws SystemException
Specified by:
getChargeableOrderLine in interface ShippedContainerLine
Throws:
SystemException

setChargeableShippedQuantity

public void setChargeableShippedQuantity(Quantity chargeableShippedQuantity)
                                  throws SystemException
Throws:
SystemException

getChargedExtendedGiftServiceTax

public Money getChargedExtendedGiftServiceTax()
                                       throws SystemException
Specified by:
getChargedExtendedGiftServiceTax in interface ShippedContainerLine
Throws:
SystemException

getChargedExtendedPersonalizationServiceTax

public Money getChargedExtendedPersonalizationServiceTax()
                                                  throws SystemException
Specified by:
getChargedExtendedPersonalizationServiceTax in interface ShippedContainerLine
Throws:
SystemException

setChargedExtendedGiftServiceTax

public void setChargedExtendedGiftServiceTax(Money money)
                                      throws SystemException
Throws:
SystemException

setChargedExtendedPersonalizationServiceTax

public void setChargedExtendedPersonalizationServiceTax(Money money)
                                                 throws SystemException
Throws:
SystemException

getReturnedQuantity

public Quantity getReturnedQuantity()
                             throws SystemException
Throws:
SystemException

getReturnedQuantityForComponent

public Quantity getReturnedQuantityForComponent(CustomerOrderLine componentOrderLine)
                                         throws SystemException
Throws:
SystemException

addPendingReturnedQuantity

public void addPendingReturnedQuantity(Quantity qty)
                                throws SystemException
Throws:
SystemException

addConfirmedReturnedQuantity

public void addConfirmedReturnedQuantity(Quantity qty)
                                  throws SystemException
Throws:
SystemException

addPendingReturnedComponentQuantity

public void addPendingReturnedComponentQuantity(Quantity qtyToUseOnThisLine,
                                                CustomerOrderLineImpl componentOrderLine)
                                         throws SystemException
Throws:
SystemException

addConfirmedReturnedComponentQuantity

public void addConfirmedReturnedComponentQuantity(Quantity qtyToUseOnThisLine,
                                                  CustomerOrderLineImpl componentOrderLine)
                                           throws SystemException
Throws:
SystemException

addProratedPromotion

public void addProratedPromotion(ShippedContainerLineProratedPromotion proratedPromotion)
                          throws SystemException
Specified by:
addProratedPromotion in interface ShippedContainerLine
Throws:
SystemException


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