@RestController
@RequestMapping("/rest/private/todo/")
@PreAuthorize("@WebjetSecurityService.isLogged()")
public class ToDoController
extends Object
ToDoController.java
Class ToDoController is used for
Title webjet8
Company Interway a.s. (www.interway.sk)
Copyright Interway a.s. (c) 2001-2018
-
Constructor Summary
Constructors
-
Method Summary
delete(String id,
javax.servlet.http.HttpServletRequest request)
list(javax.servlet.http.HttpServletRequest request)
resolve(String id,
javax.servlet.http.HttpServletRequest request)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ToDoController
public ToDoController()
-
Method Details
-
list
@GetMapping(path="list",
produces="application/json")
public org.springframework.http.ResponseEntity<List<ToDoBean>> list(javax.servlet.http.HttpServletRequest request)
-
resolve
@GetMapping(path="resolve/{id}",
produces="application/json")
public org.springframework.http.ResponseEntity<List<ToDoBean>> resolve(@PathVariable
String id,
javax.servlet.http.HttpServletRequest request)
-
delete
@GetMapping(path="delete/{id}",
produces="application/json")
public org.springframework.http.ResponseEntity<List<ToDoBean>> delete(@PathVariable
String id,
javax.servlet.http.HttpServletRequest request)