com.retek.component.promotion.impl
Class PromotionThresholdImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.promotion.impl.PromotionThresholdImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, PromotionThreshold
Direct Known Subclasses:
ItemPromotionThresholdImpl, OrderCurrencyAmountThresholdImpl, OrderQuantityThresholdImpl

public abstract class PromotionThresholdImpl
extends DistributedObjectImpl
implements PromotionThreshold


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.PromotionThreshold
CURRENCY_AMOUNT, QUANTITY
 
Constructor Summary
PromotionThresholdImpl(DistributedContext context, DistributedReference ref)
           
PromotionThresholdImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
 
Method Summary
abstract  void accept(Promotion promotion, PromotionThresholdVisitor thresholdVisitor)
          Initiate a threhold visitation.
 PromotionThresholdDto getDto()
           
 void setCreateAudit(User user)
           
 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, 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.promotion.PromotionThreshold
isCurrency, isQuantity
 
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

PromotionThresholdImpl

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

PromotionThresholdImpl

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

getDto

public PromotionThresholdDto getDto()
                             throws SystemException
Throws:
SystemException

setUpdateAudit

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

setCreateAudit

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

accept

public abstract void accept(Promotion promotion,
                            PromotionThresholdVisitor thresholdVisitor)
                     throws SystemException
Description copied from interface: PromotionThreshold
Initiate a threhold visitation.

Specified by:
accept in interface PromotionThreshold
Parameters:
promotion - promotion for the threshold
Throws:
SystemException


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