Class TmaPartyRoleApiController
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaPartyRoleApiController
- All Implemented Interfaces:
PartyRoleApi
@Controller
public class TmaPartyRoleApiController
extends TmaBaseController
implements PartyRoleApi
-
Field Summary
Fields inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
BAD_REQUEST, NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TmaCustomerFacadeprotected TmaSubscriptionAccessFacaderetrievePartyRole(String relatedPartyId, @Valid String fields) Methods inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
addDefaultFields, encodeUrl, filter, getAuthentication, getDataMapper, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getRequestUrl, getUnsuccessfulResponse, getUnsuccessfulResponseWithErrorRepresentation, getUser, handleInternalError, handleModelNotFoundException, handleTmaApiErrorInternal, hasRole, init, sanitize, sanitizeQueryString
-
Constructor Details
-
TmaPartyRoleApiController
public TmaPartyRoleApiController()
-
-
Method Details
-
retrievePartyRole
@RequestMapping(value="/partyRole/{id:.+}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<PartyRole>> retrievePartyRole(@PathVariable("id") String relatedPartyId, @Valid @RequestParam(value="fields",required=false) @Valid String fields) - Specified by:
retrievePartyRolein interfacePartyRoleApi
-
getSubscriptionAccessFacade
-
getCustomerFacade
-