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

java.lang.Object
  |
  +--org.edg.security.voms.webui.Page
        |
        +--org.edg.security.voms.webui.request.Page
              |
              +--org.edg.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
(package private) static java.lang.String CREATE_ERROR_EMAIL
           
(package private) static java.lang.String CREATE_ERROR_FAMILY
           
(package private) static java.lang.String CREATE_ERROR_GIVEN
           
(package private) static java.lang.String CREATE_ERROR_INSTITUTE
           
(package private) static java.lang.String CREATE_ERROR_PHONE
           
protected static UserRoot.Create createPage
           
protected static UserRoot.ShortRequestComparator src
           
 
Fields inherited from class org.edg.security.voms.webui.request.Page
vreq
 
Fields inherited from class org.edg.security.voms.webui.Page
children, contentType, ENC, log, pages, parent, path, TEXT_HTML, 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.edg.security.voms.webui.request.Page
printDetailedRequest, printShortRequest, setTheRequest, theRequest
 
Methods inherited from class org.edg.security.voms.webui.Page
addChild, button, button, endForm, endForm, getPage, getWebuiURL, hiddenField, hiddenField, options, printLink, printPagePart, startForm, 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

CREATE_ERROR_FAMILY

static final java.lang.String CREATE_ERROR_FAMILY
See Also:
Constant Field Values

CREATE_ERROR_GIVEN

static final java.lang.String CREATE_ERROR_GIVEN
See Also:
Constant Field Values

CREATE_ERROR_INSTITUTE

static final java.lang.String CREATE_ERROR_INSTITUTE
See Also:
Constant Field Values

CREATE_ERROR_PHONE

static final java.lang.String CREATE_ERROR_PHONE
See Also:
Constant Field Values

CREATE_ERROR_EMAIL

static final java.lang.String CREATE_ERROR_EMAIL
See Also:
Constant Field Values
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
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() )