com.retek.component.shipping.impl.persistence.cache
Class CacheShippingMethodDao

java.lang.Object
  extended bycom.retek.commons.component.impl.persistence.cache.MemoryDao
      extended bycom.retek.component.shipping.impl.persistence.cache.CacheShippingMethodDao
All Implemented Interfaces:
ShippingMethodDao

public class CacheShippingMethodDao
extends MemoryDao
implements ShippingMethodDao


Constructor Summary
CacheShippingMethodDao()
           
 
Method Summary
 ReferenceCache createReferenceCacheForShippingMethod()
           
 void deleteCarrierServiceLocationZones(java.lang.String shippingMethodDisplayCode, java.lang.String carrierDisplayCode)
           
 java.util.Set findAll()
           
 ShippingMethodDto findByDisplayCode(java.lang.String displayCode)
           
 java.lang.Integer getCarrierTransitDays(DistributedReference carrierRef, DistributedReference shippingMethodRef, java.lang.String shipFromZipCode, java.lang.String shipToZipCode)
           
 ShippingMethodDto read(DistributedReference ref)
           
 ShippingMethodDto submit(ShippingMethodDto dto)
           
 
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

CacheShippingMethodDao

public CacheShippingMethodDao()
Method Detail

read

public ShippingMethodDto read(DistributedReference ref)
                       throws SystemException
Specified by:
read in interface ShippingMethodDao
Throws:
SystemException

submit

public ShippingMethodDto submit(ShippingMethodDto dto)
                         throws SystemException
Specified by:
submit in interface ShippingMethodDao
Throws:
SystemException

findAll

public java.util.Set findAll()
                      throws SystemException
Specified by:
findAll in interface ShippingMethodDao
Throws:
SystemException

findByDisplayCode

public ShippingMethodDto findByDisplayCode(java.lang.String displayCode)
                                    throws SystemException
Specified by:
findByDisplayCode in interface ShippingMethodDao
Throws:
SystemException

createReferenceCacheForShippingMethod

public ReferenceCache createReferenceCacheForShippingMethod()
                                                     throws SystemException
Specified by:
createReferenceCacheForShippingMethod in interface ShippingMethodDao
Throws:
SystemException

getCarrierTransitDays

public java.lang.Integer getCarrierTransitDays(DistributedReference carrierRef,
                                               DistributedReference shippingMethodRef,
                                               java.lang.String shipFromZipCode,
                                               java.lang.String shipToZipCode)
                                        throws SystemException
Specified by:
getCarrierTransitDays in interface ShippingMethodDao
Throws:
SystemException

deleteCarrierServiceLocationZones

public void deleteCarrierServiceLocationZones(java.lang.String shippingMethodDisplayCode,
                                              java.lang.String carrierDisplayCode)
                                       throws SystemException
Specified by:
deleteCarrierServiceLocationZones in interface ShippingMethodDao
Throws:
SystemException


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