com.retek.component.customerorder.impl
Class CustomerOrderPersonalizationServiceLineImpl

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.CustomerOrderValueAddedServiceLineImpl
                  extended bycom.retek.component.customerorder.impl.CustomerOrderPersonalizationServiceLineImpl
All Implemented Interfaces:
BusinessObject, java.lang.Comparable, CustomerOrderPersonalizationServiceLine, CustomerOrderServiceLine, CustomerOrderValueAddedServiceLine, com.retek.swing11.commons.type.Displayable, DistributedObject, PromotionDiscountable

public class CustomerOrderPersonalizationServiceLineImpl
extends CustomerOrderValueAddedServiceLineImpl
implements CustomerOrderPersonalizationServiceLine


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.CustomerOrderPersonalizationServiceLine
COLOR, FONT, NUMBER_OF_LINES, TEXT
 
Fields inherited from interface com.retek.component.customerorder.CustomerOrderValueAddedServiceLine
CHARACTERS, COLOR_NOT_SUPPORTED, FONT_NOT_SUPPORTED, PERSISTED_ORDER, PERSONALIZATION_STYLE, PERSONALIZATION_TYPE, PLACEMENT_ON_ITEM, SUPPLIER, UNIT_PRICE, VALUE_ADDED_SERVICE
 
Fields inherited from interface com.retek.component.customerorder.CustomerOrderServiceLine
SERVICE_LINE_TYPE
 
Constructor Summary
CustomerOrderPersonalizationServiceLineImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
CustomerOrderPersonalizationServiceLineImpl(DistributedContext context, DistributedReference ref, CustomerOrderLine orderLine)
           
 
Method Summary
protected  CustomerOrderServiceLine buildInstanceForCopy(CustomerOrderLine copyToLine)
           
protected  void copyData(CustomerOrderValueAddedServiceLine copyToLine)
           
 boolean equalsType(CustomerOrderServiceLine serviceLine)
           
protected  java.util.List getCharactersForPricing()
           
protected  int getChargeableNumberOfCharacters(java.util.List textLines)
           
 java.lang.String getCode()
           
 java.lang.String getDescription()
           
 java.lang.String getDetailDescription()
           
protected  CustomerOrderPersonalizationServiceLineDto getDto()
           
 int getNumberOfCharacters()
           
 int getNumberOfLines()
           
protected  int getSortRank()
           
 CustomerOrderPersonalizationTextLine getTextLine(int lineNumber)
           
 java.util.List getTextLines()
           
 java.lang.String getWorkOrderInstructions()
           
 void setTextLines(java.util.List textLines)
           
 java.lang.String toDisplayString()
           
 
Methods inherited from class com.retek.component.customerorder.impl.CustomerOrderValueAddedServiceLineImpl
createCopy, createCopyUnchecked, findTargetValueAddedService, getCalculatedPrice, getComments, getCustomerOrderValueAddedServiceLineDto, getExtendedPrice, getExtendedPrice, getPlacementOnItem, getUnitPrice, getUnitPriceForSingleItem, getValueAddedService, isEngraving, isPriceByCharacter, setComments, setPlacementOnItem, setPriceByCharacter, setUnitPrice, setValueAddedService
 
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.CustomerOrderValueAddedServiceLine
getCalculatedPrice, getComments, getPlacementOnItem, getUnitPriceForSingleItem, getValueAddedService, isEngraving, isPriceByCharacter, setComments, setPlacementOnItem, setPriceByCharacter, setUnitPrice, setValueAddedService
 
Methods inherited from interface com.retek.component.customerorder.CustomerOrderServiceLine
createCopy, getCreatedByUser, getCreatedDate, getEstimatedDeliveryDate, getExtendedPrice, getExtendedPrice, getLastUpdatedByUser, getLastUpdatedDate, getOrderedQuantity, getPromotionDiscounts, getServicePromotionDiscountValue, getUnitPrice, 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

CustomerOrderPersonalizationServiceLineImpl

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

CustomerOrderPersonalizationServiceLineImpl

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

getCode

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

getDescription

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

getDetailDescription

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

toDisplayString

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

getTextLines

public java.util.List getTextLines()
                            throws SystemException
Specified by:
getTextLines in interface CustomerOrderPersonalizationServiceLine
Throws:
SystemException

getTextLine

public CustomerOrderPersonalizationTextLine getTextLine(int lineNumber)
                                                 throws SystemException
Specified by:
getTextLine in interface CustomerOrderPersonalizationServiceLine
Throws:
SystemException

getNumberOfLines

public int getNumberOfLines()
                     throws SystemException
Specified by:
getNumberOfLines in interface CustomerOrderPersonalizationServiceLine
Throws:
SystemException

setTextLines

public void setTextLines(java.util.List textLines)
                  throws SystemException
Specified by:
setTextLines in interface CustomerOrderPersonalizationServiceLine
Throws:
SystemException

getDto

protected CustomerOrderPersonalizationServiceLineDto getDto()
                                                     throws SystemException
Throws:
SystemException

getNumberOfCharacters

public final int getNumberOfCharacters()
                                throws SystemException
Specified by:
getNumberOfCharacters in interface CustomerOrderValueAddedServiceLine
Specified by:
getNumberOfCharacters in class CustomerOrderValueAddedServiceLineImpl
Throws:
SystemException

getCharactersForPricing

protected java.util.List getCharactersForPricing()
                                          throws SystemException
Specified by:
getCharactersForPricing in class CustomerOrderValueAddedServiceLineImpl
Throws:
SystemException

getChargeableNumberOfCharacters

protected int getChargeableNumberOfCharacters(java.util.List textLines)
Specified by:
getChargeableNumberOfCharacters in class CustomerOrderValueAddedServiceLineImpl

buildInstanceForCopy

protected CustomerOrderServiceLine buildInstanceForCopy(CustomerOrderLine copyToLine)
                                                 throws SystemException
Specified by:
buildInstanceForCopy in class CustomerOrderValueAddedServiceLineImpl
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()
Specified by:
getSortRank in class CustomerOrderServiceLineImpl

getWorkOrderInstructions

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

copyData

protected void copyData(CustomerOrderValueAddedServiceLine copyToLine)
                 throws SystemException
Specified by:
copyData in class CustomerOrderValueAddedServiceLineImpl
Throws:
SystemException


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