Class TmaReviewApiController

java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaReviewApiController
All Implemented Interfaces:
ReviewApi

@Controller public class TmaReviewApiController extends TmaBaseController implements ReviewApi
Default implementation of ReviewApi
Since:
1907
  • Constructor Details

    • TmaReviewApiController

      @Autowired public TmaReviewApiController(javax.servlet.http.HttpServletRequest request)
  • Method Details

    • createReview

      @RequestMapping(value="/review", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<Review> createReview(@Valid @RequestBody @Valid Review review, @Valid @RequestParam(value="productOffering.id",required=true) @Valid String productOfferingId, @Valid @RequestParam(value="relatedParty.id",required=true) @Valid String relatedPartyId)
      Specified by:
      createReview in interface ReviewApi
    • listReview

      @RequestMapping(value="/review", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<Review>> listReview(@NotNull @Valid @RequestParam("productOffering.id") @NotNull @Valid String productOfferingId, @Valid @RequestParam(value="fields",required=false) @Valid String fields, @Valid @RequestParam(value="offset",required=false) @Valid Integer offset, @Valid @RequestParam(value="limit",required=false) @Valid Integer limit)
      Specified by:
      listReview in interface ReviewApi
    • initBinder

      @InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)