com.retek.component.location.impl.persistence.cache
Class CacheLocationDao
java.lang.Object
com.retek.commons.component.impl.persistence.cache.MemoryDao
com.retek.component.location.impl.persistence.cache.CacheLocationDao
- All Implemented Interfaces:
- LocationDao
- public class CacheLocationDao
- extends MemoryDao
- implements LocationDao
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 |
VALID_CALL_CENTER_ID1
public static final java.lang.String VALID_CALL_CENTER_ID1
- See Also:
- Constant Field Values
VALID_CALL_CENTER_ID2
public static final java.lang.String VALID_CALL_CENTER_ID2
- See Also:
- Constant Field Values
CacheLocationDao
public CacheLocationDao()
throws SystemException
reset
public static void reset()
createReferenceCacheForLocation
public ReferenceCache createReferenceCacheForLocation(java.lang.Class businessInterface)
throws SystemException
- Specified by:
createReferenceCacheForLocation
in interface LocationDao
- Throws:
SystemException
findAllCountries
public java.util.Set findAllCountries()
throws SystemException
- Description copied from interface:
LocationDao
- Finds all countries supported by the RCOM installation.
- Specified by:
findAllCountries
in interface LocationDao
- Throws:
SystemException
findAllPhysicalWarehouses
public java.util.Set findAllPhysicalWarehouses()
throws SystemException
- Specified by:
findAllPhysicalWarehouses
in interface LocationDao
- Throws:
SystemException
findAllCountryZipCodeRanges
public java.util.Set findAllCountryZipCodeRanges()
throws SystemException
- Specified by:
findAllCountryZipCodeRanges
in interface LocationDao
- Throws:
SystemException
findVirtualWarehousesForPhysicalWarehouse
public java.util.Set findVirtualWarehousesForPhysicalWarehouse(DistributedReference physicalWHRef)
throws SystemException
- Specified by:
findVirtualWarehousesForPhysicalWarehouse
in interface LocationDao
- Throws:
SystemException
find
public java.util.Set find(LocationSearchCriteria criteria)
throws SystemException
- Specified by:
find
in interface LocationDao
- Throws:
SystemException
readCountry
public CountryDto readCountry(DistributedReference ref)
throws SystemException
- Description copied from interface:
LocationDao
- Reads the country for the given reference.
- Specified by:
readCountry
in interface LocationDao
- Returns:
- Always either returns a CountryDto or throws an exception. Never returns null.
- Throws:
SystemException
getDefaultCountry
public CountryDto getDefaultCountry()
throws SystemException
- Description copied from interface:
LocationDao
- Reads the country configured as the default.
- Specified by:
getDefaultCountry
in interface LocationDao
- Throws:
SystemException
- If the system is configured with zero
or more than one country country specified as default.
readCountryByCode
public CountryDto readCountryByCode(java.lang.String countryCode)
throws SystemException
- Description copied from interface:
LocationDao
- Reads the country for the given code. Country codes are 2 or 3 characters long.
- Specified by:
readCountryByCode
in interface LocationDao
- Returns:
- Either the CountryDto for the given code or
null
if no match is found.
- Throws:
SystemException
persist
public CountryDto persist(CountryDto dto)
throws SystemException
- Specified by:
persist
in interface LocationDao
- Throws:
SystemException
findAllCallCenters
public java.util.Set findAllCallCenters()
throws SystemException
- Specified by:
findAllCallCenters
in interface LocationDao
- Throws:
SystemException
readCallCenter
public CallCenterDto readCallCenter(DistributedReference ref)
throws SystemException
- Specified by:
readCallCenter
in interface LocationDao
- Throws:
SystemException
persistCallCenter
public CallCenterDto persistCallCenter(CallCenterDto callCenterDto)
throws SystemException
- Specified by:
persistCallCenter
in interface LocationDao
- Throws:
SystemException
callCenterExists
public boolean callCenterExists(java.lang.String callCenterId)
throws SystemException
- Specified by:
callCenterExists
in interface LocationDao
- Throws:
SystemException
readCountryZipCodeRange
public CountryZipCodeRangeDto readCountryZipCodeRange(DistributedReference ref)
throws SystemException
- Description copied from interface:
LocationDao
- Reads the country zip code range for the given reference.
- Specified by:
readCountryZipCodeRange
in interface LocationDao
- Returns:
- Always either returns a CountryZipCodeRangeDto or throws an exception. Never returns null.
- Throws:
SystemException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28