com.retek.component.customer.impl.persistence.db.oracle
Class OracleCatalogRequestDao

java.lang.Object
  extended bycom.retek.commons.domain.core.persistence.db.oracle.AbstractOracleDao
      extended bycom.retek.component.customer.impl.persistence.db.oracle.OracleCatalogRequestDao
All Implemented Interfaces:
CatalogRequestDao

public class OracleCatalogRequestDao
extends AbstractOracleDao
implements CatalogRequestDao


Constructor Summary
OracleCatalogRequestDao()
           
 
Method Summary
 ReferenceCache createReferenceCacheForCatalogRequest()
           
 java.util.Set findUnexportedCatalogRequestReferences()
          Catalog requests are fulfilled by an external system.
protected  java.lang.String getDaoResourceProperty()
           
 CatalogRequestDto persist(CatalogRequestDto dto)
          Persists a catalog request.
 void persistProcessed(java.util.Set refs, boolean exportedFlag)
          Persist a set of catalog request (marking as processed).
 CatalogRequestDto read(DistributedReference ref)
          Reads the catalog request for the given catalog request reference.
 java.util.Set read(java.util.Set refs)
          Reads the catalog request requests for the given references.
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.oracle.AbstractOracleDao
buildReferenceCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleCatalogRequestDao

public OracleCatalogRequestDao()
Method Detail

createReferenceCacheForCatalogRequest

public ReferenceCache createReferenceCacheForCatalogRequest()
                                                     throws SystemException
Specified by:
createReferenceCacheForCatalogRequest in interface CatalogRequestDao
Throws:
SystemException

read

public CatalogRequestDto read(DistributedReference ref)
                       throws SystemException
Description copied from interface: CatalogRequestDao
Reads the catalog request for the given catalog request reference.

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

read

public java.util.Set read(java.util.Set refs)
                   throws SystemException
Description copied from interface: CatalogRequestDao
Reads the catalog request requests for the given references.

Specified by:
read in interface CatalogRequestDao
Returns:
Set catalog request requests
Throws:
SystemException

getDaoResourceProperty

protected java.lang.String getDaoResourceProperty()
Overrides:
getDaoResourceProperty in class AbstractOracleDao

persist

public CatalogRequestDto persist(CatalogRequestDto dto)
                          throws SystemException
Description copied from interface: CatalogRequestDao
Persists a catalog request.

Specified by:
persist in interface CatalogRequestDao
Throws:
SystemException

findUnexportedCatalogRequestReferences

public java.util.Set findUnexportedCatalogRequestReferences()
                                                     throws SystemException
Description copied from interface: CatalogRequestDao
Catalog requests are fulfilled by an external system. The method finds all catalog requests not yet exported to this external system.

Specified by:
findUnexportedCatalogRequestReferences in interface CatalogRequestDao
Returns:
Set request references
Throws:
SystemException

persistProcessed

public void persistProcessed(java.util.Set refs,
                             boolean exportedFlag)
                      throws SystemException
Description copied from interface: CatalogRequestDao
Persist a set of catalog request (marking as processed).

Specified by:
persistProcessed in interface CatalogRequestDao
Parameters:
refs - the catalog request references to update
exportedFlag - boolean indicating export is processed
Throws:
SystemException


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