|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.ecs.iam.grid.client.staterepos.AccountConversationImpl
@Deprecated public abstract class AccountConversationImpl
The default implementation of AccountConversation.
| Constructor Summary | |
|---|---|
AccountConversationImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
Deprecated. Create an AccountConversation. |
|
| Method Summary | |
|---|---|
void |
addBudgetHolderRule(MatchRule rule)
Deprecated. Add a rule controlling access to the budget-holder role. |
void |
addUserRule(MatchRule rule)
Deprecated. Enable access to an account to another user |
boolean |
checkUser(SubjectDescription user)
Deprecated. Test whether this user has the 'user' role. |
void |
closeAccount()
Deprecated. Close an account |
AccountStatement |
getAccountStatement(Date from,
Date to)
Deprecated. Get a statement for an account |
String |
getAccountStatus()
Deprecated. Get the current status of an account |
MatchRule[] |
getBudgetHolderRules()
Deprecated. List the current rules used to determine whether someone has the 'budget-holder' role. |
Class |
getInterface()
Deprecated. Returns the type of this object. |
MatchRule[] |
getUserRules()
Deprecated. List the current rules used to determine whether someone has the 'user' role (which allows them to charge to this account. |
void |
removeBudgetHolderRule(MatchRule rule)
Deprecated. Remove a rule controlling access to the budget-holder role. |
void |
removeUserRule(MatchRule rule)
Deprecated. Disable access to an account for a user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.Conversation |
|---|
finish, getChildConversations, getService, isFinished, outOfDate |
| Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.StorableInStateRepository |
|---|
getDescription, getEndpointRef, getParentURL, getRepository, getURL, setDescription |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| 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 |
| Constructor Detail |
|---|
public AccountConversationImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
throws ObjectAlreadyExists
ObjectAlreadyExists| Method Detail |
|---|
public Class getInterface()
StorableInStateRepository
getInterface in interface StorableInStateRepository
public String getAccountStatus()
throws RemoteException
AccountResource
getAccountStatus in interface AccountResourceRemoteException - If the account status cannot be accessed
public AccountStatement getAccountStatement(Date from,
Date to)
throws RemoteException
AccountResource
getAccountStatement in interface AccountResourcefrom - - the start of the period the statement should coverto - - the start of the period the statement should cover
RemoteException - If the account statement cannot be generated
public void addBudgetHolderRule(MatchRule rule)
throws RemoteException
AccountResource
addBudgetHolderRule in interface AccountResourcerule - - the rule to add (role must be "budget-holder")
RemoteException
public void removeBudgetHolderRule(MatchRule rule)
throws RemoteException
AccountResource
removeBudgetHolderRule in interface AccountResourcerule - - the rule to remove (role must be "budget-holder")
RemoteException
public MatchRule[] getBudgetHolderRules()
throws RemoteException
AccountResource
getBudgetHolderRules in interface AccountResourceRemoteException
public void addUserRule(MatchRule rule)
throws RemoteException
AccountResource
addUserRule in interface AccountResourcerule - - the delegate
RemoteException - If there is a problem enabling access to
the account for the user
public void removeUserRule(MatchRule rule)
throws RemoteException
AccountResource
removeUserRule in interface AccountResourcerule - - the delegate
RemoteException - If there is a problem disabling access to
the account for the use
public MatchRule[] getUserRules()
throws RemoteException
AccountResource
getUserRules in interface AccountResourceRemoteException
public boolean checkUser(SubjectDescription user)
throws RemoteException
AccountResource
checkUser in interface AccountResourceuser - user to test.
RemoteException - if the caller is not permitted to check
public void closeAccount()
throws RemoteException
AccountResource
closeAccount in interface AccountResourceRemoteException - If the account cannot be closed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||