edu.internet2.middleware.grouper.ui.actions
Class SaveGroupMemberAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction
          extended by edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction
              extended by edu.internet2.middleware.grouper.ui.actions.SaveGroupMemberAction

public class SaveGroupMemberAction
extends GrouperCapableAction

Top level Strut's action which saves privileges for a subject for a group and / or makes the subject a member of the group.

Request Parameter Direction Description

asMemberOf

IN Identifies group which is focus of action

privileges

IN Array of Access privileges selected by user

privilege

IN Indicates that we were finding in the context of this privilege - so we should return to list of privilegees and not members

callerPageId

IN Identifies page to which we should return

subjectId

IN Identifies the Subject we are making assignments to

contextSubjectId

IN Identifies the subject where we started out

contextSubjectType

IN Identifies the type of the Subject where we started out

contextSourceId

IN Identifies the source of the Subject where we started out

contextSubject

IN Identifies that there is a contextSubject

contextGroup

IN Identifies the group where we started out

listField

IN List field for which member is being saved
Request Attribute Direction Description
message OUT message instance: text derived
from priv.action.assigned key in nav ResourceBundle

groupPrivilegeResolver

OUT Instance of UIGroupPrivilegeResolver
Session Attribute Direction Description
     
Strut's Action Parameter Direction Description
     

Version:
$Id: SaveGroupMemberAction.java,v 1.12 2009-08-12 04:52:14 mchyzer Exp $
Author:
Gary Brown.

Field Summary
 
Fields inherited from class edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction
HIER_DELIM
 
Constructor Summary
SaveGroupMemberAction()
           
 
Method Summary
 ActionForward grouperExecute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, GrouperSession grouperSession)
          Action specific - must be implemented by all subclasses
 
Methods inherited from class edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction
clearCallerPageHistory, execute, getCallerPageData, getPageSize, grouperTransactionExecute, restoreDynaFormBean, saveAsCallerPage, saveAsCallerPage, saveDynaFormBean, setAdvancedSearchMode
 
Methods inherited from class edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction
findAttribute, getAdvancedSearchMode, getBrowseMode, getBrowseNode, getCookie, getCurrentGroupOrStem, getDefaultRootStemName, getExceptionHelper, getLinkBrowseMode, getTilesAttributes, isEmpty, readDebugPrefs, saveDebugPrefs, setBrowseMode, setBrowseNode, sort
 
Methods inherited from class org.apache.struts.action.Action
execute, getServlet, setServlet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveGroupMemberAction

public SaveGroupMemberAction()
Method Detail

grouperExecute

public ActionForward grouperExecute(ActionMapping mapping,
                                    ActionForm form,
                                    HttpServletRequest request,
                                    HttpServletResponse response,
                                    HttpSession session,
                                    GrouperSession grouperSession)
                             throws Exception
Description copied from class: GrouperCapableAction
Action specific - must be implemented by all subclasses

Specified by:
grouperExecute in class GrouperCapableAction
Throws:
Exception