uk.ac.soton.itinnovation.grid.comms.account
Interface PrivateAccountResource

All Superinterfaces:
AccountResource, FederationSelector, PolicyManagement, ResourceMetadata, Signallable, SimpleRegistry
All Known Subinterfaces:
PrivateAccountConversation, PrivateAccountServiceSOAP
All Known Implementing Classes:
PrivateAccountConversationImpl, PrivateAccountServiceImpl

public interface PrivateAccountResource
extends AccountResource, SimpleRegistry, FederationSelector


Field Summary
static String PRIVATE_ACCOUNT_RESOURCE_TYPE
           
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.types.FederationSelector
DEFAULT_FEDERATION_SELECTOR
 
Method Summary
 void addPeerAccount(org.apache.axis.message.addressing.EndpointReferenceType peer)
          Add 'peer' to the list of peers of this account.
 org.apache.axis.message.addressing.EndpointReferenceType[] getPeerAccounts()
          List the current peer accounts.
 void removePeerAccount(org.apache.axis.message.addressing.EndpointReferenceType peer)
          Remove a peer previously added with addPeerAccount.
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.account.AccountResource
addBudgetHolderRule, addUserRule, checkUser, closeAccount, getAccountStatement, getAccountStatus, getBudgetHolderRules, getUserRules, removeBudgetHolderRule, removeUserRule
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.PolicyManagement
addPolicyRule, getPolicyRules, getValidRoles, removePolicyRule
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.ResourceMetadata
getEPR, setLabel
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.Signallable
getAvailableSignals, signal
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.service.types.SimpleRegistry
getRegisteredResources, registerResource, unregisterResource
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.FederationSelector
getBillingEPR
 

Field Detail

PRIVATE_ACCOUNT_RESOURCE_TYPE

static final String PRIVATE_ACCOUNT_RESOURCE_TYPE
See Also:
Constant Field Values
Method Detail

addPeerAccount

@WebMethod
void addPeerAccount(org.apache.axis.message.addressing.EndpointReferenceType peer)
                    throws RemoteException
Add 'peer' to the list of peers of this account. After calling this, anyone with the user role on this account will be able to get a billing token valid at the peer. This account service must have the budget-holder role on the peer.

Parameters:
peer - a trade account
Throws:
RemoteException

removePeerAccount

@WebMethod
void removePeerAccount(org.apache.axis.message.addressing.EndpointReferenceType peer)
                       throws RemoteException
Remove a peer previously added with addPeerAccount.

Throws:
RemoteException

getPeerAccounts

@WebMethod
org.apache.axis.message.addressing.EndpointReferenceType[] getPeerAccounts()
                                                                           throws RemoteException
List the current peer accounts.

Throws:
RemoteException


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