com.retek.component.customerorder.impl
Class CustomerOrderGiftServiceLineImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.customerorder.impl.CustomerOrderServiceLineImpl
              extended bycom.retek.component.customerorder.impl.CustomerOrderGiftServiceLineImpl
All Implemented Interfaces:
BusinessObject, java.lang.Comparable, CustomerOrderGiftServiceLine, CustomerOrderServiceLine, com.retek.swing11.commons.type.Displayable, DistributedObject, PromotionDiscountable

public class CustomerOrderGiftServiceLineImpl
extends CustomerOrderServiceLineImpl
implements CustomerOrderGiftServiceLine


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.CustomerOrderGiftServiceLine
TYPE, WRAPPED_TOGETHER
 
Fields inherited from interface com.retek.component.customerorder.CustomerOrderServiceLine
SERVICE_LINE_TYPE
 
Constructor Summary
CustomerOrderGiftServiceLineImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
CustomerOrderGiftServiceLineImpl(DistributedContext context, DistributedReference ref, CustomerOrderLine orderLine)
           
 
Method Summary
 CustomerOrderServiceLine createCopy(CustomerOrderLine copyToLine)
           
 CustomerOrderServiceLine createCopyUnchecked(CustomerOrderLine copyToLine)
           
 boolean equalsType(CustomerOrderServiceLine serviceLine)
           
 java.lang.String getCode()
           
 java.lang.String getDescription()
           
 java.lang.String getDetailDescription()
           
protected  CustomerOrderGiftServiceLineDto getDto()
           
 Money getExtendedPrice()
           
 Money getExtendedPrice(Quantity qty)
           
 GiftingSeason getGiftingSeason()
           
 java.lang.String getMessage()
           
protected  int getSortRank()
           
 CustomerOrderGiftServiceLineType getType()
           
 Money getUnitPrice()
           
 java.lang.String getWorkOrderInstructions()
           
 void setGiftingSeason(GiftingSeason giftingSeason)
           
 void setMessage(java.lang.String message)
           
 void setType(CustomerOrderGiftServiceLineType type)
           
 void setUnitPrice(Money price)
           
 java.lang.String toDisplayString()
           
 
Methods inherited from class com.retek.component.customerorder.impl.CustomerOrderServiceLineImpl
addPromotionDiscount, clearPromotionDiscounts, compareTo, getCopySourceCustomerOrderServiceLine, getCreatedByUser, getCreatedDate, getCustomerOrderServiceLineDto, getEstimatedDeliveryDate, getLastUpdatedByUser, getLastUpdatedDate, getOrderedQuantity, getOrderLine, getPromotionDiscounts, getServicePromotionDiscountValue, setCopySourceCustomerOrderServiceLine, setEstimatedDeliveryDate, setOrderedQuantity, setOrderLine
 
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.component.customerorder.CustomerOrderServiceLine
getCreatedByUser, getCreatedDate, getEstimatedDeliveryDate, getLastUpdatedByUser, getLastUpdatedDate, getOrderedQuantity, getPromotionDiscounts, getServicePromotionDiscountValue, setEstimatedDeliveryDate, setOrderedQuantity
 
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

CustomerOrderGiftServiceLineImpl

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

CustomerOrderGiftServiceLineImpl

public CustomerOrderGiftServiceLineImpl(DistributedContext context,
                                        DistributedReference ref,
                                        CustomerOrderLine orderLine)
                                 throws SystemException
Method Detail

getDescription

public java.lang.String getDescription()
                                throws SystemException
Specified by:
getDescription in interface CustomerOrderServiceLine
Throws:
SystemException

getCode

public java.lang.String getCode()
Specified by:
getCode in interface CustomerOrderServiceLine

getDetailDescription

public java.lang.String getDetailDescription()
                                      throws SystemException
Specified by:
getDetailDescription in interface CustomerOrderServiceLine
Throws:
SystemException

getGiftingSeason

public GiftingSeason getGiftingSeason()
                               throws SystemException
Specified by:
getGiftingSeason in interface CustomerOrderGiftServiceLine
Throws:
SystemException

getExtendedPrice

public Money getExtendedPrice()
                       throws SystemException
Specified by:
getExtendedPrice in interface CustomerOrderServiceLine
Throws:
SystemException

getExtendedPrice

public Money getExtendedPrice(Quantity qty)
                       throws SystemException
Specified by:
getExtendedPrice in interface CustomerOrderServiceLine
Throws:
SystemException

getUnitPrice

public Money getUnitPrice()
                   throws SystemException
Specified by:
getUnitPrice in interface CustomerOrderServiceLine
Throws:
SystemException

getMessage

public java.lang.String getMessage()
                            throws SystemException
Specified by:
getMessage in interface CustomerOrderGiftServiceLine
Throws:
SystemException

getType

public CustomerOrderGiftServiceLineType getType()
                                         throws SystemException
Specified by:
getType in interface CustomerOrderGiftServiceLine
Throws:
SystemException

setGiftingSeason

public void setGiftingSeason(GiftingSeason giftingSeason)
                      throws SystemException
Specified by:
setGiftingSeason in interface CustomerOrderGiftServiceLine
Throws:
SystemException

setUnitPrice

public void setUnitPrice(Money price)
                  throws SystemException
Specified by:
setUnitPrice in interface CustomerOrderGiftServiceLine
Throws:
SystemException

setMessage

public void setMessage(java.lang.String message)
                throws SystemException
Specified by:
setMessage in interface CustomerOrderGiftServiceLine
Throws:
SystemException

setType

public void setType(CustomerOrderGiftServiceLineType type)
             throws SystemException
Specified by:
setType in interface CustomerOrderGiftServiceLine
Throws:
SystemException

createCopy

public CustomerOrderServiceLine createCopy(CustomerOrderLine copyToLine)
                                    throws SystemException,
                                           BusinessException
Specified by:
createCopy in interface CustomerOrderServiceLine
Specified by:
createCopy in class CustomerOrderServiceLineImpl
Throws:
SystemException
BusinessException

createCopyUnchecked

public CustomerOrderServiceLine createCopyUnchecked(CustomerOrderLine copyToLine)
                                             throws SystemException,
                                                    BusinessException
Specified by:
createCopyUnchecked in class CustomerOrderServiceLineImpl
Throws:
SystemException
BusinessException

getDto

protected CustomerOrderGiftServiceLineDto getDto()
                                          throws SystemException
Throws:
SystemException

equalsType

public boolean equalsType(CustomerOrderServiceLine serviceLine)
                   throws SystemException
Specified by:
equalsType in interface CustomerOrderServiceLine
Specified by:
equalsType in class CustomerOrderServiceLineImpl
Throws:
SystemException

getSortRank

protected final int getSortRank()
                         throws SystemException
Specified by:
getSortRank in class CustomerOrderServiceLineImpl
Throws:
SystemException

getWorkOrderInstructions

public java.lang.String getWorkOrderInstructions()
                                          throws SystemException,
                                                 BusinessException
Specified by:
getWorkOrderInstructions in interface CustomerOrderServiceLine
Throws:
SystemException
BusinessException

toDisplayString

public java.lang.String toDisplayString()
Specified by:
toDisplayString in interface com.retek.swing11.commons.type.Displayable


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