org.glite.security.voms.webui.admin
Class GroupActions

java.lang.Object
  extended byorg.glite.security.voms.webui.Page
      extended byorg.glite.security.voms.webui.VOMSPage
          extended byorg.glite.security.voms.webui.admin.Page
              extended byorg.glite.security.voms.webui.admin.GroupActions

public class GroupActions
extends Page


Nested Class Summary
static class GroupActions.Create
           
static class GroupActions.CreateDo
           
static class GroupActions.Delete
           
static class GroupActions.DeleteDo
           
static class GroupActions.EditACL
           
static class GroupActions.EditDefaultACL
           
static class GroupActions.List
           
static class GroupActions.ListACL
           
static class GroupActions.Search
           
 
Field Summary
static int GROUP_LIST_LIMIT
          Maximal number of groups to be listed.
 
Fields inherited from class org.glite.security.voms.webui.admin.Page
admin
 
Fields inherited from class org.glite.security.voms.webui.VOMSPage
cns, log
 
Fields inherited from class org.glite.security.voms.webui.Page
children, contentType, DEFAULT_CONTENT_TYPE, pages, parent, path, title, visible, visibleChild
 
Constructor Summary
GroupActions()
           
 
Method Summary
 void doAction(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w)
           
static void printGroupList(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w)
           
protected static void printParentGroup(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w, java.lang.String groupname, java.lang.String hfill, int span, java.util.HashMap id)
           
static void printSearchForm(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w)
           
protected static int printSimpleGroupList(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w, java.lang.String[] gpath, java.lang.String[][] groupss, java.lang.String groupname_pattern, java.lang.String[] roles, java.lang.String rolename_pattern, int depth, java.lang.String hfill, java.util.HashMap id)
           
protected static void printSubGroup(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w, java.lang.String groupname, java.lang.String hfill, int span, java.util.HashMap id)
           
static boolean unknownGroup(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w)
           
 
Methods inherited from class org.glite.security.voms.webui.admin.Page
theAdmin
 
Methods inherited from class org.glite.security.voms.webui.VOMSPage
printMainTab, printRootTab
 
Methods inherited from class org.glite.security.voms.webui.Page
addChild, button, button, endForm, endForm, getPage, getTitle, getWebuiURL, hiddenField, hiddenField, init, options, printHeaderTab, printLink, printLink, printLoginInfoTab, printMenuTab, printPagePart, radio, radio, startForm, startForm, textField, textField, textField, textField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP_LIST_LIMIT

public static int GROUP_LIST_LIMIT
Maximal number of groups to be listed. If the number of groups is above this limit, then a search box is printed.

Constructor Detail

GroupActions

public GroupActions()
Method Detail

printGroupList

public static void printGroupList(javax.servlet.http.HttpServletRequest req,
                                  java.io.PrintWriter w)
                           throws java.rmi.RemoteException,
                                  VOMSException
Throws:
java.rmi.RemoteException
VOMSException

printSimpleGroupList

protected static int printSimpleGroupList(javax.servlet.http.HttpServletRequest req,
                                          java.io.PrintWriter w,
                                          java.lang.String[] gpath,
                                          java.lang.String[][] groupss,
                                          java.lang.String groupname_pattern,
                                          java.lang.String[] roles,
                                          java.lang.String rolename_pattern,
                                          int depth,
                                          java.lang.String hfill,
                                          java.util.HashMap id)

printParentGroup

protected static void printParentGroup(javax.servlet.http.HttpServletRequest req,
                                       java.io.PrintWriter w,
                                       java.lang.String groupname,
                                       java.lang.String hfill,
                                       int span,
                                       java.util.HashMap id)

printSubGroup

protected static void printSubGroup(javax.servlet.http.HttpServletRequest req,
                                    java.io.PrintWriter w,
                                    java.lang.String groupname,
                                    java.lang.String hfill,
                                    int span,
                                    java.util.HashMap id)

printSearchForm

public static void printSearchForm(javax.servlet.http.HttpServletRequest req,
                                   java.io.PrintWriter w)

unknownGroup

public static boolean unknownGroup(javax.servlet.http.HttpServletRequest req,
                                   java.io.PrintWriter w)
                            throws java.rmi.RemoteException,
                                   VOMSException
Throws:
java.rmi.RemoteException
VOMSException

doAction

public void doAction(javax.servlet.http.HttpServletRequest req,
                     java.io.PrintWriter w)
              throws java.rmi.RemoteException,
                     VOMSException
Overrides:
doAction in class Page
Throws:
java.rmi.RemoteException
VOMSException