Class TmaGeographicAddressApiController
- java.lang.Object
-
- de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
-
- de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaGeographicAddressApiController
-
- All Implemented Interfaces:
GeographicAddressApi
@Controller public class TmaGeographicAddressApiController extends TmaBaseController implements GeographicAddressApi
Default implementation ofGeographicAddressApi- Since:
- 1907
-
-
Constructor Summary
Constructors Constructor Description TmaGeographicAddressApiController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<GeographicAddress>createGeographicAddress(@Valid GeographicAddress geographicAddress, @NotNull @Valid java.lang.String relatedPartyId)org.springframework.http.ResponseEntity<java.util.List<GeographicAddress>>geographicAddressFind(@Valid java.lang.String fields, @Valid java.lang.String baseSiteId, @Valid java.lang.String relatedPartyId, @Valid java.lang.String offset, @Valid java.lang.String limit)voidinitBinder(org.springframework.web.bind.WebDataBinder binder)-
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
-
-
-
-
Method Detail
-
geographicAddressFind
@RequestMapping(value="/geographicAddress", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<java.util.List<GeographicAddress>> geographicAddressFind(@Valid @RequestParam(value="fields",required=false) @Valid java.lang.String fields, @Valid @RequestParam(value="baseSiteId",required=false) @Valid java.lang.String baseSiteId, @Valid @RequestParam(value="relatedParty.id",required=false) @Valid java.lang.String relatedPartyId, @Valid @RequestParam(value="offset",required=false) @Valid java.lang.String offset, @Valid @RequestParam(value="limit",required=false) @Valid java.lang.String limit)- Specified by:
geographicAddressFindin interfaceGeographicAddressApi
-
createGeographicAddress
@RequestMapping(value="/geographicAddress", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<GeographicAddress> createGeographicAddress(@Valid @RequestBody @Valid GeographicAddress geographicAddress, @NotNull @Valid @RequestParam("relatedParty.id") @NotNull @Valid java.lang.String relatedPartyId)- Specified by:
createGeographicAddressin interfaceGeographicAddressApi
-
initBinder
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
-
-