com.retek.component.customer.impl.persistence
Interface CatalogTypeDao

All Known Implementing Classes:
CacheCatalogTypeDao, OracleCatalogTypeDao

public interface CatalogTypeDao

Catalog types have a description, estimated number of days for delivery and are either active or not. This interface defines the persistence-layer operations available on a catalog type.


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.
 CatalogTypeDto submit(CatalogTypeDto dto, DistributedReference userRef)
          Persists a catalog type.
 

Method Detail

createReferenceCacheForCatalogType

public ReferenceCache createReferenceCacheForCatalogType()
                                                  throws SystemException
Throws:
SystemException

read

public CatalogTypeDto read(DistributedReference ref)
                    throws SystemException
Reads the catalog type for the given catalog type reference.

Returns:
Always either returns an CatalogTypeDto or throws an exception. Never returns null.
Throws:
InvalidReferenceException - if the reference cannot be resolved.
SystemException

findAll

public java.util.Set findAll()
                      throws SystemException
Finds all catalog types in the system.

Returns:
An empty set if no catalog types exist in the system.
Throws:
SystemException

find

public java.util.Set find(CatalogTypeSearchCriteria criteria)
                   throws SystemException
Finds all catalog types in the system based on criteria.

Returns:
An empty set if no catalog types exist in the system.
Throws:
SystemException

submit

public CatalogTypeDto submit(CatalogTypeDto dto,
                             DistributedReference userRef)
                      throws SystemException
Persists a catalog type.

Throws:
java.lang.NullPointerException - if dto is null.
SystemException


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