com.retek.component.promotion.impl.persistence.cache
Class CachePromotionDao

java.lang.Object
  extended bycom.retek.commons.component.impl.persistence.cache.MemoryDao
      extended bycom.retek.component.promotion.impl.persistence.cache.CachePromotionDao
All Implemented Interfaces:
PromotionDao

public class CachePromotionDao
extends MemoryDao
implements PromotionDao


Constructor Summary
CachePromotionDao()
           
 
Method Summary
 ReferenceCache createReferenceCacheForPromotion()
           
 ReferenceCache createReferenceCacheForPromotionBenefit(java.lang.Class businessInterface)
           
 ReferenceCache createReferenceCacheForPromotionThreshold(java.lang.Class businessInterface)
           
 java.util.Set find(PromotionSearchCriteria criteria)
           
 java.util.Set findAllPromotions()
           
 PromotionDto persist(PromotionDto dto)
           
 PromotionDto read(DistributedReference reference)
           
 PromotionBenefitDto readPromotionBenefit(DistributedReference reference)
           
static void reset()
           
 
Methods inherited from class com.retek.commons.component.impl.persistence.cache.MemoryDao
doCreateReferenceCache, doCreateReferenceCache, doDelete, doPersist, doPersist, doRead, doRead, getDtosForType, getSizeReport, isWildCardEqual, resetAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachePromotionDao

public CachePromotionDao()
Method Detail

reset

public static void reset()

read

public PromotionDto read(DistributedReference reference)
                  throws SystemException
Specified by:
read in interface PromotionDao
Throws:
SystemException

readPromotionBenefit

public PromotionBenefitDto readPromotionBenefit(DistributedReference reference)
                                         throws SystemException
Specified by:
readPromotionBenefit in interface PromotionDao
Throws:
SystemException

createReferenceCacheForPromotion

public ReferenceCache createReferenceCacheForPromotion()
                                                throws SystemException
Specified by:
createReferenceCacheForPromotion in interface PromotionDao
Throws:
SystemException

createReferenceCacheForPromotionBenefit

public ReferenceCache createReferenceCacheForPromotionBenefit(java.lang.Class businessInterface)
                                                       throws SystemException
Specified by:
createReferenceCacheForPromotionBenefit in interface PromotionDao
Throws:
SystemException

createReferenceCacheForPromotionThreshold

public ReferenceCache createReferenceCacheForPromotionThreshold(java.lang.Class businessInterface)
                                                         throws SystemException
Specified by:
createReferenceCacheForPromotionThreshold in interface PromotionDao
Throws:
SystemException

persist

public PromotionDto persist(PromotionDto dto)
                     throws SystemException
Specified by:
persist in interface PromotionDao
Throws:
SystemException

findAllPromotions

public java.util.Set findAllPromotions()
                                throws SystemException
Specified by:
findAllPromotions in interface PromotionDao
Throws:
SystemException

find

public java.util.Set find(PromotionSearchCriteria criteria)
                   throws SystemException
Specified by:
find in interface PromotionDao
Throws:
SystemException


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