Class ReplenishmentOrderController

java.lang.Object
de.hybris.platform.b2b.occ.v2.controllers.BaseController
de.hybris.platform.b2b.occ.v2.controllers.ReplenishmentOrderController

@Controller @RequestMapping("/{baseSiteId}/users/{userId}/replenishmentOrders") public class ReplenishmentOrderController extends BaseController
  • Constructor Details

    • ReplenishmentOrderController

      public ReplenishmentOrderController()
  • Method Details

    • getReplenishmentOrders

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @ResponseBody @RequestMapping(method=GET) public ReplenishmentOrderListWsDTO getReplenishmentOrders(@RequestParam(defaultValue="0") int currentPage, @RequestParam(defaultValue="20") int pageSize, @RequestParam(defaultValue="code") String sort, @RequestParam(defaultValue="DEFAULT") String fields)
    • getReplenishmentOrder

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @ResponseBody @RequestMapping(value="/{replenishmentOrderCode}", method=GET) public ReplenishmentOrderWsDTO getReplenishmentOrder(@PathVariable String replenishmentOrderCode, @RequestParam(defaultValue="DEFAULT") String fields)
    • updateReplenishmentOrder

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @ResponseBody @RequestMapping(value="/{replenishmentOrderCode}", method=PATCH) public ReplenishmentOrderWsDTO updateReplenishmentOrder(@PathVariable String replenishmentOrderCode, @RequestParam(defaultValue="DEFAULT") String fields)
    • getReplenishmentOrderHistory

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @ResponseBody @RequestMapping(value="/{replenishmentOrderCode}/orders", method=GET) public OrderHistoryListWsDTO getReplenishmentOrderHistory(@RequestParam(defaultValue="0") int currentPage, @RequestParam(defaultValue="20") int pageSize, @RequestParam(defaultValue="code") String sort, @PathVariable String replenishmentOrderCode, @RequestParam(defaultValue="DEFAULT") String fields)