com.retek.component.customerorder.impl
Class CustomerOrderValueAddedServiceLineImpl
java.lang.Object
com.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.customerorder.impl.CustomerOrderServiceLineImpl
com.retek.component.customerorder.impl.CustomerOrderValueAddedServiceLineImpl
- All Implemented Interfaces:
- BusinessObject, java.lang.Comparable, CustomerOrderServiceLine, CustomerOrderValueAddedServiceLine, com.retek.swing11.commons.type.Displayable, DistributedObject, PromotionDiscountable
- Direct Known Subclasses:
- CustomerOrderMonogramServiceLineImpl, CustomerOrderPersonalizationServiceLineImpl
- public abstract class CustomerOrderValueAddedServiceLineImpl
- extends CustomerOrderServiceLineImpl
- implements CustomerOrderValueAddedServiceLine
Methods inherited from class com.retek.component.customerorder.impl.CustomerOrderServiceLineImpl |
addPromotionDiscount, clearPromotionDiscounts, compareTo, equalsType, getCopySourceCustomerOrderServiceLine, getCreatedByUser, getCreatedDate, getCustomerOrderServiceLineDto, getEstimatedDeliveryDate, getLastUpdatedByUser, getLastUpdatedDate, getOrderedQuantity, getOrderLine, getPromotionDiscounts, getServicePromotionDiscountValue, getSortRank, 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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.retek.component.customerorder.CustomerOrderServiceLine |
equalsType, getCode, getCreatedByUser, getCreatedDate, getDescription, getDetailDescription, getEstimatedDeliveryDate, getLastUpdatedByUser, getLastUpdatedDate, getOrderedQuantity, getPromotionDiscounts, getServicePromotionDiscountValue, getWorkOrderInstructions, 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.swing11.commons.type.Displayable |
toDisplayString |
CustomerOrderValueAddedServiceLineImpl
public CustomerOrderValueAddedServiceLineImpl(DistributedContext context,
DistributedReference ref,
boolean createHollow)
throws SystemException
CustomerOrderValueAddedServiceLineImpl
public CustomerOrderValueAddedServiceLineImpl(DistributedContext context,
DistributedReference ref)
throws SystemException
getValueAddedService
public ValueAddedService getValueAddedService()
throws SystemException
- Specified by:
getValueAddedService
in interface CustomerOrderValueAddedServiceLine
- Throws:
SystemException
isEngraving
public boolean isEngraving()
throws BusinessException,
SystemException
- Specified by:
isEngraving
in interface CustomerOrderValueAddedServiceLine
- Throws:
BusinessException
SystemException
getComments
public java.lang.String getComments()
throws SystemException
- Specified by:
getComments
in interface CustomerOrderValueAddedServiceLine
- Throws:
SystemException
getPlacementOnItem
public java.lang.String getPlacementOnItem()
throws SystemException
- Specified by:
getPlacementOnItem
in interface CustomerOrderValueAddedServiceLine
- Throws:
SystemException
isPriceByCharacter
public boolean isPriceByCharacter()
throws SystemException
- Specified by:
isPriceByCharacter
in interface CustomerOrderValueAddedServiceLine
- Throws:
SystemException
getUnitPrice
public Money getUnitPrice()
throws SystemException
- Specified by:
getUnitPrice
in interface CustomerOrderServiceLine
- Throws:
SystemException
getExtendedPrice
public Money getExtendedPrice()
throws SystemException
- Specified by:
getExtendedPrice
in interface CustomerOrderServiceLine
- Throws:
SystemException
getUnitPriceForSingleItem
public Money getUnitPriceForSingleItem()
throws SystemException
- Specified by:
getUnitPriceForSingleItem
in interface CustomerOrderValueAddedServiceLine
- Throws:
SystemException
getExtendedPrice
public Money getExtendedPrice(Quantity qty)
throws SystemException
- Specified by:
getExtendedPrice
in interface CustomerOrderServiceLine
- Throws:
SystemException
setComments
public void setComments(java.lang.String comments)
throws SystemException
- Specified by:
setComments
in interface CustomerOrderValueAddedServiceLine
- Throws:
SystemException
setPlacementOnItem
public void setPlacementOnItem(java.lang.String placementOnItem)
throws SystemException
- Specified by:
setPlacementOnItem
in interface CustomerOrderValueAddedServiceLine
- Throws:
SystemException
setPriceByCharacter
public void setPriceByCharacter(boolean priceByCharacter)
throws SystemException
- Specified by:
setPriceByCharacter
in interface CustomerOrderValueAddedServiceLine
- Throws:
SystemException
setUnitPrice
public void setUnitPrice(Money price)
throws SystemException
- Specified by:
setUnitPrice
in interface CustomerOrderValueAddedServiceLine
- Throws:
SystemException
setValueAddedService
public void setValueAddedService(ValueAddedService valueAddedService)
throws BusinessException,
SystemException
- Specified by:
setValueAddedService
in interface CustomerOrderValueAddedServiceLine
- Throws:
BusinessException
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
copyData
protected abstract void copyData(CustomerOrderValueAddedServiceLine newServiceLine)
throws SystemException
- Throws:
SystemException
buildInstanceForCopy
protected abstract CustomerOrderServiceLine buildInstanceForCopy(CustomerOrderLine copyToLine)
throws SystemException
- Throws:
SystemException
getCharactersForPricing
protected abstract java.util.List getCharactersForPricing()
throws SystemException
- Throws:
SystemException
getNumberOfCharacters
public abstract int getNumberOfCharacters()
throws SystemException
- Specified by:
getNumberOfCharacters
in interface CustomerOrderValueAddedServiceLine
- Throws:
SystemException
getChargeableNumberOfCharacters
protected abstract int getChargeableNumberOfCharacters(java.util.List text)
getCustomerOrderValueAddedServiceLineDto
protected CustomerOrderValueAddedServiceLineDto getCustomerOrderValueAddedServiceLineDto()
throws SystemException
- Throws:
SystemException
findTargetValueAddedService
protected ValueAddedService findTargetValueAddedService(CustomerOrderValueAddedServiceLine fromServiceLine,
CustomerOrderLine toOrderLine)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
getCalculatedPrice
public Money getCalculatedPrice(java.util.List text,
Quantity orderedQuantity)
throws SystemException
- Specified by:
getCalculatedPrice
in interface CustomerOrderValueAddedServiceLine
- Throws:
SystemException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28