Class AccountUsersController

    • Constructor Detail

      • AccountUsersController

        public AccountUsersController()
    • Method Detail

      • invitationForm

        @ModelAttribute("invitationForm")
        public InvitationForm invitationForm()
      • usernameForm

        @ModelAttribute("usernameForm")
        public UsernameForm usernameForm()
      • accountUserEditForm

        @ModelAttribute("accountUsersEditForm")
        public AccountUserEditForm accountUserEditForm()
      • addUser

        @Transactional
        @RequestMapping(value="/byid/{accountId}/users/adduser",
                        method=POST)
        public org.springframework.web.servlet.ModelAndView addUser​(@PathVariable
                                                                    Long accountId,
                                                                    @ModelAttribute("usernameForm")
                                                                    UsernameForm usernameForm,
                                                                    org.springframework.validation.BindingResult result,
                                                                    org.springframework.ui.Model model,
                                                                    org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
                                                             throws Exception
        Throws:
        Exception
      • sendInvitations

        @Transactional
        @RequestMapping(value="/byid/{accountId}/users",
                        method=POST)
        public org.springframework.web.servlet.ModelAndView sendInvitations​(@PathVariable
                                                                            Long accountId,
                                                                            @ModelAttribute("invitationForm")
                                                                            InvitationForm invitationForm,
                                                                            org.springframework.validation.BindingResult result,
                                                                            org.springframework.ui.Model model,
                                                                            org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
                                                                     throws Exception
        Throws:
        Exception
      • deleteUserInvitation

        @Transactional
        @RequestMapping(value="/byid/{accountId}/users/invitations/byid/{invitationId}/delete",
                        method=POST)
        public org.springframework.web.servlet.ModelAndView deleteUserInvitation​(@PathVariable
                                                                                 Long accountId,
                                                                                 @PathVariable
                                                                                 Long invitationId,
                                                                                 org.springframework.ui.Model model)
                                                                          throws Exception
        Throws:
        Exception
      • deleteUserFromAccount

        @Transactional
        @RequestMapping(value="/byid/{accountId}/users/byid/{userId}/delete",
                        method=POST)
        public org.springframework.web.servlet.ModelAndView deleteUserFromAccount​(@PathVariable
                                                                                  Long accountId,
                                                                                  @PathVariable
                                                                                  Long userId,
                                                                                  org.springframework.ui.Model model)
                                                                           throws Exception
        Throws:
        Exception
      • getEditUserForm

        @RequestMapping(value="/byid/{accountId}/users/byid/{userId}/edit",
                        method=GET)
        public String getEditUserForm​(@PathVariable
                                      Long accountId,
                                      @PathVariable
                                      Long userId,
                                      org.springframework.ui.Model model)
                               throws Exception
        Throws:
        Exception
      • editUser

        @Transactional
        @RequestMapping(value="/byid/{accountId}/users/byid/{userId}/edit",
                        method=POST)
        public org.springframework.web.servlet.ModelAndView editUser​(@PathVariable
                                                                     Long accountId,
                                                                     @PathVariable
                                                                     Long userId,
                                                                     @ModelAttribute("accountUsersEditForm")
                                                                     AccountUserEditForm accountUserEditForm,
                                                                     org.springframework.validation.BindingResult result,
                                                                     org.springframework.ui.Model model,
                                                                     org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
                                                              throws Exception
        Throws:
        Exception