public class WarehousingPointOfServicesController extends WarehousingBaseController
WarehousingPointOfServiceFacade
http://host:port/warehousingwebservices/pointofservicesdataMapper, DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, DEFAULT_SORT| Constructor and Description |
|---|
WarehousingPointOfServicesController() |
| Modifier and Type | Method and Description |
|---|---|
PointOfServiceWsDTO |
deleteWarehousesFromPointOfService(java.lang.String pointOfServiceName,
java.lang.String warehouseCode,
java.lang.String fields)
Request to delete warehouses from
PointOfServiceModel. |
protected Validator |
getAddressDTOValidator() |
PointOfServiceWsDTO |
getPointOfServiceByName(java.lang.String name,
java.lang.String fields)
Request to get a point of service by name
|
WarehouseSearchPageWsDto |
getWarehousesForPointOfService(java.lang.String pointOfServiceName,
java.lang.String fields,
int currentPage,
int pageSize,
java.lang.String sort)
Request to get all warehouses for the given
PointOfServiceModel in
the system |
protected void |
setAddressDTOValidator(Validator addressDTOValidator) |
PointOfServiceWsDTO |
updatePointOfServiceWithAddress(AddressWsDTO address,
java.lang.String pointOfServiceName,
java.lang.String fields)
Request to update a
PointOfServiceModel in the system
Make sure to pass a valid WarehouseCode to update the Point Of Service with |
PointOfServiceWsDTO |
updatePointOfServiceWithWarehouses(WarehouseCodesWsDto warehouseCodes,
java.lang.String pointOfServiceName,
java.lang.String fields)
Request to update a
PointOfServiceModel in the system
Make sure to pass a valid WarehouseCode to update the Point Of Service with |
createPageable, validatepublic WarehousingPointOfServicesController()
public PointOfServiceWsDTO getPointOfServiceByName(java.lang.String name, java.lang.String fields)
name - the name of the requested point of servicefields - defaulted to DEFAULT but can be FULL or BASICpublic WarehouseSearchPageWsDto getWarehousesForPointOfService(java.lang.String pointOfServiceName, java.lang.String fields, int currentPage, int pageSize, java.lang.String sort)
PointOfServiceModel in
the systempointOfServiceName - the name of the PointOfServiceDatafields - defaulted to DEFAULT but can be FULL or BASICcurrentPage - number of the current pagepageSize - number of items in a pagesort - sorting the results ascending or descendingpublic PointOfServiceWsDTO updatePointOfServiceWithWarehouses(WarehouseCodesWsDto warehouseCodes, java.lang.String pointOfServiceName, java.lang.String fields) throws WebserviceValidationException
PointOfServiceModel in the system
Make sure to pass a valid WarehouseCode to update the Point Of Service withpointOfServiceName - The name of the PointOfServiceModelfields - defaulted to DEFAULT but can be FULL or BASICwarehouseCodes - contains a list of warehouse codes which will be removed from the current point of serviceWebserviceValidationExceptionpublic PointOfServiceWsDTO deleteWarehousesFromPointOfService(java.lang.String pointOfServiceName, java.lang.String warehouseCode, java.lang.String fields) throws WebserviceValidationException
PointOfServiceModel.pointOfServiceName - The name of the PointOfServiceModelfields - defaulted to DEFAULT but can be FULL or BASICwarehouseCode - the warehouse code which will be removed from the current point of serviceWebserviceValidationExceptionpublic PointOfServiceWsDTO updatePointOfServiceWithAddress(AddressWsDTO address, java.lang.String pointOfServiceName, java.lang.String fields) throws WebserviceValidationException
PointOfServiceModel in the system
Make sure to pass a valid WarehouseCode to update the Point Of Service withfields - defaulted to DEFAULT but can be FULL or BASICpointOfServiceName - The name of the PointOfServiceModel that we are trying to updateaddress - the address to update the POS withWebserviceValidationExceptionprotected Validator getAddressDTOValidator()
protected void setAddressDTOValidator(Validator addressDTOValidator)
Copyright © 2018 SAP SE. All Rights Reserved.