|
|||||||||
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.PrepareStemsAction
public class PrepareStemsAction
Low level Strut's action which controls browsing. Determines what groups / stems to display according to browse mode. Much code here should be factored out so that new modes can be easily added.
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 |
Request Attribute | Direction | Description |
browsePath | OUT | List of stem ancestors as Maps
for current stem - not including immediate parent |
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 |
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 |
Strut's Action Parameter | Direction | Description |
Field Summary |
---|
Fields inherited from class edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction |
---|
HIER_DELIM |
Constructor Summary | |
---|---|
PrepareStemsAction()
|
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 |
---|
public PrepareStemsAction()
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |