Class UserGroupsController
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.UserGroupsController
-
@Controller @RequestMapping("/groups") public class UserGroupsController extends java.lang.Object
Controller for interacting withUserGroup
.
-
-
Constructor Summary
Constructors Constructor Description UserGroupsController(UserGroupService userGroupService)
Create a new groups controller.
-
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.
-
-
-
Constructor Detail
-
UserGroupsController
@Autowired public UserGroupsController(UserGroupService userGroupService)
Create a new groups controller.- Parameters:
userGroupService
- theUserGroupService
.
-
-
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.
-
-