Class AccountGroupsController


  • @Controller
    @Lazy
    public class AccountGroupsController
    extends AbstractAccountController
    Author:
    Daniel Bernstein Date: Nov 9, 2011
    • Constructor Detail

      • AccountGroupsController

        public AccountGroupsController()
    • Method Detail

      • getGroups

        @RequestMapping(value="/byid/{accountId}/groups",
                        method=GET)
        public String getGroups​(@PathVariable
                                Long accountId,
                                org.springframework.ui.Model model)
                         throws Exception
        Throws:
        Exception
      • modifyGroups

        @RequestMapping(value="/byid/{accountId}/groups",
                        method=POST)
        @Transactional
        public String modifyGroups​(@PathVariable
                                   Long accountId,
                                   org.springframework.ui.Model model,
                                   @ModelAttribute("groupsForm")
                                   GroupsForm form,
                                   org.springframework.validation.BindingResult result)
                            throws Exception
        Throws:
        Exception
      • getGroup

        @RequestMapping(value="/byid/{accountId}/groups/{groupName:[a-z0-9._\\-@]+}",
                        method=GET)
        public String getGroup​(@PathVariable
                               Long accountId,
                               @PathVariable
                               String groupName,
                               org.springframework.ui.Model model)
                        throws Exception
        Throws:
        Exception
      • editGroup

        @RequestMapping(value="/byid/{accountId}/groups/{groupName:[a-z0-9._\\-@]+}/edit",
                        method=GET)
        public String editGroup​(@PathVariable
                                Long accountId,
                                @PathVariable
                                String groupName,
                                javax.servlet.http.HttpServletRequest request,
                                org.springframework.ui.Model model)
                         throws Exception
        Throws:
        Exception
      • editGroup

        @RequestMapping(value="/byid/{accountId}/groups/{groupName:[a-z0-9._\\-@]+}/edit",
                        method=POST)
        @Transactional
        public String editGroup​(@PathVariable
                                Long accountId,
                                @PathVariable
                                String groupName,
                                @ModelAttribute("groupForm")
                                GroupForm form,
                                javax.servlet.http.HttpServletRequest request,
                                org.springframework.ui.Model model)
                         throws Exception
        Throws:
        Exception
      • setDuracloudGroupService

        public void setDuracloudGroupService​(DuracloudGroupService groupService)