public class ProtocolPermissionsActionHelper extends PermissionsActionHelperBase
| Constructor and Description |
|---|
ProtocolPermissionsActionHelper(ProtocolActionBase parentAction)
Constructs a ProtocolPermissionsActionHelper.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addUserToRoleInDatabase(org.kuali.rice.krad.document.Document document,
String userId,
String roleName)
Assign a user to the given role for a specific document.
|
org.apache.struts.action.ActionForward |
editRoles(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Edit the roles for a user.
|
protected void |
removeUserFromRoleInDatabase(org.kuali.rice.krad.document.Document document,
String userId,
String roleName)
Remove a user from a role for a specific document.
|
addUser, applyRules, confirmDeletePermissionsUser, deleteUser, getRoleRights, save, setEditRolespublic ProtocolPermissionsActionHelper(ProtocolActionBase parentAction)
parentAction - the parent Action instance that will delegate to this helperprotected void addUserToRoleInDatabase(org.kuali.rice.krad.document.Document document,
String userId,
String roleName)
PermissionsActionHelperBaseaddUserToRoleInDatabase in class PermissionsActionHelperBasedocument - the documentroleName - the unique name of the roleorg.kuali.kra.common.permissions.web.struts.action.PermissionsActionHelperBase#addUserToRoleInDatabase(org.kuali.core.document.Document, java.lang.String, java.lang.String)protected void removeUserFromRoleInDatabase(org.kuali.rice.krad.document.Document document,
String userId,
String roleName)
PermissionsActionHelperBaseremoveUserFromRoleInDatabase in class PermissionsActionHelperBasedocument - the documentroleName - the unique name of the roleorg.kuali.kra.common.permissions.web.struts.action.PermissionsActionHelperBase#removeRoleFromUserInDatabase(org.kuali.core.document.Document, java.lang.String, java.lang.String)public org.apache.struts.action.ActionForward editRoles(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
editRoles in class PermissionsActionHelperBasemapping - form - request - response - ExceptionCopyright © 2013 The Kuali Foundation. All Rights Reserved.