Class TmaGeographicAddressApiController

    • Constructor Detail

      • TmaGeographicAddressApiController

        public TmaGeographicAddressApiController()
    • 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:
        geographicAddressFind in interface GeographicAddressApi
      • 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:
        createGeographicAddress in interface GeographicAddressApi
      • initBinder

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