uk.ac.soton.itinnovation.grid.service.account.webadmin
Class TradeAccountAdmin
java.lang.Object
uk.ac.soton.itinnovation.grid.service.account.webadmin.AccountAdmin
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.