com.retek.component.location.impl
Class LocationManagerImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.DistributedObjectManagerImpl
      extended bycom.retek.component.location.impl.LocationManagerImpl
All Implemented Interfaces:
DistributedObjectManager, LocationManager

public class LocationManagerImpl
extends DistributedObjectManagerImpl
implements LocationManager


Constructor Summary
LocationManagerImpl()
          Deprecated.  
LocationManagerImpl(DistributedContext context)
           
 
Method Summary
 CallCenter buildCallCenterInstance()
           
 CountryNonBusinessDate buildCountryNonBusinessDateInstance()
           
 CountryZipCodeRange buildCountryZipCodeRangeInstance()
           
 Store buildStoreInstance(java.lang.String displayCode)
           
 Warehouse buildWarehouseInstance(java.lang.String displayCode)
           
 ZipCodeRangeWarehousePriority buildZipCodeRangeWarehousePriorityInstance()
           
 ZipCodeRangeWarehousePriority buildZipCodeRangeWarehousePriorityInstance(ZipCodeRangeWarehousePriority priority)
           
 boolean callCenterExists(java.lang.String callCenterId)
           
protected  ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
           
 java.util.Set find(LocationSearchCriteria criteria)
           
 java.util.Set findAllCallCenters()
           
 java.util.Set findAllCountries()
           
 java.util.Set findAllCountryZipCodeRanges()
           
 java.util.Set findAllPhysicalWarehouses()
           
 Location findByDisplayCode(java.lang.String displayCode)
           
 Country findCountryByCode(java.lang.String countryCode)
           
 Country findDefaultCountry()
           
 java.util.Collection findStoreIdsByChannel(Channel channel)
          Deprecated. use find
 java.util.Set findVirtualWarehousesForPhysicalWarehouse(Warehouse physicalWarehouse)
           
 java.util.Set findVirtualWarehousesForPhysicalWarehouse(Warehouse physicalWarehouse, Channel channel)
           
 java.util.Collection findWarehouseIdsByChannel(Channel channel)
          Deprecated. use find
 java.util.Set getNonBusinessDates()
           
 java.util.Set getNonBusinessDates(Country country)
           
 CallCenter readCallCenter(DistributedReference ref)
           
 Country readCountry(DistributedReference ref)
           
 Location readLocation(DistributedReference ref)
           
 Location readLocation(java.lang.String id)
          Deprecated. use read(ref) or findByDisplayCode(String)
 Store readStore(DistributedReference ref)
           
 Store readStore(java.lang.String id)
          Deprecated. use read(ref) or findByDisplayCode(String)
 Warehouse readWarehouse(DistributedReference ref)
           
 Warehouse readWarehouse(java.lang.String id)
          Deprecated. use read(ref) or findByDisplayCode(String)
 java.util.Set readWarehouses(java.util.Collection references)
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectManagerImpl
getContext, getReferenceCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.DistributedObjectManager
getContext
 

Constructor Detail

LocationManagerImpl

public LocationManagerImpl(DistributedContext context)

LocationManagerImpl

public LocationManagerImpl()
Deprecated.  

Method Detail

buildStoreInstance

public Store buildStoreInstance(java.lang.String displayCode)
                         throws SystemException,
                                BusinessException
Specified by:
buildStoreInstance in interface LocationManager
Throws:
SystemException
BusinessException

buildWarehouseInstance

public Warehouse buildWarehouseInstance(java.lang.String displayCode)
                                 throws SystemException,
                                        BusinessException
Specified by:
buildWarehouseInstance in interface LocationManager
Throws:
SystemException
BusinessException

buildCountryZipCodeRangeInstance

public CountryZipCodeRange buildCountryZipCodeRangeInstance()
                                                     throws SystemException
Specified by:
buildCountryZipCodeRangeInstance in interface LocationManager
Throws:
SystemException

buildCountryNonBusinessDateInstance

public CountryNonBusinessDate buildCountryNonBusinessDateInstance()
                                                           throws SystemException
Specified by:
buildCountryNonBusinessDateInstance in interface LocationManager
Throws:
SystemException

buildCallCenterInstance

public CallCenter buildCallCenterInstance()
                                   throws SystemException
Specified by:
buildCallCenterInstance in interface LocationManager
Throws:
SystemException

buildZipCodeRangeWarehousePriorityInstance

public ZipCodeRangeWarehousePriority buildZipCodeRangeWarehousePriorityInstance(ZipCodeRangeWarehousePriority priority)
                                                                         throws SystemException
Specified by:
buildZipCodeRangeWarehousePriorityInstance in interface LocationManager
Throws:
SystemException

buildZipCodeRangeWarehousePriorityInstance

public ZipCodeRangeWarehousePriority buildZipCodeRangeWarehousePriorityInstance()
                                                                         throws SystemException
