|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.domain.core.persistence.db.oracle.AbstractOracleDao
com.retek.component.location.impl.persistence.db.oracle.OracleLocationDao
Constructor Summary | |
OracleLocationDao()
|
Method Summary | |
boolean |
callCenterExists(java.lang.String callCenterId)
|
ReferenceCache |
createReferenceCacheForLocation(java.lang.Class businessInterface)
|
java.util.Set |
find(LocationSearchCriteria criteria)
|
java.util.Set |
findAllCallCenters()
|
java.util.Set |
findAllCountries()
Finds all countries supported by the RCOM installation. |
java.util.Set |
findAllCountryZipCodeRanges()
|
java.util.Set |
findAllPhysicalWarehouses()
|
java.util.Set |
findVirtualWarehousesForPhysicalWarehouse(DistributedReference physicalWHRef)
|
protected java.lang.String |
getDaoResourceProperty()
|
CountryDto |
getDefaultCountry()
Reads the country configured as the default. |
CountryDto |
persist(CountryDto countryDto)
|
CallCenterDto |
persistCallCenter(CallCenterDto dto)
|
CallCenterDto |
readCallCenter(DistributedReference ref)
|
CountryDto |
readCountry(DistributedReference ref)
Reads the country for the given reference. |
CountryDto |
readCountryByCode(java.lang.String countryCode)
Reads the country for the given code. |
CountryZipCodeRangeDto |
readCountryZipCodeRange(DistributedReference ref)
Reads the country zip code range for the given reference. |
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 |
public OracleLocationDao()
Method Detail |
protected java.lang.String getDaoResourceProperty()
getDaoResourceProperty
in class AbstractOracleDao
public CountryDto persist(CountryDto countryDto) throws SystemException
persist
in interface LocationDao
SystemException
public ReferenceCache createReferenceCacheForLocation(java.lang.Class businessInterface) throws SystemException
createReferenceCacheForLocation
in interface LocationDao
SystemException
public java.util.Set find(LocationSearchCriteria criteria) throws SystemException
find
in interface LocationDao
SystemException
public java.util.Set findAllCountries() throws SystemException
LocationDao
findAllCountries
in interface LocationDao
SystemException
public java.util.Set findAllPhysicalWarehouses() throws SystemException
findAllPhysicalWarehouses
in interface LocationDao
SystemException
public java.util.Set findAllCountryZipCodeRanges() throws SystemException
findAllCountryZipCodeRanges
in interface LocationDao
SystemException
public CountryDto getDefaultCountry() throws SystemException
LocationDao
getDefaultCountry
in interface LocationDao
SystemException
- If the system is configured with zero
or more than one country country specified as default.public CountryDto readCountryByCode(java.lang.String countryCode) throws SystemException
LocationDao
readCountryByCode
in interface LocationDao
null
if no match is found.
SystemException
public CountryDto readCountry(DistributedReference ref) throws SystemException
LocationDao
readCountry
in interface LocationDao
SystemException
public java.util.Set findAllCallCenters() throws SystemException
findAllCallCenters
in interface LocationDao
SystemException
public CallCenterDto readCallCenter(DistributedReference ref) throws SystemException
readCallCenter
in interface LocationDao
SystemException
public CallCenterDto persistCallCenter(CallCenterDto dto) throws SystemException
persistCallCenter
in interface LocationDao
SystemException
public java.util.Set findVirtualWarehousesForPhysicalWarehouse(DistributedReference physicalWHRef) throws SystemException
findVirtualWarehousesForPhysicalWarehouse
in interface LocationDao
SystemException
public boolean callCenterExists(java.lang.String callCenterId) throws SystemException
callCenterExists
in interface LocationDao
SystemException
public CountryZipCodeRangeDto readCountryZipCodeRange(DistributedReference ref) throws SystemException
LocationDao
readCountryZipCodeRange
in interface LocationDao
SystemException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |