java.lang.Object
org.apache.struts.action.Action
com.RuntimeCollective.permission.action.AddGroupToPermission
- public final class AddGroupToPermission
- extends org.apache.struts.action.Action
Implementation of Action that adds (or removes) a user group to a UserGroupPermissionRule
- Version:
- $Id: AddGroupToPermission.java,v 1.3 2003/09/30 15:12:49 joe Exp $
| Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADD_ACTION
public static final java.lang.String ADD_ACTION
- The form action for adding groups.
- See Also:
- Constant Field Values
REMOVE_ACTION
public static final java.lang.String REMOVE_ACTION
- The form action for removing groups.
- See Also:
- Constant Field Values
AddGroupToPermission
public AddGroupToPermission()
perform
public org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Add (or remove) a group from a UserGroupPermissionRule. The action, group, and rule depend on the properties of the select2Form passed in
id1 The id of the group to add (or remove)
id2 The id of the rule to add (or remove) the group to
formAction Whether to "add" or "remove" the group
The following forwards are returned: