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

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

public class SearchGroupsAction
extends GrouperCapableAction

Top level Strut's action which searches groups for current browseMode.

Request Parameter Direction Description

start

IN Used by CollectionPager

searchTerm

IN The actual query (some times -if not advanced)

searchFrom

IN identifies stem which scopes search results

groupSearchResultField

IN The group field to display on results page

searchInNameOrExtension=name or extension

IN Identifies which attribute to search

searchInDisplayNameOrExtension=name or extension

IN Identifies which attribute to search

searchIn=name or any

IN Indicates whether to do name or a ny attribute search
Request Attribute Direction Description
pager OUT CollectionPager
queryOutTerms OUT List of (query,field,and / or / not) used to display what was searched for
subjectOfInterest OUT SubjectAsMap - from groupSearchSubjectMap
Session Attribute Direction Description
subtitle=groups.action.search OUT Key resolved in nav ResourceBundle
groupSearchResultField OUT Maintain user selection
searchGroupDefault OUT puts searchIn into session for future default
groupSearchSubjectMap IN Subject from populateSubjectSummary for who we are finding groups to display privileges
Strut's Action Parameter Direction Description
forSubject IN Indicates to group search machinery that results should be filtered i.e. only show groups where session subject has ADMIN and where the groupSearchSubject has at least one privilege

Version:
$Id: SearchGroupsAction.java,v 1.11 2009-04-13 03:18:40 mchyzer Exp $
Author:
Gary Brown.

Field Summary
 
Fields inherited from class edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction
HIER_DELIM
 
Constructor Summary
SearchGroupsAction()
           
 
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

SearchGroupsAction

public SearchGroupsAction()
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