Package org.xbricks.heimdall.controllers
Class UsersController
java.lang.Object
org.xbricks.heimdall.controllers.UsersController
Created by Juraj Horak
-
Constructor Summary
ConstructorDescriptionUsersController
(XBConfigurationService configurationService, UserRepository usersRepository) -
Method Summary
Modifier and TypeMethodDescriptiondeleteUser
(String username) getUsers
(org.springframework.ui.Model model) newUser
(org.springframework.ui.Model model) saveOrUpdate
(UserCommand userCommand) void
setUserService
(UserService userService) updateUser
(String username, org.springframework.ui.Model model)
-
Constructor Details
-
UsersController
-
-
Method Details
-
setUserService
-
getUsers
-
updateUser
-
saveOrUpdate
@PostMapping @RequestMapping("userview") public String saveOrUpdate(@ModelAttribute UserCommand userCommand) -
showById
-
deleteUser
-
newUser
-