com.retek.component.customerorder.impl
Class CustomerOrderServiceLineImpl
java.lang.Object
com.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.customerorder.impl.CustomerOrderServiceLineImpl
- All Implemented Interfaces:
- BusinessObject, java.lang.Comparable, CustomerOrderServiceLine, com.retek.swing11.commons.type.Displayable, DistributedObject, PromotionDiscountable
- Direct Known Subclasses:
- CustomerOrderCareCardServiceLineImpl, CustomerOrderGiftServiceLineImpl, CustomerOrderValueAddedServiceLineImpl
- public abstract class CustomerOrderServiceLineImpl
- extends DistributedObjectImpl
- implements CustomerOrderServiceLine, java.lang.Comparable, PromotionDiscountable
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.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 |
CustomerOrderServiceLineImpl
public CustomerOrderServiceLineImpl(DistributedContext context,
DistributedReference ref,
boolean createHollow)
throws SystemException
CustomerOrderServiceLineImpl
public CustomerOrderServiceLineImpl(DistributedContext context,
DistributedReference ref)
throws SystemException
getOrderedQuantity
public Quantity getOrderedQuantity()
throws SystemException
- Specified by:
getOrderedQuantity
in interface CustomerOrderServiceLine
- Throws:
SystemException
getEstimatedDeliveryDate
public RDate getEstimatedDeliveryDate()
throws SystemException
- Specified by:
getEstimatedDeliveryDate
in interface CustomerOrderServiceLine
- Throws:
SystemException
setOrderedQuantity
public void setOrderedQuantity(Quantity orderedQuantity)
throws SystemException
- Specified by:
setOrderedQuantity
in interface CustomerOrderServiceLine
- Throws:
SystemException
setEstimatedDeliveryDate
public void setEstimatedDeliveryDate(RDate estimatedDeliveryDate)
throws SystemException
- Specified by:
setEstimatedDeliveryDate
in interface CustomerOrderServiceLine
- Throws:
SystemException
getCustomerOrderServiceLineDto
public CustomerOrderServiceLineDto getCustomerOrderServiceLineDto()
throws SystemException
- Throws:
SystemException
getCreatedByUser
public User getCreatedByUser()
throws SystemException
- Specified by:
getCreatedByUser
in interface CustomerOrderServiceLine
- Throws:
SystemException
getCreatedDate
public RDate getCreatedDate()
throws SystemException
- Specified by:
getCreatedDate
in interface CustomerOrderServiceLine
- Throws:
SystemException
getLastUpdatedByUser
public User getLastUpdatedByUser()
throws SystemException
- Specified by:
getLastUpdatedByUser
in interface CustomerOrderServiceLine
- Throws:
SystemException
getLastUpdatedDate
public RDate getLastUpdatedDate()
throws SystemException
- Specified by:
getLastUpdatedDate
in interface CustomerOrderServiceLine
- Throws:
SystemException
setOrderLine
public void setOrderLine(CustomerOrderLine orderLine)
throws SystemException
- Throws:
SystemException
getOrderLine
public CustomerOrderLine getOrderLine()
throws SystemException
- Throws:
SystemException
createCopy
public abstract CustomerOrderServiceLine createCopy(CustomerOrderLine copyToLine)
throws SystemException,
BusinessException
- Specified by:
createCopy
in interface CustomerOrderServiceLine
- Throws:
SystemException
BusinessException
createCopyUnchecked
public abstract CustomerOrderServiceLine createCopyUnchecked(CustomerOrderLine copyToLine)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
equalsType
public abstract boolean equalsType(CustomerOrderServiceLine serviceLine)
throws SystemException
- Specified by:
equalsType
in interface CustomerOrderServiceLine
- Throws:
SystemException
getSortRank
protected abstract int getSortRank()
throws SystemException
- Throws:
SystemException
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface java.lang.Comparable
getServicePromotionDiscountValue
public Money getServicePromotionDiscountValue()
throws SystemException
- Description copied from interface:
CustomerOrderServiceLine
- Return the service promotion discount value for the
service line (sum of all of its promotion discount records).
- Specified by:
getServicePromotionDiscountValue
in interface CustomerOrderServiceLine
- Returns:
- Money service promotion discount
- Throws:
SystemException
getPromotionDiscounts
public java.util.Collection getPromotionDiscounts()
throws SystemException
- Description copied from interface:
CustomerOrderServiceLine
- Return promotion discount records applicable to the service line.
- Specified by:
getPromotionDiscounts
in interface CustomerOrderServiceLine
- Returns:
- Collection service line promotion discounts
- Throws:
SystemException
addPromotionDiscount
public void addPromotionDiscount(CustomerOrderPromotionDiscountImpl discount)
throws SystemException
- Description copied from interface:
PromotionDiscountable
- Add a promotion discount to the business object.
- Specified by:
addPromotionDiscount
in interface PromotionDiscountable
- Parameters:
discount
- customer order promotion discount
- Throws:
SystemException
clearPromotionDiscounts
public void clearPromotionDiscounts()
throws SystemException
- Description copied from interface:
PromotionDiscountable
- Clear all non-locked promotion discounts on the business object.
- Specified by:
clearPromotionDiscounts
in interface PromotionDiscountable
- Throws:
SystemException
getCopySourceCustomerOrderServiceLine
public CustomerOrderServiceLineImpl getCopySourceCustomerOrderServiceLine()
throws SystemException
- Throws:
SystemException
setCopySourceCustomerOrderServiceLine
public void setCopySourceCustomerOrderServiceLine(CustomerOrderServiceLine serviceLine)
throws SystemException
- Throws:
SystemException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28