com.retek.component.promotion.impl
Class PromotionBenefitImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.promotion.impl.PromotionBenefitImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, PromotionBenefit
Direct Known Subclasses:
GiftCertificateBenefitImpl, ItemBenefitImpl, LineMerchAmountBenefitImpl, OrderMerchAmountBenefitImpl, OrderServiceAmountBenefitImpl, PlanCodeBenefitImpl, SellingListItemBenefitImpl

public abstract class PromotionBenefitImpl
extends DistributedObjectImpl
implements PromotionBenefit


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.promotion.PromotionBenefit
DOLLAR_OR_PERCENTOFF, PROMOTION_DOLLAR_OFF, PROMOTION_PERCENT_OFF
 
Constructor Summary
PromotionBenefitImpl(DistributedContext context, DistributedReference ref)
           
PromotionBenefitImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
 
Method Summary
 Money getDollarOff()
           
 PromotionBenefitDto getDto()
           
 Percent getPercentOff()
           
 boolean isDollarOff()
           
 boolean isPercentOff()
           
protected  Dto readLatest()
           
 void setCreateAudit(User user)
           
 void setDollarOff(Money dollarOff)
           
 void setPercentOff(Percent percentOff)
           
 void setUpdateAudit(User user)
           
 
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, 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.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

PromotionBenefitImpl

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

PromotionBenefitImpl

public PromotionBenefitImpl(DistributedContext context,
                            DistributedReference ref)
                     throws SystemException
Method Detail

readLatest

protected Dto readLatest()
                  throws SystemException
Overrides:
readLatest in class DistributedObjectImpl
Throws:
SystemException

getDto

public PromotionBenefitDto getDto()
                           throws SystemException
Throws:
SystemException

getPercentOff

public Percent getPercentOff()
                      throws SystemException
Specified by:
getPercentOff in interface PromotionBenefit
Throws:
SystemException

getDollarOff

public Money getDollarOff()
                   throws SystemException
Specified by:
getDollarOff in interface PromotionBenefit
Throws:
SystemException

isDollarOff

public boolean isDollarOff()
                    throws SystemException
Specified by:
isDollarOff in interface PromotionBenefit
Throws:
SystemException

isPercentOff

public boolean isPercentOff()
                     throws SystemException
Specified by:
isPercentOff in interface PromotionBenefit
Throws:
SystemException

setDollarOff

public void setDollarOff(Money dollarOff)
                  throws SystemException
Specified by:
setDollarOff in interface PromotionBenefit
Throws:
SystemException

setPercentOff

public void setPercentOff(Percent percentOff)
                   throws SystemException
Specified by:
setPercentOff in interface PromotionBenefit
Throws:
SystemException

setUpdateAudit

public void setUpdateAudit(User user)
                    throws SystemException
Throws:
SystemException

setCreateAudit

public void setCreateAudit(User user)
                    throws SystemException
Throws:
SystemException


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