com.retek.component.customerorder.impl.persistence.cache
Class CacheCustomerOrderCorrespondenceRequestDao

java.lang.Object
  extended bycom.retek.commons.component.impl.persistence.cache.MemoryDao
      extended bycom.retek.component.customerorder.impl.persistence.cache.CacheCustomerOrderCorrespondenceRequestDao
All Implemented Interfaces:
CustomerOrderCorrespondenceRequestDao

public class CacheCustomerOrderCorrespondenceRequestDao
extends MemoryDao
implements CustomerOrderCorrespondenceRequestDao


Constructor Summary
CacheCustomerOrderCorrespondenceRequestDao()
           
 
Method Summary
 ReferenceCache createReferenceCacheForCustomerOrderCorrespondenceRequest()
          Creates a reference for a new customerOrderCorrespondenceRequest.
 void delete(java.util.Set requestDtos)
          Deletes customerOrderCorrespondenceRequests.
 java.util.Set find(CustomerOrderCorrespondenceRequestDbSearchCriteria criteria)
          Retrieves all customerOrderCorrespondenceRequests that match the search criteria.
 CustomerOrderCorrespondenceRequestDto persist(CustomerOrderCorrespondenceRequestDto dto)
          Persists a customerOrderCorrespondenceRequest.
 CustomerOrderCorrespondenceRequestDto read(DistributedReference ref)
          Retrieves a specific CustomerOrderCorrespondenceRequestDto based on the 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

CacheCustomerOrderCorrespondenceRequestDao

public CacheCustomerOrderCorrespondenceRequestDao()
Method Detail

createReferenceCacheForCustomerOrderCorrespondenceRequest

public ReferenceCache createReferenceCacheForCustomerOrderCorrespondenceRequest()
                                                                         throws SystemException
Description copied from interface: CustomerOrderCorrespondenceRequestDao
Creates a reference for a new customerOrderCorrespondenceRequest. Responsible for retrieving the next unique customerOrderCorrespondenceRequest id.

Specified by:
createReferenceCacheForCustomerOrderCorrespondenceRequest in interface CustomerOrderCorrespondenceRequestDao
Returns:
reference to a new customerOrderCorrepsondenceRequest
Throws:
SystemException

read

public CustomerOrderCorrespondenceRequestDto read(DistributedReference ref)
                                           throws SystemException
Description copied from interface: CustomerOrderCorrespondenceRequestDao
Retrieves a specific CustomerOrderCorrespondenceRequestDto based on the reference.

Specified by:
read in interface CustomerOrderCorrespondenceRequestDao
Parameters:
ref - reference for the customerOrderCorrespondenceRequest to be retrieved
Returns:
CustomerOrderCorrespondenceRequestDto specified by the reference
Throws:
SystemException

delete

public void delete(java.util.Set requestDtos)
            throws SystemException
Description copied from interface: CustomerOrderCorrespondenceRequestDao
Deletes customerOrderCorrespondenceRequests.

Specified by:
delete in interface CustomerOrderCorrespondenceRequestDao
Parameters:
requestDtos - collection of customerOrderCorrespondenceRequestDtos to be deleted
Throws:
SystemException

find

public java.util.Set find(CustomerOrderCorrespondenceRequestDbSearchCriteria criteria)
                   throws SystemException
Description copied from interface: CustomerOrderCorrespondenceRequestDao
Retrieves all customerOrderCorrespondenceRequests that match the search criteria.

Specified by:
find in interface CustomerOrderCorrespondenceRequestDao
Parameters:
criteria - used to filter customerOrderCorrespondenceRequests
Returns:
collection of CustomerOrderCorrespondenceRequestDto
Throws:
SystemException

persist

public CustomerOrderCorrespondenceRequestDto persist(CustomerOrderCorrespondenceRequestDto dto)
                                              throws SystemException
Description copied from interface: CustomerOrderCorrespondenceRequestDao
Persists a customerOrderCorrespondenceRequest. If the customerOrderCorrespondenceRequestDto isPersisted and isDirty and update is done. If customerOrderCorrespondenceRequestDto is not persisted a insert is done.

Specified by:
persist in interface CustomerOrderCorrespondenceRequestDao
Parameters:
dto - customerOrderCorrespondenceRequest to be persisted.
Returns:
customerOrderCorrespondenceRequest that was persisted.
Throws:
SystemException

reset

public static void reset()


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