Class UsersController


@Controller @RequestMapping("/root/users") public class UsersController extends AbstractRootController
Author:
Daniel Bernstein Date: Feb 17, 2012
  • Field Details

  • Constructor Details

    • UsersController

      public UsersController()
  • Method Details

    • get

      @RequestMapping("") public org.springframework.web.servlet.ModelAndView get()
    • resetUsersPassword

      @Transactional @RequestMapping(value="/byid/{id}/reset", method=POST) public org.springframework.web.servlet.ModelAndView resetUsersPassword(@PathVariable Long id, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws Exception
      Throws:
      Exception
    • deleteUser

      @Transactional @RequestMapping(value="/byid/{id}/delete", method=POST) public org.springframework.web.servlet.ModelAndView deleteUser(@PathVariable Long id, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws Exception
      Throws:
      Exception
    • revokeUserRightsFromAccount

      @Transactional @RequestMapping(value="/byid/{id}/revoke", method=POST) public org.springframework.web.servlet.ModelAndView revokeUserRightsFromAccount(@PathVariable("id") Long userId, @RequestParam(required=true) Long accountId, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws Exception
      Throws:
      Exception
    • changeUserRole

      @Transactional @RequestMapping(value="/byid/{id}/changerole", method=POST) public org.springframework.web.servlet.ModelAndView changeUserRole(@PathVariable("id") Long userId, @ModelAttribute AccountUserEditForm accountUserEditForm, org.springframework.validation.BindingResult result, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws Exception
      Throws:
      Exception
    • createList

      @RequestMapping(value="create-list", method=GET) public String createList(javax.servlet.http.HttpServletResponse response) throws Exception
      Throws:
      Exception
    • getUserService

      protected DuracloudUserService getUserService()
    • setUserService

      public void setUserService(DuracloudUserService userService)