Class UserGroupsController


  • @Controller
    @RequestMapping("/groups")
    public class UserGroupsController
    extends java.lang.Object
    Controller for interacting with UserGroup.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getGroupDetailsPage​(java.lang.Long groupId)
      Get the default index page for listing groups.
      java.lang.String getIndex()
      Get the default index page for listing groups.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserGroupsController

        @Autowired
        public UserGroupsController​(UserGroupService userGroupService)
        Create a new groups controller.
        Parameters:
        userGroupService - the UserGroupService.
    • Method Detail

      • getIndex

        @RequestMapping("")
        public java.lang.String getIndex()
        Get the default index page for listing groups.
        Returns:
        the route to the index page.
      • getGroupDetailsPage

        @RequestMapping("/{groupId}")
        public java.lang.String getGroupDetailsPage​(@PathVariable
                                                    java.lang.Long groupId)
        Get the default index page for listing groups.
        Parameters:
        groupId - the identifier for the user group
        Returns:
        the route to the index page.