com.retek.component.customerorder.impl
Class CustomerOrderMonogramServiceLineImpl

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.CustomerOrderMonogramServiceLineImpl
All Implemented Interfaces:
BusinessObject, java.lang.Comparable, CustomerOrderMonogramServiceLine, CustomerOrderServiceLine, CustomerOrderValueAddedServiceLine, com.retek.swing11.commons.type.Displayable, DistributedObject, PromotionDiscountable

public class CustomerOrderMonogramServiceLineImpl
extends CustomerOrderValueAddedServiceLineImpl
implements CustomerOrderMonogramServiceLine


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.CustomerOrderMonogramServiceLine
CHARACTER, COLOR, FONT
 
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
CustomerOrderMonogramServiceLineImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
CustomerOrderMonogramServiceLineImpl(DistributedContext context, DistributedReference ref, CustomerOrderLine orderLine)
           
 
Method Summary
protected  CustomerOrderServiceLine buildInstanceForCopy(CustomerOrderLine copyToLine)
           
protected  void copyData(CustomerOrderValueAddedServiceLine copyToLine)
           
 boolean equalsType(CustomerOrderServiceLine serviceLine)
           
 java.lang.Character getCharacter1()
           
 java.lang.Character getCharacter2()
           
 java.lang.Character getCharacter3()
           
protected  java.util.List getCharactersForPricing()
           
protected  int getChargeableNumberOfCharacters(java.util.List characters)
           
 java.lang.String getCode()
           
 PersonalizationColor getColor()
           
 java.lang.String getDescription()
           
 java.lang.String getDetailDescription()
           
protected  CustomerOrderMonogramServiceLineDto getDto()
           
 PersonalizationFont getFont()
           
 int getNumberOfCharacters()
           
protected  int getSortRank()
           
 java.lang.String getWorkOrderInstructions()
           
 boolean hasCharacters()
           
 void setCharacter1(java.lang.Character ch)
           
 void setCharacter2(java.lang.Character ch)
           
 void setCharacter3(java.lang.Character ch)
           
 void setColor(PersonalizationColor color)
           
 void setFont(PersonalizationFont font)
           
 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

CustomerOrderMonogramServiceLineImpl

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

CustomerOrderMonogramServiceLineImpl

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

getDescription

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

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

getCharacter1

public java.lang.Character getCharacter1()
                                  throws SystemException
Specified by:
getCharacter1 in interface CustomerOrderMonogramServiceLine
Throws:
SystemException

getCharacter2

public java.lang.Character getCharacter2()
                                  throws SystemException
Specified by:
getCharacter2 in interface CustomerOrderMonogramServiceLine
Throws:
SystemException

getCharacter3

public java.lang.Character getCharacter3()
                                  throws SystemException
Specified by:
getCharacter3 in interface CustomerOrderMonogramServiceLine
Throws:
SystemException

hasCharacters

public boolean hasCharacters()
                      throws SystemException
Throws:
SystemException

getColor

public PersonalizationColor getColor()
                              throws SystemException
Specified by:
getColor in interface CustomerOrderMonogramServiceLine
Throws:
SystemException

getFont

public PersonalizationFont getFont()
                            throws SystemException
Specified by:
getFont in interface CustomerOrderMonogramServiceLine
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 characters)
Specified by:
getChargeableNumberOfCharacters in class CustomerOrderValueAddedServiceLineImpl

setCharacter1

public void setCharacter1(java.lang.Character ch)
                   throws SystemException
Specified by:
setCharacter1 in interface CustomerOrderMonogramServiceLine
Throws:
SystemException

setCharacter2

public void setCharacter2(java.lang.Character ch)
                   throws SystemException
Specified by:
setCharacter2 in interface CustomerOrderMonogramServiceLine
Throws:
SystemException

setCharacter3

public void setCharacter3(java.lang.Character ch)
                   throws SystemException
Specified by:
setCharacter3 in interface CustomerOrderMonogramServiceLine
Throws:
SystemException

setColor

public void setColor(PersonalizationColor color)
              throws SystemException
Specified by:
setColor in interface CustomerOrderMonogramServiceLine
Throws:
SystemException

setFont

public void setFont(PersonalizationFont font)
             throws SystemException
Specified by:
setFont in interface CustomerOrderMonogramServiceLine
Throws:
SystemException

getDto

protected CustomerOrderMonogramServiceLineDto getDto()
                                              throws SystemException
Throws:
SystemException

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

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