com.beasys.commerce.user.jsp
Class  JspHierarchyBase
com.beasys.commerce.axiom.jsp.JspBase
  |
  +--com.beasys.commerce.axiom.jsp.ToolsJspBase
        |
        +--com.beasys.commerce.user.jsp.JspHierarchyBase
- All Implemented Interfaces: 
 - JspConstants
 
- public abstract class JspHierarchyBase
- extends ToolsJspBase
  
Base class for JSP pages that need to display group hierarchy trees. This
 provides functions to retrieve group information and generate HTML to display
 the tree view of parent-child group relationships, along with the appropriate
 links based on the page context (create, delete, search, ... )
 
 
| Fields inherited from interface com.beasys.commerce.axiom.jsp.JspConstants | 
DATE_FORMAT, DEFAULT_DESTINATION, DEFAULT_SUCCESSOR, DESTINATION_URI, IMMUTABLE_SERVICEMANAGER_HOME_PAGE, JSP_CALENDAR_FEATURES, JSP_COMMERCE_CALENDAR_FEATURES, JSP_PORTALS_BASE_DIRECTORY, JSP_TOOLS_ADMIN_HOME, JSP_TOOLS_BASE_DIRECTORY, JSP_TOOLS_DOC_RTR, JSP_TOOLS_GUIDE_FEATURES, JSP_TOOLS_PROPERTYMGMT_ADMIN_HOME, JSP_TOOLS_USERMGMT_ADMIN_HOME, JSP_TOOLS_UTIL_DIRECTORY, P13N_CACHED_REQUEST, P13N_CACHED_SESSION, REPOSITORY_DIR, SERVICEMANAGER_COOKIE_TIMEOUT, SERVICEMANAGER_CURRENT_PAGE, SERVICEMANAGER_HOME_PAGE, SERVICEMANAGER_LOGGED_IN, SERVICEMANAGER_OVERRIDE_BOOK, SERVICEMANAGER_SESSION_TIMEOUT, SERVICEMANAGER_SUCCESSOR, SERVICEMANAGER_USER, SERVLET_CONFIG, TRAFFIC_URI, TRANSACTION_SERVICE, TRANSACTION_TIMEOUT, USER_TRANS_TIMEOUT, WORKING_DIR, 
 | 
 
 
| 
Method Summary | 
 java.lang.String[] | 
getTopLevelGroupNames()
 
          Method which returns the top level group as an array of strings | 
 java.lang.String | 
printCreateGroupRow(java.lang.String groupName,
                    HierarchyManagementBean hierarchyManagementBean,
                    javax.servlet.http.HttpServletResponse response,
                    javax.servlet.http.HttpServletRequest request)
 
          Print the most basic element in the hierarchy - the group, when in the Create Group page | 
 java.lang.String | 
printEditGroupRow(java.lang.String groupName,
                  HierarchyManagementBean hierarchyManagementBean,
                  javax.servlet.http.HttpServletResponse response,
                  javax.servlet.http.HttpServletRequest request)
 
          Print the most basic element in the hierarchy - the group, when in the Group page | 
 java.lang.String | 
printExpandedGroup(java.lang.String groupName,
                   int position,
                   HierarchyManagementBean hierarchyManagementBean,
                   javax.servlet.http.HttpServletResponse response,
                   javax.servlet.http.HttpServletRequest request)
 
          If a particular group is expanded, print it in a separate table to format
 it correctly. | 
 java.lang.String | 
printSearchGroupRow(java.lang.String groupName,
                    HierarchyManagementBean hierarchyManagementBean,
                    javax.servlet.http.HttpServletResponse response,
                    javax.servlet.http.HttpServletRequest request)
 
          Print the most basic element in the hierarchy - the group, when in the Search Group Page | 
 java.lang.String | 
printSubGroups(java.lang.String groupName,
               int position,
               HierarchyManagementBean hierarchyManagementBean,
               javax.servlet.http.HttpServletResponse response,
               javax.servlet.http.HttpServletRequest request)
 
          Generate the HTML to display a list of subgroups of the given group. | 
protected  java.lang.String[] | 
sort(java.lang.String[] arr)
 
            | 
 
 
