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

java.lang.Object
  extended bycom.retek.commons.domain.core.impl.persistence.cache.CacheDao
      extended bycom.retek.component.customerorder.impl.persistence.cache.CacheCustomerOrderAuditDao
All Implemented Interfaces:
CustomerOrderAuditDao

public class CacheCustomerOrderAuditDao
extends CacheDao
implements CustomerOrderAuditDao


Constructor Summary
CacheCustomerOrderAuditDao()
           
 
Method Summary
protected  java.util.HashMap getMap()
           
static java.lang.String getSizeReport()
           
 void persist(CustomerOrderDto customerOrderDto, DistributedReference userRef, boolean newOrder, java.util.Set dirtyForAuditDtos)
          Persists a customer order audit.
static void reset()
           
 
Methods inherited from class com.retek.commons.domain.core.impl.persistence.cache.CacheDao
deleteDto, findAllDtos, getLogger, getNextId, isWildCardEqual, readDto, submitDto
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheCustomerOrderAuditDao

public CacheCustomerOrderAuditDao()
Method Detail

persist

public void persist(CustomerOrderDto customerOrderDto,
                    DistributedReference userRef,
                    boolean newOrder,
                    java.util.Set dirtyForAuditDtos)
             throws SystemException
Description copied from interface: CustomerOrderAuditDao
Persists a customer order audit. Always creates a new record. Never updates the record. Only lines that exist in the list of dirtyForAuditDto's will be persisted.

Specified by:
persist in interface CustomerOrderAuditDao
Parameters:
customerOrderDto - customer order to create an audit for
userRef - reference to the user
newOrder - boolean to indicate whether the order has been persisted before
dirtyForAuditDtos - list of all customerOrderLineDto's that have been modified.
Throws:
SystemException

getMap

protected java.util.HashMap getMap()
Specified by:
getMap in class CacheDao

getSizeReport

public static java.lang.String getSizeReport()

reset

public static void reset()


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