|
||||||||||
| 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
uk.ac.soton.ecs.iam.grid.client.staterepos.PrivateAccountConversationImpl
@Deprecated public class PrivateAccountConversationImpl
The default implementation of AccountConversation.
| Field Summary |
|---|
| Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.account.PrivateAccountResource |
|---|
PRIVATE_ACCOUNT_RESOURCE_TYPE |
| Fields inherited from interface uk.ac.soton.itinnovation.grid.types.FederationSelector |
|---|
DEFAULT_FEDERATION_SELECTOR |
| Constructor Summary | |
|---|---|
PrivateAccountConversationImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addAccessControlRule(MatchRule rule)
Deprecated. |
void |
addPeerAccount(Conversation peer)
Deprecated. Convenience wrapper that adds the service's certificate to the EPR. |
void |
addPeerAccount(org.apache.axis.message.addressing.EndpointReferenceType peer)
Deprecated. Add 'peer' to the list of peers of this account. |
void |
addPolicyRule(PolicyRule rule)
Deprecated. Add an access control rule to this resource's dynamic access control policy. |
int |
compareTo(StorableInStateRepository other)
Deprecated. |
void |
finish()
Deprecated. Indicate that this conversation is no longer required. |
MatchRule[] |
getAccessControlRules()
Deprecated. |
String[] |
getAvailableSignals()
Deprecated. List the signals which are available given the resource's current state. |
org.apache.axis.message.addressing.EndpointReferenceType |
getBillingEPR(org.apache.axis.message.addressing.EndpointReferenceType[] targetTrustedResources,
org.apache.axis.message.addressing.EndpointReferenceType targetService)
Deprecated. Gets an EPR for a resource to which usage of another service can be billed. |
StorableInStateRepository[] |
getChildConversations()
Deprecated. Returns an array of all conversations having this one as a parent. |
String |
getDescription()
Deprecated. Returns a textual description of the object. |
org.apache.axis.message.addressing.EndpointReferenceType |
getEndpointRef()
Deprecated. Return an EndpointReferenceType for this conversation. |
org.apache.axis.message.addressing.EndpointReferenceType |
getEPR()
Deprecated. Get the EPR for this resource. |
Class |
getInterface()
Deprecated. Returns the type of this object. |
URL |
getParentURL()
Deprecated. Returns the URL of this object's parent. |
org.apache.axis.message.addressing.EndpointReferenceType[] |
getPeerAccounts()
Deprecated. List the current peer accounts. |
PolicyRule[] |
getPolicyRules()
Deprecated. Get the access control rules in this resource's dynamic access control policy. |
org.apache.axis.message.addressing.EndpointReferenceType[] |
getRegisteredResources(String resourceType)
Deprecated. List the currently registered resources. |
StateRepository |
getRepository()
Deprecated. Get the StateRepository holding this object. |
RemoteService |
getService()
Deprecated. Return the conversation's RemoteService. |
URL |
getURL()
Deprecated. Returns the globally unique identifier. |
String[] |
getValidRoles()
Deprecated. List the roles the caller is permitted to see. |
boolean |
isFinished()
Deprecated. Returns true if the finish method has been called. |
void |
outOfDate()
Deprecated. Used by the StateRepository if the server returns new resource with our ID. |
void |
registerResource(org.apache.axis.message.addressing.EndpointReferenceType resource)
Deprecated. Add 'resource' to the list of resources registered to this account. |
void |
removeAccessControlRule(MatchRule rule)
Deprecated. |
void |
removePeerAccount(Conversation peer)
Deprecated. Convenience wrapper that adds the service's certificate to the EPR. |
void |
removePeerAccount(org.apache.axis.message.addressing.EndpointReferenceType peer)
Deprecated. Remove a peer previously added with addPeerAccount. |
void |
removePolicyRule(PolicyRule rule)
Deprecated. Remove an access control rule from this resource's dynamic access control policy. |
void |
setDescription(String description)
Deprecated. Change the textual description, as returned by getDescription. |
void |
setLabel(String label)
Deprecated. Change the resource's label. |
String |
signal(String signalName)
Deprecated. Signal an event to the resource's PBAC process. |
void |
unregisterResource(org.apache.axis.message.addressing.EndpointReferenceType resource)
Deprecated. Remove a resource previously added with SimpleRegistry.registerResource(org.apache.axis.message.addressing.EndpointReferenceType). |
| Methods inherited from class uk.ac.soton.ecs.iam.grid.client.staterepos.AccountConversationImpl |
|---|
addBudgetHolderRule, addUserRule, checkUser, closeAccount, getAccountStatement, getAccountStatus, getBudgetHolderRules, getUserRules, removeBudgetHolderRule, removeUserRule |
| 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.itinnovation.grid.comms.account.AccountResource |
|---|
addBudgetHolderRule, addUserRule, checkUser, closeAccount, getAccountStatement, getAccountStatus, getBudgetHolderRules, getUserRules, removeBudgetHolderRule, removeUserRule |
| Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.account.AccountResource |
|---|
addBudgetHolderRule, addUserRule, checkUser, closeAccount, getAccountStatement, getAccountStatus, getBudgetHolderRules, getUserRules, removeBudgetHolderRule, removeUserRule |
| Constructor Detail |
|---|
public PrivateAccountConversationImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
throws ObjectAlreadyExists
ObjectAlreadyExists| Method Detail |
|---|
public Class getInterface()
StorableInStateRepository
getInterface in interface StorableInStateRepositorygetInterface in class AccountConversationImplpublic void outOfDate()
Conversation
outOfDate in interface Conversationpublic StorableInStateRepository[] getChildConversations()
Conversation
getChildConversations in interface Conversationpublic void finish()
Conversation
Note that this does not close the conversation with the
remote supplier. You should normally call a different method,
such as WSResourceLifetime.destroy().
finish in interface Conversationpublic boolean isFinished()
Conversation
isFinished in interface Conversationpublic URL getURL()
StorableInStateRepository
getURL in interface StorableInStateRepositorypublic org.apache.axis.message.addressing.EndpointReferenceType getEndpointRef()
StorableInStateRepository
getEndpointRef in interface StorableInStateRepositorypublic URL getParentURL()
StorableInStateRepository
getParentURL in interface StorableInStateRepositorypublic String getDescription()
StorableInStateRepository
getDescription in interface StorableInStateRepositorypublic void setDescription(String description)
StorableInStateRepository
setDescription in interface StorableInStateRepositorypublic StateRepository getRepository()
StorableInStateRepository
getRepository in interface StorableInStateRepositorypublic org.apache.axis.message.addressing.EndpointReferenceType getEPR()
ResourceMetadata
getEPR in interface ResourceMetadatathe label set with {@link setLabel},
a unique type URI,
the state of the resource,
the resource which manages this one (e.g. an SLA manages a job),
the resource which contains this one (e.g. a job service is the parent of a job)public RemoteService getService()
Conversation
getService in interface Conversationpublic int compareTo(StorableInStateRepository other)
compareTo in interface Comparable<StorableInStateRepository>
public void addPolicyRule(PolicyRule rule)
throws RemoteException
PolicyManagement
addPolicyRule in interface PolicyManagementRemoteExceptionPDP.addAccessControlRule(java.lang.String, uk.ac.soton.itinnovation.grid.types.MatchRule)
public void removePolicyRule(PolicyRule rule)
throws RemoteException
PolicyManagement
removePolicyRule in interface PolicyManagementRemoteExceptionPDP.removeAccessControlRule(java.lang.String, uk.ac.soton.itinnovation.grid.types.MatchRule)
public PolicyRule[] getPolicyRules()
throws RemoteException
PolicyManagementPolicyManagement.getValidRoles().
getPolicyRules in interface PolicyManagementRemoteExceptionPDP.getAccessControlRules(java.lang.String, java.lang.String)
public void setLabel(String label)
throws RemoteException
ResourceMetadata
setLabel in interface ResourceMetadatalabel - the new label
RemoteException
public void addAccessControlRule(MatchRule rule)
throws RemoteException
RemoteException
public void removeAccessControlRule(MatchRule rule)
throws RemoteException
RemoteException
public MatchRule[] getAccessControlRules()
throws RemoteException
RemoteException
public String[] getValidRoles()
throws RemoteException
PolicyManagementPolicyManagement.getPolicyRules().
getValidRoles in interface PolicyManagementRemoteExceptionPDP.getValidProcessRoles(java.lang.String)
public void addPeerAccount(org.apache.axis.message.addressing.EndpointReferenceType peer)
throws RemoteException
PrivateAccountResource
addPeerAccount in interface PrivateAccountResourcepeer - a trade account
RemoteException
public void removePeerAccount(org.apache.axis.message.addressing.EndpointReferenceType peer)
throws RemoteException
PrivateAccountResource
removePeerAccount in interface PrivateAccountResourceRemoteException
public org.apache.axis.message.addressing.EndpointReferenceType[] getPeerAccounts()
throws RemoteException
PrivateAccountResource
getPeerAccounts in interface PrivateAccountResourceRemoteException
public void registerResource(org.apache.axis.message.addressing.EndpointReferenceType resource)
throws RemoteException
SimpleRegistry
registerResource in interface SimpleRegistryresource - the resource to be added
RemoteException
public void unregisterResource(org.apache.axis.message.addressing.EndpointReferenceType resource)
throws RemoteException
SimpleRegistrySimpleRegistry.registerResource(org.apache.axis.message.addressing.EndpointReferenceType).
unregisterResource in interface SimpleRegistryRemoteException
public org.apache.axis.message.addressing.EndpointReferenceType[] getRegisteredResources(String resourceType)
throws RemoteException
SimpleRegistry
getRegisteredResources in interface SimpleRegistryresourceType - the type of resources to return, or null to
return all types.
Returns resources added by SimpleRegistry.registerResource(org.apache.axis.message.addressing.EndpointReferenceType).
RemoteException
public org.apache.axis.message.addressing.EndpointReferenceType getBillingEPR(org.apache.axis.message.addressing.EndpointReferenceType[] targetTrustedResources,
org.apache.axis.message.addressing.EndpointReferenceType targetService)
throws RemoteException
FederationSelector
getBillingEPR in interface FederationSelectortargetTrustedResources - - the trusted resources of the servicetargetService - - the target service (which will pass the tokens on to its account service)
RemoteException - if there is a problem getting a billing token
public String signal(String signalName)
throws RemoteException
Signallable
signal in interface SignallablesignalName - the event causing the transition
RemoteException
public String[] getAvailableSignals()
throws RemoteException
Signallable
getAvailableSignals in interface SignallableRemoteExceptionSignallable.signal(java.lang.String)
public void addPeerAccount(Conversation peer)
throws RemoteException
PrivateAccountConversation
addPeerAccount in interface PrivateAccountConversationRemoteException
public void removePeerAccount(Conversation peer)
throws RemoteException
PrivateAccountConversation
removePeerAccount in interface PrivateAccountConversationRemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||