Specified by:
buildZipCodeRangeWarehousePriorityInstance in interface LocationManager
Throws:
SystemException

find

public java.util.Set find(LocationSearchCriteria criteria)
                   throws SystemException
Specified by:
find in interface LocationManager
Throws:
SystemException

findVirtualWarehousesForPhysicalWarehouse

public java.util.Set findVirtualWarehousesForPhysicalWarehouse(Warehouse physicalWarehouse)
                                                        throws SystemException
Specified by:
findVirtualWarehousesForPhysicalWarehouse in interface LocationManager
Throws:
SystemException

findByDisplayCode

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

findAllCountries

public java.util.Set findAllCountries()
                               throws SystemException
Specified by:
findAllCountries in interface LocationManager
Throws:
SystemException

findAllCountryZipCodeRanges

public java.util.Set findAllCountryZipCodeRanges()
                                          throws SystemException
Specified by:
findAllCountryZipCodeRanges in interface LocationManager
Throws:
SystemException

getNonBusinessDates

public java.util.Set getNonBusinessDates()
                                  throws SystemException
Specified by:
getNonBusinessDates in interface LocationManager
Throws:
SystemException

getNonBusinessDates

public java.util.Set getNonBusinessDates(Country country)
                                  throws SystemException
Specified by:
getNonBusinessDates in interface LocationManager
Throws:
SystemException

findDefaultCountry

public Country findDefaultCountry()
                           throws SystemException
Specified by:
findDefaultCountry in interface LocationManager
Throws:
SystemException

findCountryByCode

public Country findCountryByCode(java.lang.String countryCode)
                          throws SystemException
Specified by:
findCountryByCode in interface LocationManager
Throws:
SystemException

readLocation

public Location readLocation(DistributedReference ref)
                      throws SystemException
Specified by:
readLocation in interface LocationManager
Throws:
SystemException

readStore

public Store readStore(DistributedReference ref)
                throws SystemException
Specified by:
readStore in interface LocationManager
Throws:
SystemException

readWarehouse

public Warehouse readWarehouse(DistributedReference ref)
                        throws SystemException
Specified by:
readWarehouse in interface LocationManager
Throws:
SystemException

readWarehouses

public java.util.Set readWarehouses(java.util.Collection references)
                             throws SystemException
Specified by:
readWarehouses in interface LocationManager
Throws:
SystemException

readCountry

public Country readCountry(DistributedReference ref)
                    throws SystemException
Specified by:
readCountry in interface LocationManager
Throws:
SystemException

readLocation

public Location readLocation(java.lang.String id)
                      throws SystemException
Deprecated. use read(ref) or findByDisplayCode(String)

Throws:
SystemException

readStore

public Store readStore(java.lang.String id)
                throws InvalidIdException,
                       SystemException
Deprecated. use read(ref) or findByDisplayCode(String)

Throws:
InvalidIdException
SystemException

readWarehouse

public Warehouse readWarehouse(java.lang.String id)
                        throws InvalidIdException,
                               SystemException
Deprecated. use read(ref) or findByDisplayCode(String)

Throws:
InvalidIdException
SystemException

findStoreIdsByChannel

public java.util.Collection findStoreIdsByChannel(Channel channel)
                                           throws SystemException
Deprecated. use find

Throws:
SystemException

findWarehouseIdsByChannel

public java.util.Collection findWarehouseIdsByChannel(Channel channel)
                                               throws InvalidIdException,
                                                      SystemException
Deprecated. use find

Throws:
InvalidIdException
SystemException

findAllPhysicalWarehouses

public java.util.Set findAllPhysicalWarehouses()
                                        throws SystemException
Specified by:
findAllPhysicalWarehouses in interface LocationManager
Throws:
SystemException

readCallCenter

public CallCenter readCallCenter(DistributedReference ref)
                          throws SystemException
Specified by:
readCallCenter in interface LocationManager
Throws:
SystemException

findAllCallCenters

public java.util.Set findAllCallCenters()
                                 throws SystemException
Specified by:
findAllCallCenters in interface LocationManager
Throws:
SystemException

fetchMoreReferences

protected ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
                                      throws SystemException
Specified by:
fetchMoreReferences in class DistributedObjectManagerImpl
Throws:
SystemException

callCenterExists

public boolean callCenterExists(java.lang.String callCenterId)
                         throws SystemException
Specified by:
callCenterExists in interface LocationManager
Throws:
SystemException

findVirtualWarehousesForPhysicalWarehouse

public java.util.Set findVirtualWarehousesForPhysicalWarehouse(Warehouse physicalWarehouse,
                                                               Channel channel)
                                                        throws SystemException
Specified by:
findVirtualWarehousesForPhysicalWarehouse in interface LocationManager
Throws:
SystemException


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