Class WarehousingBaseStoresController
- java.lang.Object
-
- de.hybris.platform.warehousingwebservices.controllers.WarehousingBaseController
-
- de.hybris.platform.warehousingwebservices.controllers.basestore.WarehousingBaseStoresController
-
@Controller @RequestMapping("/basestores") public class WarehousingBaseStoresController extends WarehousingBaseControllerWebResource exposingWarehousingBaseStoreFacadehttp://host:port/warehousingwebservices/basestores
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.warehousingwebservices.controllers.WarehousingBaseController
dataMapper, DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, DEFAULT_SORT, WAREHOUSE_ADMINISTRATOR_GROUP, WAREHOUSE_AGENT_GROUP, WAREHOUSE_MANAGER_GROUP
-
-
Constructor Summary
Constructors Constructor Description WarehousingBaseStoresController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointOfServiceSearchPageWsDTOgetPointsOfServiceForBaseStoreId(java.lang.String uid, java.lang.String fields, int currentPage, int pageSize, java.lang.String sort)Request to get allPointOfServiceModelfor the given "uid"WarehouseSearchPageWsDtogetWarehousesForBaseStoreId(java.lang.String uid, java.lang.String fields, int currentPage, int pageSize, java.lang.String sort)Request to get allWarehouseModelfor the given "uid"-
Methods inherited from class de.hybris.platform.warehousingwebservices.controllers.WarehousingBaseController
createPageable, validate
-
-
-
-
Method Detail
-
getWarehousesForBaseStoreId
@Secured({"ROLE_WAREHOUSEAGENTGROUP","ROLE_WAREHOUSEMANAGERGROUP","ROLE_WAREHOUSEADMINISTRATORGROUP"}) @RequestMapping(value="/{uid}/warehouses", method=GET) @ResponseBody public WarehouseSearchPageWsDto getWarehousesForBaseStoreId(@PathVariable java.lang.String uid, @RequestParam(required=false,defaultValue="DEFAULT") java.lang.String fields, @RequestParam(required=false,defaultValue="0") int currentPage, @RequestParam(required=false,defaultValue="10") int pageSize, @RequestParam(required=false,defaultValue="asc") java.lang.String sort)Request to get allWarehouseModelfor the given "uid"- Parameters:
uid- baseStore uid to get its warehousesfields- 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 descending- Returns:
- all warehouses for details for the given baseStore's uid
-
getPointsOfServiceForBaseStoreId
@Secured({"ROLE_WAREHOUSEAGENTGROUP","ROLE_WAREHOUSEMANAGERGROUP","ROLE_WAREHOUSEADMINISTRATORGROUP"}) @RequestMapping(value="/{uid}/pointofservices", method=GET) @ResponseBody public PointOfServiceSearchPageWsDTO getPointsOfServiceForBaseStoreId(@PathVariable java.lang.String uid, @RequestParam(required=false,defaultValue="DEFAULT") java.lang.String fields, @RequestParam(required=false,defaultValue="0") int currentPage, @RequestParam(required=false,defaultValue="10") int pageSize, @RequestParam(required=false,defaultValue="asc") java.lang.String sort)Request to get allPointOfServiceModelfor the given "uid"- Parameters:
uid- baseStore uid to get its stores (Points Of Service)fields- 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 descending- Returns:
- all points of service for the given baseStore's uid
-
-