Class TmaRecommendationApiController
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaRecommendationApiController
- All Implemented Interfaces:
RecommendationApi
@Controller
public class TmaRecommendationApiController
extends TmaBaseController
implements RecommendationApi
Default implementation of
RecommendationApi.- Since:
- 1907
-
Field Summary
Fields inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
BAD_REQUEST, NOT_FOUND -
Constructor Summary
ConstructorsConstructorDescriptionTmaRecommendationApiController(javax.servlet.http.HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<List<Recommendation>>listRecommendation(@Valid String relatedPartyId, @Valid String subscriptionBaseId, @Valid String processTypeId, @Valid String productOfferingTermId, @Valid String relatedProductOfferingId, @Valid String fields, @Valid Integer offset, @Valid Integer limit) Methods inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
encodeUrl, filter, getDataMapper, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getRequestUrl, getUnsuccessfulResponse, getUnsuccessfulResponseWithErrorRepresentation, handleInternalError, handleModelNotFoundException, handleTmaApiErrorInternal, init, sanitize, sanitizeQueryString
-
Constructor Details
-
TmaRecommendationApiController
@Autowired public TmaRecommendationApiController(javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
listRecommendation
@RequestMapping(value="/recommendation", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<Recommendation>> listRecommendation(@Valid @RequestParam(value="relatedParty.id",required=false) @Valid String relatedPartyId, @Valid @RequestParam(value="subscriptionBase.id",required=false) @Valid String subscriptionBaseId, @Valid @RequestParam(value="processType.id",required=false) @Valid String processTypeId, @Valid @RequestParam(value="productOfferingTerm.id",required=false) @Valid String productOfferingTermId, @Valid @RequestParam(value="relatedProductOffering.id",required=false) @Valid String relatedProductOfferingId, @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:
listRecommendationin interfaceRecommendationApi
-