Class DefaultWarehousingWarehouseService
java.lang.Object
de.hybris.platform.ordersplitting.impl.DefaultWarehouseService
de.hybris.platform.warehousing.warehouse.service.impl.DefaultWarehousingWarehouseService
- All Implemented Interfaces:
WarehouseService,WarehousingWarehouseService
public class DefaultWarehousingWarehouseService
extends DefaultWarehouseService
implements WarehousingWarehouseService
OrderManagement implementation of
Also, it provides the default implementation for
WarehouseService.Also, it provides the default implementation for
WarehousingWarehouseService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWarehousesByBaseStoreDeliveryCountry(BaseStoreModel baseStore, CountryModel country) Find all warehouses where the associated base store can deliver to the specified country.protected WarehousingWarehouseSelectionStrategybooleanisWarehouseInPoS(WarehouseModel warehouse, PointOfServiceModel pointOfService) Check if givenWarehouseModelbelong to givenPointOfServiceModelvoidsetWarehousingWarehouseSelectionStrategy(WarehousingWarehouseSelectionStrategy warehousingWarehouseSelectionStrategy) Methods inherited from class de.hybris.platform.ordersplitting.impl.DefaultWarehouseService
getDefWarehouse, getWarehouseForCode, getWarehouses, getWarehousesWithProductsInStock, setWarehouseDaoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.ordersplitting.WarehouseService
getDefWarehouse, getWarehouseForCode, getWarehouses, getWarehousesWithProductsInStock
-
Constructor Details
-
DefaultWarehousingWarehouseService
public DefaultWarehousingWarehouseService()
-
-
Method Details
-
getWarehousesByBaseStoreDeliveryCountry
public Collection<WarehouseModel> getWarehousesByBaseStoreDeliveryCountry(BaseStoreModel baseStore, CountryModel country) throws IllegalArgumentException Description copied from interface:WarehousingWarehouseServiceFind all warehouses where the associated base store can deliver to the specified country.- Specified by:
getWarehousesByBaseStoreDeliveryCountryin interfaceWarehousingWarehouseService- Parameters:
baseStore- - cannot be nullcountry- - cannot be null- Returns:
- a collection of sourcing locations; never null
- Throws:
IllegalArgumentException
-
isWarehouseInPoS
Description copied from interface:WarehousingWarehouseServiceCheck if givenWarehouseModelbelong to givenPointOfServiceModel- Specified by:
isWarehouseInPoSin interfaceWarehousingWarehouseService- Parameters:
warehouse- -givenWarehouseModelto be validated - cannot be nullpointOfService- givenPointOfServiceModel- cannot be null- Returns:
- true if
WarehouseModelbelongs to givenPointOfServiceModel
-
getWarehousingWarehouseSelectionStrategy
-
setWarehousingWarehouseSelectionStrategy
public void setWarehousingWarehouseSelectionStrategy(WarehousingWarehouseSelectionStrategy warehousingWarehouseSelectionStrategy)
-