Interface WarehousingWarehouseService
-
- All Superinterfaces:
WarehouseService
- All Known Implementing Classes:
DefaultWarehousingWarehouseService
public interface WarehousingWarehouseService extends WarehouseService
Service for retrieving warehouses by delivery country and availability.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<WarehouseModel>getWarehousesByBaseStoreDeliveryCountry(BaseStoreModel baseStore, CountryModel country)Find all warehouses where the associated base store can deliver to the specified country.booleanisWarehouseInPoS(WarehouseModel warehouse, PointOfServiceModel pointOfService)Check if givenWarehouseModelbelong to givenPointOfServiceModel-
Methods inherited from interface de.hybris.platform.ordersplitting.WarehouseService
getDefWarehouse, getWarehouseForCode, getWarehouses, getWarehousesWithProductsInStock
-
-
-
-
Method Detail
-
getWarehousesByBaseStoreDeliveryCountry
java.util.Collection<WarehouseModel> getWarehousesByBaseStoreDeliveryCountry(BaseStoreModel baseStore, CountryModel country)
Find all warehouses where the associated base store can deliver to the specified country.- Parameters:
baseStore- - cannot be nullcountry- - cannot be null- Returns:
- a collection of sourcing locations; never null
-
isWarehouseInPoS
boolean isWarehouseInPoS(WarehouseModel warehouse, PointOfServiceModel pointOfService)
Check if givenWarehouseModelbelong to givenPointOfServiceModel- Parameters:
warehouse- -givenWarehouseModelto be validated - cannot be nullpointOfService- givenPointOfServiceModel- cannot be null- Returns:
- true if
WarehouseModelbelongs to givenPointOfServiceModel
-
-