uk.ac.soton.itinnovation.grid.service.account.webadmin
Class TradeAccountAdmin

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.account.webadmin.AccountAdmin
      extended by uk.ac.soton.itinnovation.grid.service.account.webadmin.TradeAccountAdmin

public class TradeAccountAdmin
extends AccountAdmin

Code to create a web administration interface for account services. To use it, create a new AccountAdmin object in your JSP page and then call processPOST(). Call showAccount() to display a table showing the current accounts.


Field Summary
 
Fields inherited from class uk.ac.soton.itinnovation.grid.service.account.webadmin.AccountAdmin
factory, pdp, request, resourceID, thisServiceURL
 
Constructor Summary
TradeAccountAdmin(HttpServletRequest request)
          Create a new TradeAccountAdmin from the parameters in this request.
 
Method Summary
 String processPOST()
          Check whether this request is a POST asking us to update the ACLs.
 void showAccount(Writer out)
           
 void showStatement(Account account, Writer out)
           
 
Methods inherited from class uk.ac.soton.itinnovation.grid.service.account.webadmin.AccountAdmin
row, rowEsc, showID, statusButton, statusButtons
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TradeAccountAdmin

public TradeAccountAdmin(HttpServletRequest request)
                  throws Stop
Create a new TradeAccountAdmin from the parameters in this request. The request must contain a parameter named 'resource', identifying the account resource.

Throws:
Stop
Method Detail

processPOST

public String processPOST()
                   throws Stop,
                          GridFailureException,
                          ObjectAlreadyExists
Description copied from class: AccountAdmin
Check whether this request is a POST asking us to update the ACLs. If so, do the updates.

Overrides:
processPOST in class AccountAdmin
Returns:
a success message, or null if no action was performed
Throws:
Stop
GridFailureException
ObjectAlreadyExists

showAccount

public void showAccount(Writer out)
                 throws IOException,
                        Stop
Throws:
IOException
Stop

showStatement

public void showStatement(Account account,
                          Writer out)
                   throws Stop,
                          IOException
Throws:
Stop
IOException


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.