Interface WarehousingPointOfServiceFacade
- All Known Implementing Classes:
DefaultWarehousingPointOfServiceFacade
public interface WarehousingPointOfServiceFacade
Warehousing facade exposing CRUD operations on
PointOfServiceModel-
Method Summary
Modifier and TypeMethodDescriptiondeleteWarehouseFromPointOfService(String posName, String warehouseCode) API to delete warehouses fromPointOfServiceModelgetPointOfServiceByName(String posName) API to get a point of service by posNamegetWarehousesForPointOfService(PageableData pageableData, String posName) API to get allWarehouseModelin the system, for the givenPointOfServiceModel.NAMEupdatePointOfServiceWithAddress(String posName, AddressData addressData) API to update aPointOfServiceModelupdatePointOfServiceWithWarehouses(String posName, WarehouseCodesDataList warehouseCodes) API to update aPointOfServiceModelwith a list of warehouses
-
Method Details
-
getPointOfServiceByName
API to get a point of service by posName- Parameters:
posName- the point of service's posName- Returns:
- the point of service
-
getWarehousesForPointOfService
SearchPageData<WarehouseData> getWarehousesForPointOfService(PageableData pageableData, String posName) API to get allWarehouseModelin the system, for the givenPointOfServiceModel.NAME- Parameters:
pageableData- pageable object that contains info on the number or pages and how many items in each page in addition the sorting infoposName- the posName of the PointOfService for which warehouses are being retrieved- Returns:
- the list of warehouses for the given PointOfService
-
updatePointOfServiceWithWarehouses
PointOfServiceData updatePointOfServiceWithWarehouses(String posName, WarehouseCodesDataList warehouseCodes) API to update aPointOfServiceModelwith a list of warehouses- Parameters:
posName- the posName of the PointOfService for which warehouses will be deletedwarehouseCodes- the object containing the list of warehouse codes to add to the point of service- Returns:
- the updated
PointOfServiceDatawithout the specified warehouses
-
deleteWarehouseFromPointOfService
API to delete warehouses fromPointOfServiceModel- Parameters:
posName- the posName of the PointOfService for which warehouses will be deletedwarehouseCode- the warehouse which has to be removed from the point of service.- Returns:
- the updated
PointOfServiceDatawithout the specified warehouses
-
updatePointOfServiceWithAddress
API to update aPointOfServiceModel- Parameters:
posName- the posName of POS that we want to updateaddressData- the address which we want to update the pos with- Returns:
- the
PointOfServiceDataupdated with the passed address and converted from the newly updatedPointOfServiceModel
-