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

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.PrepareGroupSearchFormAction

public class PrepareGroupSearchFormAction
extends LowLevelGrouperCapableAction

Low level Strut's action which acts as a controller to do any necessary setup group or stem search forms.

Request Parameter Direction Description

searchInDisplayNameOrExtension=true or false

OUT Derived from media ResourceBundle and set on DynaActionForm

searchInNameOrExtension

OUT Derived from media ResourceBundle and set on DynaActionForm

searchIn

OUT Derived from media ResourceBundle and set on DynaActionForm - unless in session as searchGroupDefault
Request Attribute Direction Description
browseParent OUT Checks if browsePath iis present - if not derives it from current browseNode and SETs it
stemFields OUT List of fields that stems have. Note, Grouper does not model Stem fields so Maps are used to emulate Group fields
currentLocation OUT Checks if browsePath iis present - if not derives it from current browseNode and SETs it
fields OUT List of fields (attributes) which can be searched
Session Attribute Direction Description
mediaMap IN To obtain search defaults from media ResourceBundle
searchGroupDefault IN = 'any' or 'name' (if anything). Stored in session if selected in a previous search
Strut's Action Parameter Direction Description
     

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

Field Summary
 
Fields inherited from class edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction
HIER_DELIM
 
Constructor Summary
PrepareGroupSearchFormAction()
           
 
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.LowLevelGrouperCapableAction
execute, findAttribute, getAdvancedSearchMode, getBrowseMode, getBrowseNode, getCookie, getCurrentGroupOrStem, getDefaultRootStemName, getExceptionHelper, getLinkBrowseMode, getPageSize, 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

PrepareGroupSearchFormAction

public PrepareGroupSearchFormAction()
Method Detail

grouperExecute

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

Specified by:
grouperExecute in class LowLevelGrouperCapableAction
Throws:
Exception