org.glite.security.voms.webui.request
Class AdminRoot

java.lang.Object
  extended byorg.glite.security.voms.webui.Page
      extended byorg.glite.security.voms.webui.VOMSPage
          extended byorg.glite.security.voms.webui.request.Page
              extended byorg.glite.security.voms.webui.request.AdminRoot

public class AdminRoot
extends Page


Nested Class Summary
static class AdminRoot.Apply
           
static class AdminRoot.Delete
           
static class AdminRoot.DeleteDo
           
static class AdminRoot.Details
           
static class AdminRoot.ListAll
           
static class AdminRoot.ListIncomplete
           
static class AdminRoot.ListPending
           
 
Field Summary
 
Fields inherited from class org.glite.security.voms.webui.request.Page
vreq
 
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
AdminRoot()
           
 
Method Summary
 void doAction(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w)
           
protected static void printDecision(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w, java.lang.String reqid, boolean printDeny)
           
static void printShortRequestSelection(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w, ShortRequest[] sreqs, java.lang.String action)
          Utility method to print short requests in an option list.
 
Methods inherited from class org.glite.security.voms.webui.request.Page
printDetailedRequest, printShortRequest, theRequest
 
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
 

Constructor Detail

AdminRoot

public AdminRoot()
Method Detail

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

printShortRequestSelection

public static void printShortRequestSelection(javax.servlet.http.HttpServletRequest req,
                                              java.io.PrintWriter w,
                                              ShortRequest[] sreqs,
                                              java.lang.String action)
Utility method to print short requests in an option list. The goal is to select many and do something with all of them. The additional actions denote optional entries in a form.

Parameters:
req - the request context
w - the request's output
sreqs - the short requests as it comes from the SOAP call
action - Optional actions, which will be printed in the 'Requester' and 'Description' fields. Odd index is the URL, even is the printed message.

printDecision

protected static void printDecision(javax.servlet.http.HttpServletRequest req,
                                    java.io.PrintWriter w,
                                    java.lang.String reqid,
                                    boolean printDeny)