| Methods inherited from class com.beasys.commerce.axiom.jsp.JspBase | 
cnvrtSC, createURL, escapeQuotes, getClickThruPage, getCurrentPage, getDefaultDestination, getDefaultSuccessor, getHomePage, getJspURI, getJspURINoContext, getLoggedIn, getRepositoryDirectory, getRequestURI, getServletConfig, getSessionValue, getTrafficURI, getTrafficURINoContext, getWorkingDirectory, pathFromRequest, putSessionValue, removeSessionValue, setAlternateDestination, setLoggedIn, setOverrideDestination, setSessionValue, setSuccessor, 
 | 
 
JspHierarchyBase
public JspHierarchyBase()
printSubGroups
public java.lang.String printSubGroups(java.lang.String groupName,
                                       int position,
                                       HierarchyManagementBean hierarchyManagementBean,
                                       javax.servlet.http.HttpServletResponse response,
                                       javax.servlet.http.HttpServletRequest request)
                                throws java.rmi.RemoteException,
                                       UserManagementException,
                                       ToolkitException,
                                       javax.ejb.CreateException
- Generate the HTML to display a list of subgroups of the given group. This
 method is called recursively as needed, depending on which nodes of the tree
 are expanded.
- Parameters:
 groupName - the current groupposition - which level of indention in the tree this group is inhierarchyManagementBean - the jsp bean containing current state inforesponse - the current HttpServletResponserequest - the current HttpServletRequest- Returns:
 - the generated HTML
 
 
 
printExpandedGroup
public java.lang.String printExpandedGroup(java.lang.String groupName,
                                           int position,
                                           HierarchyManagementBean hierarchyManagementBean,
                                           javax.servlet.http.HttpServletResponse response,
                                           javax.servlet.http.HttpServletRequest request)
                                    throws java.rmi.RemoteException,
                                           UserManagementException,
                                           ToolkitException,
                                           javax.ejb.CreateException
- If a particular group is expanded, print it in a separate table to format
 it correctly.
- Parameters:
 groupName - the group to displayposition - the number of levels of indentionhierarchyManagementBean - the jsp bean containing current state inforesponse - the current HttpServletResponserequest - the current HttpServletRequest- Returns:
 - the generated HTML
 
 
 
printCreateGroupRow
public java.lang.String printCreateGroupRow(java.lang.String groupName,
                                            HierarchyManagementBean hierarchyManagementBean,
                                            javax.servlet.http.HttpServletResponse response,
                                            javax.servlet.http.HttpServletRequest request)
- Print the most basic element in the hierarchy - the group, when in the Create Group page
- Parameters:
 groupName - StringhierarchyManagementBean - the jsp bean containing current state inforesponse - the current HttpServletResponserequest - the current HttpServletRequest- Returns:
 - the generated HTML
 
 
 
printEditGroupRow
public java.lang.String printEditGroupRow(java.lang.String groupName,
                                          HierarchyManagementBean hierarchyManagementBean,
                                          javax.servlet.http.HttpServletResponse response,
                                          javax.servlet.http.HttpServletRequest request)
                                   throws UserManagementException,
                                          ToolkitException,
                                          javax.ejb.CreateException,
                                          java.rmi.RemoteException
- Print the most basic element in the hierarchy - the group, when in the Group page
- Parameters:
 groupName - StringhierarchyManagementBean - the jsp bean containing current state inforesponse - the current HttpServletResponserequest - the current HttpServletRequest- Returns:
 - the generated HTML
 
 
 
printSearchGroupRow
public java.lang.String printSearchGroupRow(java.lang.String groupName,
                                            HierarchyManagementBean hierarchyManagementBean,
                                            javax.servlet.http.HttpServletResponse response,
                                            javax.servlet.http.HttpServletRequest request)
                                     throws UserManagementException,
                                            ToolkitException,
                                            javax.ejb.CreateException,
                                            java.rmi.RemoteException
- Print the most basic element in the hierarchy - the group, when in the Search Group Page
- Parameters:
 groupName - StringhierarchyManagementBean - the jsp bean containing current state inforesponse - the current HttpServletResponserequest - the current HttpServletRequest- Returns:
 - the generated HTML
 
 
 
getTopLevelGroupNames
public java.lang.String[] getTopLevelGroupNames()
                                         throws java.rmi.RemoteException,
                                                UserManagementException,
                                                ToolkitException,
                                                javax.ejb.CreateException
- Method which returns the top level group as an array of strings
 
sort
protected java.lang.String[] sort(java.lang.String[] arr)
Copyright © 2001 BEA Systems, Inc. All Rights Reserved