|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AccountResource
| Method Summary | |
|---|---|
void |
addBudgetHolderRule(MatchRule rule)
Deprecated. |
void |
addUserRule(MatchRule delegate)
Deprecated. |
boolean |
checkUser(SubjectDescription user)
Test whether this user has the 'user' role. |
void |
closeAccount()
Close an account |
AccountStatement |
getAccountStatement(Date periodStart,
Date periodEnd)
Get a statement for an account |
String |
getAccountStatus()
Get the current status of an account |
MatchRule[] |
getBudgetHolderRules()
Deprecated. |
MatchRule[] |
getUserRules()
Deprecated. |
void |
removeBudgetHolderRule(MatchRule rule)
Deprecated. |
void |
removeUserRule(MatchRule delegate)
Deprecated. |
| 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 |
| Method Detail |
|---|
@WebMethod
String getAccountStatus()
throws RemoteException
RemoteException - If the account status cannot be accessed
@WebMethod
AccountStatement getAccountStatement(Date periodStart,
Date periodEnd)
throws RemoteException
periodStart - - the start of the period the statement should coverperiodEnd - - the start of the period the statement should cover
RemoteException - If the account statement cannot be generated
@WebMethod
@Deprecated
void addUserRule(MatchRule delegate)
throws RemoteException
delegate - - the delegate
RemoteException - If there is a problem enabling access to
the account for the user
@WebMethod
@Deprecated
void removeUserRule(MatchRule delegate)
throws RemoteException
delegate - - the delegate
RemoteException - If there is a problem disabling access to
the account for the use
@WebMethod
@Deprecated
MatchRule[] getUserRules()
throws RemoteException
RemoteException
@WebMethod
@Deprecated
void addBudgetHolderRule(MatchRule rule)
throws RemoteException
rule - - the rule to add (role must be "budget-holder")
RemoteException
@WebMethod
@Deprecated
void removeBudgetHolderRule(MatchRule rule)
throws RemoteException
rule - - the rule to remove (role must be "budget-holder")
RemoteException
@WebMethod
@Deprecated
MatchRule[] getBudgetHolderRules()
throws RemoteException
RemoteException
@WebMethod
void closeAccount()
throws RemoteException
RemoteException - If the account cannot be closed
@WebMethod
boolean checkUser(SubjectDescription user)
throws RemoteException
user - user to test.
RemoteException - if the caller is not permitted to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||