org.jasig.portlet.announcements.controller
Class AdminRoleSetController
java.lang.Object
org.jasig.portlet.announcements.controller.AdminRoleSetController
@Controller
@RequestMapping(value="VIEW")
public class AdminRoleSetController
- extends Object
- Author:
- eolsson
|
Method Summary |
void |
processAddUser(javax.portlet.ActionResponse response,
Long topicId,
String groupKey,
String userAdd)
Handler for adding individual users to a topic's permission set |
void |
processDeleteUser(javax.portlet.ActionResponse response,
Long topicId,
String groupKey,
String userKey)
|
void |
processSubmit(RoleSelection rolesSelected,
org.springframework.validation.BindingResult errors,
Long topicId,
String groupKey,
javax.portlet.ActionResponse response)
|
void |
setAnnouncementService(IAnnouncementService announcementService)
|
void |
setGroupService(IGroupService groupService)
|
String |
showForm(Long topicId,
String groupKey,
org.springframework.ui.Model model)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminRoleSetController
public AdminRoleSetController()
processSubmit
@RequestMapping(params="action=addMembers")
public void processSubmit(@ModelAttribute(value="selection")
RoleSelection rolesSelected,
org.springframework.validation.BindingResult errors,
@RequestParam(value="topicId")
Long topicId,
@RequestParam(value="groupKey")
String groupKey,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
showForm
@RequestMapping(params="action=addMembers")
public String showForm(@RequestParam(value="topicId")
Long topicId,
@RequestParam(value="groupKey")
String groupKey,
org.springframework.ui.Model model)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
processAddUser
@RequestMapping(params="action=addUser")
public void processAddUser(javax.portlet.ActionResponse response,
@RequestParam(value="topicId")
Long topicId,
@RequestParam(value="groupKey")
String groupKey,
@RequestParam(value="userAdd")
String userAdd)
throws javax.portlet.PortletException
- Handler for adding individual users to a topic's permission set
- Parameters:
response - topicId - groupKey - userAdd -
- Throws:
javax.portlet.PortletException
processDeleteUser
@RequestMapping(params="action=deleteUser")
public void processDeleteUser(javax.portlet.ActionResponse response,
@RequestParam(value="topicId")
Long topicId,
@RequestParam(value="groupKey")
String groupKey,
@RequestParam(value="userKey")
String userKey)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
setAnnouncementService
public void setAnnouncementService(IAnnouncementService announcementService)
- Parameters:
announcementService - the announcementService to set
setGroupService
public void setGroupService(IGroupService groupService)
- Parameters:
groupService - the groupService to set
Copyright © 2012 Jasig, Inc.. All Rights Reserved.