Interface WarehousingPointOfServiceFacade
-
- All Known Implementing Classes:
DefaultWarehousingPointOfServiceFacade
public interface WarehousingPointOfServiceFacadeWarehousing facade exposing CRUD operations onPointOfServiceModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PointOfServiceDatadeleteWarehouseFromPointOfService(java.lang.String posName, java.lang.String warehouseCode)API to delete warehouses fromPointOfServiceModelPointOfServiceDatagetPointOfServiceByName(java.lang.String posName)API to get a point of service by posNameSearchPageData<WarehouseData>getWarehousesForPointOfService(PageableData pageableData, java.lang.String posName)API to get allWarehouseModelin the system, for the givenPointOfServiceModel.NAMEPointOfServiceDataupdatePointOfServiceWithAddress(java.lang.String posName, AddressData addressData)API to update aPointOfServiceModelPointOfServiceDataupdatePointOfServiceWithWarehouses(java.lang.String posName, WarehouseCodesDataList warehouseCodes)API to update aPointOfServiceModelwith a list of warehouses
-
-
-
Method Detail
-
getPointOfServiceByName
PointOfServiceData getPointOfServiceByName(java.lang.String posName)
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, java.lang.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(java.lang.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
PointOfServiceData deleteWarehouseFromPointOfService(java.lang.String posName, java.lang.String warehouseCode)
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
PointOfServiceData updatePointOfServiceWithAddress(java.lang.String posName, AddressData addressData)
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
-
-