Class UsersController

java.lang.Object
org.xbricks.heimdall.controllers.UsersController

@Controller public class UsersController extends Object
Created by Juraj Horak
  • Constructor Details

  • Method Details

    • setUserService

      @Autowired public void setUserService(UserService userService)
    • getUsers

      @RequestMapping("/admin/show_users") public String getUsers(org.springframework.ui.Model model)
    • updateUser

      @GetMapping @RequestMapping("/user/{username}/update") public String updateUser(@PathVariable String username, org.springframework.ui.Model model)
    • saveOrUpdate

      @PostMapping @RequestMapping("userview") public String saveOrUpdate(@ModelAttribute UserCommand userCommand)
    • showById

      @GetMapping @RequestMapping("/user/{username}/show") public String showById(@PathVariable String username, org.springframework.ui.Model model)
    • deleteUser

      @GetMapping @RequestMapping("user/{username}/deleteuser") public String deleteUser(@PathVariable String username)
    • newUser

      @GetMapping @RequestMapping("/user/new") public String newUser(org.springframework.ui.Model model)