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
  • 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 all WarehouseModel for the given "uid"
      Parameters:
      uid - baseStore uid to get its warehouses
      fields - defaulted to DEFAULT but can be FULL or BASIC
      currentPage - number of the current page
      pageSize - number of items in a page
      sort - 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 all PointOfServiceModel for the given "uid"
      Parameters:
      uid - baseStore uid to get its stores (Points Of Service)
      fields - defaulted to DEFAULT but can be FULL or BASIC
      currentPage - number of the current page
      pageSize - number of items in a page
      sort - sorting the results ascending or descending
      Returns:
      all points of service for the given baseStore's uid