com.retek.component.customer.impl.persistence.cache
Class CacheCatalogTypeDao

java.lang.Object
  extended bycom.retek.commons.component.impl.persistence.cache.MemoryDao
      extended bycom.retek.component.customer.impl.persistence.cache.CacheCatalogTypeDao
All Implemented Interfaces:
CatalogTypeDao

public class CacheCatalogTypeDao
extends MemoryDao
implements CatalogTypeDao


Constructor Summary
CacheCatalogTypeDao()
           
 
Method Summary
 ReferenceCache createReferenceCacheForCatalogType()
           
 java.util.Set find(CatalogTypeSearchCriteria criteria)
          Finds all catalog types in the system based on criteria.
 java.util.Set findAll()
          Finds all catalog types in the system.
 CatalogTypeDto read(DistributedReference ref)
          Reads the catalog type for the given catalog type reference.
static void reset()
           
 CatalogTypeDto submit(CatalogTypeDto dto, DistributedReference userRef)
          Persists a catalog type.
 
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

CacheCatalogTypeDao

public CacheCatalogTypeDao()
Method Detail

reset

public static void reset()

read

public CatalogTypeDto read(DistributedReference ref)
                    throws SystemException
Description copied from interface: CatalogTypeDao
Reads the catalog type for the given catalog type reference.

Specified by:
read in interface CatalogTypeDao
Returns:
Always either returns an CatalogTypeDto or throws an exception. Never returns null.
Throws:
SystemException

submit

public CatalogTypeDto submit(CatalogTypeDto dto,
                             DistributedReference userRef)
                      throws SystemException
Description copied from interface: CatalogTypeDao
Persists a catalog type.

Specified by:
submit in interface CatalogTypeDao
Throws:
SystemException

findAll

public java.util.Set findAll()
                      throws SystemException
Description copied from interface: CatalogTypeDao
Finds all catalog types in the system.

Specified by:
findAll in interface CatalogTypeDao
Returns:
An empty set if no catalog types exist in the system.
Throws:
SystemException

createReferenceCacheForCatalogType

public ReferenceCache createReferenceCacheForCatalogType()
                                                  throws SystemException
Specified by:
createReferenceCacheForCatalogType in interface CatalogTypeDao
Throws:
SystemException

find

public java.util.Set find(CatalogTypeSearchCriteria criteria)
                   throws SystemException
Description copied from interface: CatalogTypeDao
Finds all catalog types in the system based on criteria.

Specified by:
find in interface CatalogTypeDao
Returns:
An empty set if no catalog types exist in the system.
Throws:
SystemException


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