|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction
edu.internet2.middleware.grouper.ui.actions.PrepareRepositoryBrowserStemsAction
public class PrepareRepositoryBrowserStemsAction
Low level Strut's action which controls browsing. Determines what groups / stems to display according to browse mode. This class replaces PrepareStemsAction. It has been refactored to use RepositoryBrowser instances - loaded according to browse mode. This allows sites to add their own browse modes and to change the behaviour of existing modes.
Request Parameter | Direction | Description |
start |
IN | Used by CollectionPager |
pageSize |
IN/OUT | Used by CollectionPager. If not set, get from HttpSession |
currentNode |
IN | Group id or stem id of position to show in hierarchy |
resetBrowse |
IN | Indicates if flat mode should be cancelled |
hideQuickLinks |
IN | Indicates if quick links should be hidden |
flat |
IN | Indicates hierarchy should be hidden |
expandListField |
IN | If looking for new members and group has list fields available, show 'members' from this list field |
Request Attribute | Direction | Description |
repositoryBrowser | OUT | RepositoryBrowser instance responsible for listing node children according to browse mode |
browseParent | OUT | Map for stem of current stem |
initialStems | OUT | List of 'quick links' |
isFlat | OUT | Indicate if we are in flatMode - if so don't show hierarchy |
browsePrivs | OUT | Map of privileges the authenticated user has for current group or stem |
pager | OUT | CollectionPager |
allStemPrivs | OUT | Array of Naming privileges |
currentLocation | OUT | Map wrapping current stem or group |
stemHasChildren=true/false | OUT | If current node is a stem indicates if there are children - if there are children cannot be deleted |
listFields | OUT | List of available list fields for group - to enable user to change view |
listFieldsSize | OUT | Number of list fields available |
Session Attribute | Direction | Description |
subtitle=groups.action.show-summary | OUT | Key resolved in nav ResourceBundle |
group | OUT | Map wrapping current group |
isFlat<browseMode> | OUT | Remove if resetBrowse=Y |
findForNode | IN | Determine if we are browsing to find members / privilegees for a group or stem |
findForPriv | IN | Determine if we are browsing to find new privilegees for a group or stem |
findListField | IN | Determine if we are browsing to find new members for a list field |
Strut's Action Parameter | Direction | Description |
Field Summary |
---|
Fields inherited from class edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction |
---|
HIER_DELIM |
Constructor Summary | |
---|---|
PrepareRepositoryBrowserStemsAction()
|
Method Summary | |
---|---|
ActionForward |
grouperExecute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response,
HttpSession session,
GrouperSession grouperSession)
Action specific - must be implemented by all subclasses |
boolean |
showStemMovesCopies(GrouperSession grouperSession,
Stem stem)
Should we show an option for the user to perform moves or copies? |
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 |
---|
public PrepareRepositoryBrowserStemsAction()
Method Detail |
---|
public ActionForward grouperExecute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, GrouperSession grouperSession) throws Exception
LowLevelGrouperCapableAction
grouperExecute
in class LowLevelGrouperCapableAction
Exception
public boolean showStemMovesCopies(GrouperSession grouperSession, Stem stem)
grouperSession
- stem
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |