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

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.UserRoot

public class UserRoot
extends Page


Nested Class Summary
static class UserRoot.Confirm
           
static class UserRoot.Create
           
static class UserRoot.CreateDo
           
static class UserRoot.CreateRefuse
           
static class UserRoot.Delete
           
static class UserRoot.DeleteDo
           
static class UserRoot.Details
           
static class UserRoot.List
           
protected  class UserRoot.ShortRequestComparator
           
 
Field Summary
protected static UserRoot.Create createPage
           
protected static UserRoot.ShortRequestComparator src
           
 
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
UserRoot()
           
 
Method Summary
 void doAction(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w)
           
static void printShortRequestList(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w, ShortRequest[] sreqs, java.util.Map parameters, java.lang.String action)
          Utility method to print short requests in a 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
 

Field Detail

createPage

protected static UserRoot.Create createPage

src

protected static UserRoot.ShortRequestComparator src
Constructor Detail

UserRoot

public UserRoot()
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

printShortRequestList

public static void printShortRequestList(javax.servlet.http.HttpServletRequest req,
                                         java.io.PrintWriter w,
                                         ShortRequest[] sreqs,
                                         java.util.Map parameters,
                                         java.lang.String action)
Utility method to print short requests in a list. The goal is to select one and do something with it. The additional actions are presented as GET URLs.

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