Class TurNLPEntityTermAPI

Object
TurNLPEntityTermAPI

@RestController @RequestMapping("/api/entity/terms") public class TurNLPEntityTermAPI extends Object
  • Constructor Details

    • TurNLPEntityTermAPI

      @Inject public TurNLPEntityTermAPI(TurTermRepository turTermRepository)
  • Method Details

    • turTermList

      @GetMapping public List<TurTerm> turTermList()
    • turTermGet

      @GetMapping("/{id}") public TurTerm turTermGet(@PathVariable String id)
    • turTermUpdate

      @PutMapping("/{id}") public TurTerm turTermUpdate(@PathVariable String id, @RequestBody TurTerm turTerm)
    • turTermDelete

      @Transactional @DeleteMapping("/{id}") public boolean turTermDelete(@PathVariable String id)
    • turTermAdd

      @PostMapping public TurTerm turTermAdd(@RequestBody TurTerm turTerm)