Class RequestAttributeValueResource


  • @RestController
    @RequestMapping("/api")
    public class RequestAttributeValueResource
    extends Object
    REST controller for managing RequestAttributeValue.
    • Constructor Detail

    • Method Detail

      • createRequestAttributeValue

        @PostMapping("/request-attribute-values")
        public org.springframework.http.ResponseEntity<RequestAttributeValue> createRequestAttributeValue​(@Valid @RequestBody
                                                                                                          @Valid RequestAttributeValue requestAttributeValue)
                                                                                                   throws URISyntaxException
        POST /request-attribute-values : Create a new requestAttributeValue.
        Parameters:
        requestAttributeValue - the requestAttributeValue to create.
        Returns:
        the ResponseEntity with status 201 (Created) and with body the new requestAttributeValue, or with status 400 (Bad Request) if the requestAttributeValue has already an ID.
        Throws:
        URISyntaxException - if the Location URI syntax is incorrect.
      • updateRequestAttributeValue

        @PutMapping("/request-attribute-values")
        public org.springframework.http.ResponseEntity<RequestAttributeValue> updateRequestAttributeValue​(@Valid @RequestBody
                                                                                                          @Valid RequestAttributeValue requestAttributeValue)
                                                                                                   throws URISyntaxException
        PUT /request-attribute-values : Updates an existing requestAttributeValue.
        Parameters:
        requestAttributeValue - the requestAttributeValue to update.
        Returns:
        the ResponseEntity with status 200 (OK) and with body the updated requestAttributeValue, or with status 400 (Bad Request) if the requestAttributeValue is not valid, or with status 500 (Internal Server Error) if the requestAttributeValue couldn't be updated.
        Throws:
        URISyntaxException - if the Location URI syntax is incorrect.
      • getAllRequestAttributeValues

        @GetMapping("/request-attribute-values")
        public List<RequestAttributeValue> getAllRequestAttributeValues()
        GET /request-attribute-values : get all the requestAttributeValues.
        Returns:
        the ResponseEntity with status 200 (OK) and the list of requestAttributeValues in body.
      • getRequestAttributeValue

        @GetMapping("/request-attribute-values/{id}")
        public org.springframework.http.ResponseEntity<RequestAttributeValue> getRequestAttributeValue​(@PathVariable
                                                                                                       Long id)
        GET /request-attribute-values/:id : get the "id" requestAttributeValue.
        Parameters:
        id - the id of the requestAttributeValue to retrieve.
        Returns:
        the ResponseEntity with status 200 (OK) and with body the requestAttributeValue, or with status 404 (Not Found).
      • deleteRequestAttributeValue

        @DeleteMapping("/request-attribute-values/{id}")
        public org.springframework.http.ResponseEntity<Void> deleteRequestAttributeValue​(@PathVariable
                                                                                         Long id)
        DELETE /request-attribute-values/:id : delete the "id" requestAttributeValue.
        Parameters:
        id - the id of the requestAttributeValue to delete.
        Returns:
        the ResponseEntity with status 204 (NO_CONTENT).