Class TurMLDataAPI

Object
TurMLDataAPI

@RestController @RequestMapping("/api/ml/data") public class TurMLDataAPI extends Object
  • Constructor Details

  • Method Details

    • turDataList

      @GetMapping public List<TurData> turDataList() throws JSONException
      Throws:
      JSONException
    • turDataGet

      @GetMapping("/{id}") public TurData turDataGet(@PathVariable int id) throws JSONException
      Throws:
      JSONException
    • turDataUpdate

      @PutMapping("/{id}") public TurData turDataUpdate(@PathVariable int id, @RequestBody TurData turData)
    • turDataDelete

      @Transactional @DeleteMapping("/{id}") public boolean turDataDelete(@PathVariable int id)
    • turDataAdd

      @PostMapping public TurData turDataAdd(@RequestBody TurData turData)
    • turDataImport

      @PostMapping("/import") @Transactional public String turDataImport(@RequestParam("file") MultipartFile multipartFile)