uk.ac.soton.itinnovation.grid.service.account
Interface NewAccountChecker

All Known Implementing Classes:
ApproveAlways, ApproveForTesting, ApproveManually

public interface NewAccountChecker


Method Summary
 BigDecimal checkNewAccount(Account account)
          Account 'account' has just been created by a client.
 

Method Detail

checkNewAccount

BigDecimal checkNewAccount(Account account)
                           throws GridFailureException
Account 'account' has just been created by a client. Begin the approval process. This process will call either approveAccount or denyAccount at some point in the future. This call may return before the account has been approved or rejected.

Returns:
initial credit limit, or null to leave in pending state
Throws:
GridFailureException - to deny the account TODO: this isn't a good interface.


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