com.retek.component.media.impl.persistence.cache
Class CacheMediaDao

java.lang.Object
  extended bycom.retek.commons.component.impl.persistence.cache.MemoryDao
      extended bycom.retek.component.media.impl.persistence.cache.CacheMediaDao
All Implemented Interfaces:
MediaDao

public class CacheMediaDao
extends MemoryDao
implements MediaDao


Constructor Summary
CacheMediaDao()
           
 
Method Summary
 java.lang.String createDisplayCodeForNewMedia(java.lang.String bannerId)
           
 ReferenceCache createReferenceCacheForMedia()
           
 ReferenceCache createReferenceCacheForSourceCode()
           
 java.util.Set findMedia(MediaSearchCriteria searchCriteria)
           
 java.util.Set findMediaForSourceCode(SourceCodeDto sourceCodeDto)
           
 SourceCodeDto findMostRecentActiveSourceCode(java.lang.String sourceCodeText)
           
 java.util.Set findSourceCodes(SourceCodeSearchCriteria searchCriteria)
           
 java.util.Set getSourceCodes(java.lang.String displayCode)
           
 MediaDto persist(MediaDto dto)
           
 MediaDto read(DistributedReference reference)
           
 SourceCodeDto readSourceCode(DistributedReference reference)
           
static void reset()
           
 boolean sourceCodeExists(java.lang.String displayCode)
           
 
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

CacheMediaDao

public CacheMediaDao()
Method Detail

reset

public static void reset()

read

public MediaDto read(DistributedReference reference)
              throws SystemException
Specified by:
read in interface MediaDao
Throws:
SystemException

createReferenceCacheForMedia

public ReferenceCache createReferenceCacheForMedia()
                                            throws SystemException
Specified by:
createReferenceCacheForMedia in interface MediaDao
Throws:
SystemException

createDisplayCodeForNewMedia

public java.lang.String createDisplayCodeForNewMedia(java.lang.String bannerId)
                                              throws SystemException
Specified by:
createDisplayCodeForNewMedia in interface MediaDao
Throws:
SystemException

persist

public MediaDto persist(MediaDto dto)
                 throws SystemException
Specified by:
persist in interface MediaDao
Throws:
SystemException

findMedia

public java.util.Set findMedia(MediaSearchCriteria searchCriteria)
                        throws SystemException
Specified by:
findMedia in interface MediaDao
Throws:
SystemException

createReferenceCacheForSourceCode

public ReferenceCache createReferenceCacheForSourceCode()
                                                 throws SystemException
Specified by:
createReferenceCacheForSourceCode in interface MediaDao
Throws:
SystemException

sourceCodeExists

public boolean sourceCodeExists(java.lang.String displayCode)
                         throws SystemException
Specified by:
sourceCodeExists in interface MediaDao
Throws:
SystemException

getSourceCodes

public java.util.Set getSourceCodes(java.lang.String displayCode)
                             throws SystemException
Throws:
SystemException

findSourceCodes

public java.util.Set findSourceCodes(SourceCodeSearchCriteria searchCriteria)
                              throws SystemException
Specified by:
findSourceCodes in interface MediaDao
Throws:
SystemException

readSourceCode

public SourceCodeDto readSourceCode(DistributedReference reference)
                             throws SystemException
Specified by:
readSourceCode in interface MediaDao
Throws:
SystemException

findMostRecentActiveSourceCode

public SourceCodeDto findMostRecentActiveSourceCode(java.lang.String sourceCodeText)
                                             throws SystemException
Specified by:
findMostRecentActiveSourceCode in interface MediaDao
Throws:
SystemException

findMediaForSourceCode

public java.util.Set findMediaForSourceCode(SourceCodeDto sourceCodeDto)
                                     throws SystemException
Throws:
SystemException


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