Class TmaGeographicAddressApiController
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.controller.TmaBaseController
de.hybris.platform.b2ctelcotmfwebservices.v3.controller.TmaGeographicAddressApiController
- All Implemented Interfaces:
GeographicAddressApi
@Controller
public class TmaGeographicAddressApiController
extends TmaBaseController
implements GeographicAddressApi
Default implementation of
GeographicAddressApi- Since:
- 2302
-
Constructor Summary
ConstructorsConstructorDescriptionTmaGeographicAddressApiController(javax.servlet.http.HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescriptionprotected TmaAddressFacadeprotected TmaPaginationFacadeprotected TmaUserFacadeorg.springframework.http.ResponseEntity<List<GeographicAddress>>listGeographicAddress(@Valid String baseSiteId, @Valid String fields, @Valid Integer offset, @Valid Integer limit, @Valid String relatedPartyId) org.springframework.http.ResponseEntity<List<GeographicSubAddress>>listGeographicSubAddress(String geographicAddressId, @Valid String fields, @Valid Integer offset, @Valid Integer limit, @Valid String relatedPartyId) org.springframework.http.ResponseEntity<GeographicAddress>retrieveGeographicAddress(String id, @Valid String fields, @Valid String relatedPartyId) org.springframework.http.ResponseEntity<GeographicSubAddress>retrieveGeographicSubAddress(String geographicAddressId, String id, @Valid String fields, @Valid String relatedPartyId) Methods inherited from class de.hybris.platform.b2ctelcotmfwebservices.v3.controller.TmaBaseController
addDefaultFields, encodeUrl, filter, getAuthentication, getDataMapper, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getRequestUrl, getTmaCatalogVersionFacade, getUnsuccessfulResponse, getUnsuccessfulResponse, getUnsuccessfulResponseWithErrorRepresentation, getUser, handleInternalError, handleModelNotFoundException, handleTmaApiErrorInternal, init, sanitize, sanitizeQueryString, setCatalogVersion
-
Constructor Details
-
TmaGeographicAddressApiController
public TmaGeographicAddressApiController(javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
listGeographicAddress
@RequestMapping(value="/geographicAddress", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<GeographicAddress>> listGeographicAddress(@Valid @RequestParam(value="baseSiteId",required=false) @Valid String baseSiteId, @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, @Valid @RequestParam(value="relatedParty.id",required=false) @Valid String relatedPartyId) - Specified by:
listGeographicAddressin interfaceGeographicAddressApi
-
retrieveGeographicAddress
@RequestMapping(value="/geographicAddress/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<GeographicAddress> retrieveGeographicAddress(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields, @Valid @RequestParam(value="relatedParty.id",required=false) @Valid String relatedPartyId) - Specified by:
retrieveGeographicAddressin interfaceGeographicAddressApi
-
listGeographicSubAddress
@RequestMapping(value="/geographicAddress/{geographicAddressId}/geographicSubAddress", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<GeographicSubAddress>> listGeographicSubAddress(@PathVariable("geographicAddressId") String geographicAddressId, @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, @Valid @RequestParam(value="relatedParty.id",required=false) @Valid String relatedPartyId) - Specified by:
listGeographicSubAddressin interfaceGeographicAddressApi
-
retrieveGeographicSubAddress
@RequestMapping(value="/geographicAddress/{geographicAddressId}/geographicSubAddress/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<GeographicSubAddress> retrieveGeographicSubAddress(@PathVariable("geographicAddressId") String geographicAddressId, @PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields, @Valid @RequestParam(value="relatedParty.id",required=false) @Valid String relatedPartyId) - Specified by:
retrieveGeographicSubAddressin interfaceGeographicAddressApi
-
getUserFacade
-
getTmaAddressFacade
-
getTmaPaginationFacade
-