Class ReplenishmentOrderController
- java.lang.Object
-
- de.hybris.platform.b2bocc.v2.controllers.BaseController
-
- de.hybris.platform.b2bocc.v2.controllers.ReplenishmentOrderController
-
@Controller @RequestMapping("/{baseSiteId}/users/{userId}/replenishmentOrders") public class ReplenishmentOrderController extends BaseController
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.b2bocc.v2.controllers.BaseController
BASIC_FIELD_SET, DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, HEADER_TOTAL_COUNT, INVALID_REQUEST_BODY_ERROR_MESSAGE
-
-
Constructor Summary
Constructors Constructor Description ReplenishmentOrderController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplenishmentOrderWsDTOgetReplenishmentOrder(java.lang.String replenishmentOrderCode, java.lang.String fields)OrderHistoryListWsDTOgetReplenishmentOrderHistory(int currentPage, int pageSize, java.lang.String sort, java.lang.String replenishmentOrderCode, java.lang.String fields)ReplenishmentOrderListWsDTOgetReplenishmentOrders(int currentPage, int pageSize, java.lang.String sort, java.lang.String fields)ReplenishmentOrderWsDTOupdateReplenishmentOrder(java.lang.String replenishmentOrderCode, java.lang.String fields)-
Methods inherited from class de.hybris.platform.b2bocc.v2.controllers.BaseController
addPaginationField, getDataMapper, handleDuplicateUidException, handleErrorInternal, handleHttpMessageNotReadableException, handleModelNotFoundException, logParam, logParam, logParam, logValue, sanitize, setDataMapper, setTotalCountHeader, setTotalCountHeader, validate
-
-
-
-
Method Detail
-
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") java.lang.String sort, @RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
getReplenishmentOrder
@Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @ResponseBody @RequestMapping(value="/{replenishmentOrderCode}", method=GET) public ReplenishmentOrderWsDTO getReplenishmentOrder(@PathVariable java.lang.String replenishmentOrderCode, @RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
updateReplenishmentOrder
@Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @ResponseBody @RequestMapping(value="/{replenishmentOrderCode}", method=PATCH) public ReplenishmentOrderWsDTO updateReplenishmentOrder(@PathVariable java.lang.String replenishmentOrderCode, @RequestParam(defaultValue="DEFAULT") java.lang.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") java.lang.String sort, @PathVariable java.lang.String replenishmentOrderCode, @RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
-