Class ValueMappingController

java.lang.Object
de.uniba.minf.core.rest.controller.BaseRestController
de.uniba.minf.registry.controller.ValueMappingController

@RestController @RequestMapping("/api/v1/vm") public class ValueMappingController extends de.uniba.minf.core.rest.controller.BaseRestController
  • Field Summary

    Fields inherited from class de.uniba.minf.core.rest.controller.BaseRestController

    authInfoHelper, jsonMapper, linksHelper, messageSource
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    de.uniba.minf.core.rest.model.RestItemResponse
    deleteValueMapping(String entityId, com.fasterxml.jackson.databind.JsonNode formData, jakarta.servlet.http.HttpServletRequest request, Locale locale)
     
    de.uniba.minf.core.rest.model.RestItemsResponse
    getValueMappings(String entityId, jakarta.servlet.http.HttpServletRequest request, Locale locale)
     
    de.uniba.minf.core.rest.model.RestItemResponse
    postValueMapping(String entityId, com.fasterxml.jackson.databind.JsonNode formData, jakarta.servlet.http.HttpServletRequest request, Locale locale)
     

    Methods inherited from class de.uniba.minf.core.rest.controller.BaseRestController

    getActualLimit, getBaseUrl, getControllerBaseUrl, getControllerBaseUrlWithSuffix, getItem, getItemLinks, getItemLinks, getItemResponse, getItems, getLinks, getLinks, handleBindException, handleException, handleRuntimeException

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ValueMappingController

      public ValueMappingController()
  • Method Details

    • getValueMappings

      @GetMapping("/{entityId}") public de.uniba.minf.core.rest.model.RestItemsResponse getValueMappings(@PathVariable("entityId") String entityId, jakarta.servlet.http.HttpServletRequest request, Locale locale)
    • postValueMapping

      @PostMapping(value="/{entityId}", consumes="application/json") public de.uniba.minf.core.rest.model.RestItemResponse postValueMapping(@PathVariable("entityId") String entityId, @RequestBody com.fasterxml.jackson.databind.JsonNode formData, jakarta.servlet.http.HttpServletRequest request, Locale locale)
    • deleteValueMapping

      @DeleteMapping(value="/{entityId}", consumes="application/json") public de.uniba.minf.core.rest.model.RestItemResponse deleteValueMapping(@PathVariable("entityId") String entityId, @RequestBody com.fasterxml.jackson.databind.JsonNode formData, jakarta.servlet.http.HttpServletRequest request, Locale locale)