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 WarehousingBaseController
WebResource exposing
WarehousingBaseStoreFacade
http://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 -
Method Summary
Modifier and TypeMethodDescriptiongetPointsOfServiceForBaseStoreId(String uid, String fields, int currentPage, int pageSize, String sort) Request to get allPointOfServiceModelfor the given "uid"getWarehousesForBaseStoreId(String uid, String fields, int currentPage, int pageSize, String sort) Request to get allWarehouseModelfor the given "uid"Methods inherited from class de.hybris.platform.warehousingwebservices.controllers.WarehousingBaseController
createPageable, validate
-
Constructor Details
-
WarehousingBaseStoresController
public WarehousingBaseStoresController()
-
-
Method Details
-
getWarehousesForBaseStoreId
@Secured({"ROLE_WAREHOUSEAGENTGROUP","ROLE_WAREHOUSEMANAGERGROUP","ROLE_WAREHOUSEADMINISTRATORGROUP"}) @RequestMapping(value="/{uid}/warehouses", method=GET) @ResponseBody public WarehouseSearchPageWsDto getWarehousesForBaseStoreId(@PathVariable String uid, @RequestParam(required=false,defaultValue="DEFAULT") String fields, @RequestParam(required=false,defaultValue="0") int currentPage, @RequestParam(required=false,defaultValue="10") int pageSize, @RequestParam(required=false,defaultValue="asc") 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 String uid, @RequestParam(required=false,defaultValue="DEFAULT") String fields, @RequestParam(required=false,defaultValue="0") int currentPage, @RequestParam(required=false,defaultValue="10") int pageSize, @RequestParam(required=false,defaultValue="asc") 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
-