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
      • getGeographicAddressById

        @RequestMapping(value="/geographicAddress/{id}",
                        produces="application/json;charset=utf-8",
                        method=GET)
        public org.springframework.http.ResponseEntity<GeographicAddress> getGeographicAddressById​(@PathVariable("id")
                                                                                                   java.lang.String id,
                                                                                                   @Valid @RequestParam(value="fields",required=false)
                                                                                                   @Valid java.lang.String fields,
                                                                                                   @Valid @RequestParam(value="relatedParty.id",required=false)
                                                                                                   @Valid java.lang.String relatedPartyId)
        Specified by:
        getGeographicAddressById in interface GeographicAddressApi
      • deleteGeographicAddress

        @RequestMapping(value="/geographicAddress/{id}",
                        produces="application/json;charset=utf-8",
                        method=DELETE)
        public org.springframework.http.ResponseEntity<java.lang.Void> deleteGeographicAddress​(@PathVariable("id")
                                                                                               java.lang.String addressId,
                                                                                               @NotNull @Valid @RequestParam(value="relatedParty.id",required=true)
                                                                                               @NotNull @Valid java.lang.String relatedPartyId)
        Specified by:
        deleteGeographicAddress in interface GeographicAddressApi
      • updateGeographicAddressById

        @RequestMapping(value="/geographicAddress/{id}",
                        produces="application/json;charset=utf-8",
                        consumes="application/json;charset=utf-8",
                        method=PATCH)
        public org.springframework.http.ResponseEntity<GeographicAddress> updateGeographicAddressById​(@PathVariable("id")
                                                                                                      java.lang.String id,
                                                                                                      @Valid @RequestBody
                                                                                                      @Valid GeographicAddress geographicAddress,
                                                                                                      @NotNull @Valid @RequestParam(value="relatedParty.id",required=true)
                                                                                                      @NotNull @Valid java.lang.String relatedPartyId)
        Specified by:
        updateGeographicAddressById in interface GeographicAddressApi
      • initBinder

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