uk.ac.soton.ecs.iam.grid.client.staterepos
Class RemoteTradeAccountServiceImpl

java.lang.Object
  extended by uk.ac.soton.ecs.iam.grid.client.staterepos.RemoteTradeAccountServiceImpl
All Implemented Interfaces:
Comparable<StorableInStateRepository>, RemoteService, RemoteTradeAccountService, StorableInStateRepository, AccountService, TradeAccountService, WebAdmin, WSRFService, GridService

Deprecated.

@Deprecated
public class RemoteTradeAccountServiceImpl
extends Object
implements RemoteTradeAccountService

A proxy to a remote account service.


Constructor Summary
RemoteTradeAccountServiceImpl(StateRepository repository, org.apache.axis.message.addressing.EndpointReferenceType endpoint)
          Deprecated.  
 
Method Summary
 int compareTo(StorableInStateRepository other)
          Deprecated.  
 MatchPattern createMatchPattern()
          Deprecated. Create a MatchPattern that matches this service.
 MatchRule createMatchRule(String role)
          Deprecated. Create a match rule that will grant this service the given role.
 void ensurePoliciesDeployed()
          Deprecated. Ensure that any required PBAC policies are deployed.
 Document getAtomFeed(String atomFeed, String serviceBase)
          Deprecated. Return an Atom feed listing any problems or issues with this service.
 org.apache.axis.message.addressing.EndpointReferenceType getBillingInfo()
          Deprecated. gets the billing epr for creating resources on this proxy
 String getDescription()
          Deprecated. Returns a textual description of the object.
 URL getEndpoint()
          Deprecated. Get the endpoint address of the service.
 org.apache.axis.message.addressing.EndpointReferenceType getEndpointRef()
          Deprecated. Return an EndpointReferenceType for this conversation.
 org.apache.axis.message.addressing.EndpointReferenceType getEPR()
          Deprecated.  
 Class getInterface()
          Deprecated. Returns the type of this object.
 RemoteBoundMethod getMethod(String operation)
          Deprecated. Get a RemoteBoundMethod bound to this service's endpoint.
 URL getParentURL()
          Deprecated. Returns the URL of this object's parent.
 StateRepository getRepository()
          Deprecated. Get the StateRepository holding this object.
 Document GetResourceProperty(QName qname)
          Deprecated. Get a resource property.
 org.apache.axis.message.addressing.EndpointReferenceType[] getResources()
          Deprecated. List the resources managed by this service for which the caller has some role.
 String getServiceName()
          Deprecated.  
 SubjectDescription getServiceProviderID()
          Deprecated. Returns the service provider ID, in the form of an Issuer and Subject DN.
 SubjectDescription getServiceProviderIssuer()
          Deprecated. Returns details of the issuer of the service's certificate.
 URL getURL()
          Deprecated. Returns the globally unique identifier.
 TradeAccountConversation openAccount(String budgetHolderName, String budgetHolderTelephone, String budgetHolderEmail, AddressType clientOrganisationAddress, String clientOrganisationCreditDetails, String description)
          Deprecated.  
 org.apache.axis.message.addressing.EndpointReferenceType openAccount(String budgetHolderName, String budgetHolderTelephone, String budgetHolderEmail, AddressType clientOrganisationAddress, String clientOrganisationCreditDetails, String description, MatchRule ownerRule)
          Deprecated. Attempt to open a new account.
 void setBillingInfo(org.apache.axis.message.addressing.EndpointReferenceType epr)
          Deprecated. lets the user set the billing epr to be used when creating resources if null then the a BillingHelper is used to try and select one
 void setDescription(String description)
          Deprecated. Change the textual description, as returned by getDescription.
 void setRepository(StateRepository repository)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteTradeAccountServiceImpl

public RemoteTradeAccountServiceImpl(StateRepository repository,
                                     org.apache.axis.message.addressing.EndpointReferenceType endpoint)
                              throws ObjectAlreadyExists
Deprecated. 
Throws:
ObjectAlreadyExists
Method Detail

getInterface

public Class getInterface()
Deprecated. 
Description copied from interface: StorableInStateRepository
Returns the type of this object. When loading the object, a StateRepository locates a class implementing the interface and uses that for the object.

Specified by:
getInterface in interface StorableInStateRepository

setRepository

public void setRepository(StateRepository repository)
Deprecated. 

getRepository

public StateRepository getRepository()
Deprecated. 
Description copied from interface: StorableInStateRepository
Get the StateRepository holding this object.

Specified by:
getRepository in interface StorableInStateRepository

getEndpointRef

public org.apache.axis.message.addressing.EndpointReferenceType getEndpointRef()
Deprecated. 
Description copied from interface: StorableInStateRepository
Return an EndpointReferenceType for this conversation. This contains both the endpoint address of the service, and the resource itself.

Specified by:
getEndpointRef in interface StorableInStateRepository

getURL

public URL getURL()
Deprecated. 
Description copied from interface: StorableInStateRepository
Returns the globally unique identifier. No two distinct objects may have the same URL, even if they have different types.

Specified by:
getURL in interface StorableInStateRepository

getParentURL

public URL getParentURL()
Deprecated. 
Description copied from interface: StorableInStateRepository
Returns the URL of this object's parent. Returns null if this is a top-level (service) object.

Specified by:
getParentURL in interface StorableInStateRepository

getDescription

public String getDescription()
Deprecated. 
Description copied from interface: StorableInStateRepository
Returns a textual description of the object. This can be presented to the user when choosing from a list, for example.

Specified by:
getDescription in interface StorableInStateRepository

setDescription

public void setDescription(String description)
Deprecated. 
Description copied from interface: StorableInStateRepository
Change the textual description, as returned by getDescription.

Specified by:
setDescription in interface StorableInStateRepository

getEndpoint

public URL getEndpoint()
Deprecated. 
Get the endpoint address of the service.

Specified by:
getEndpoint in interface RemoteService

compareTo

public int compareTo(StorableInStateRepository other)
Deprecated. 
Specified by:
compareTo in interface Comparable<StorableInStateRepository>

getServiceProviderIssuer

public SubjectDescription getServiceProviderIssuer()
                                            throws RemoteException
Deprecated. 
Description copied from interface: GridService
Returns details of the issuer of the service's certificate.

Specified by:
getServiceProviderIssuer in interface GridService
Throws:
RemoteException

getServiceProviderID

public SubjectDescription getServiceProviderID()
                                        throws RemoteException
Deprecated. 
Description copied from interface: GridService
Returns the service provider ID, in the form of an Issuer and Subject DN.

Specified by:
getServiceProviderID in interface GridService
Returns:
the ID of the service provider
Throws:
RemoteException

getMethod

public RemoteBoundMethod getMethod(String operation)
Deprecated. 
Get a RemoteBoundMethod bound to this service's endpoint.

Specified by:
getMethod in interface RemoteService

getBillingInfo

public org.apache.axis.message.addressing.EndpointReferenceType getBillingInfo()
Deprecated. 
Description copied from interface: RemoteService
gets the billing epr for creating resources on this proxy

Specified by:
getBillingInfo in interface RemoteService

setBillingInfo

public void setBillingInfo(org.apache.axis.message.addressing.EndpointReferenceType epr)
Deprecated. 
Description copied from interface: RemoteService
lets the user set the billing epr to be used when creating resources if null then the a BillingHelper is used to try and select one

Specified by:
setBillingInfo in interface RemoteService
Parameters:
epr - the billing epr

ensurePoliciesDeployed

public void ensurePoliciesDeployed()
                            throws GridFailureException
Deprecated. 
Description copied from interface: WebAdmin
Ensure that any required PBAC policies are deployed.

Specified by:
ensurePoliciesDeployed in interface WebAdmin
Throws:
GridFailureException

getAtomFeed

public Document getAtomFeed(String atomFeed,
                            String serviceBase)
                     throws GridFailureException
Deprecated. 
Description copied from interface: WebAdmin
Return an Atom feed listing any problems or issues with this service. The feed is displayed on the main admin page, and the feed can also be used with various aggregators.

Specified by:
getAtomFeed in interface WebAdmin
Parameters:
atomFeed - the URL of the feed
serviceBase - the service administration URL (for creating hyperlinks)
Throws:
GridFailureException
See Also:
AtomUtils

GetResourceProperty

public Document GetResourceProperty(QName qname)
                             throws GridFailureException
Deprecated. 
Description copied from interface: WSRFService
Get a resource property.

Specified by:
GetResourceProperty in interface WSRFService
Parameters:
qname - the property to read
Returns:
the resource property value(s) of the property with the given QName.
Throws:
InvalidResourcePropertyQNameFault - if the QName isn't known
GridFailureException

createMatchRule

public MatchRule createMatchRule(String role)
                          throws RemoteException
Deprecated. 
Create a match rule that will grant this service the given role. This method queries the remote service to discover its details and contructs a rule from the results.

Specified by:
createMatchRule in interface RemoteService
Parameters:
role - the role to be granted
Returns:
a rule granting the service the given process role
Throws:
RemoteException

createMatchPattern

public MatchPattern createMatchPattern()
                                throws RemoteException
Deprecated. 
Description copied from interface: RemoteService
Create a MatchPattern that matches this service. Invokes the service to get its identity.

Specified by:
createMatchPattern in interface RemoteService
Throws:
RemoteException

getServiceName

public String getServiceName()
Deprecated. 

getResources

public org.apache.axis.message.addressing.EndpointReferenceType[] getResources()
                                                                        throws RemoteException
Deprecated. 
Description copied from interface: GridService
List the resources managed by this service for which the caller has some role.

Specified by:
getResources in interface GridService
Throws:
RemoteException

getEPR

public org.apache.axis.message.addressing.EndpointReferenceType getEPR()
Deprecated. 

openAccount

public TradeAccountConversation openAccount(String budgetHolderName,
                                            String budgetHolderTelephone,
                                            String budgetHolderEmail,
                                            AddressType clientOrganisationAddress,
                                            String clientOrganisationCreditDetails,
                                            String description)
                                     throws RemoteException
Deprecated. 
Specified by:
openAccount in interface RemoteTradeAccountService
Throws:
RemoteException

openAccount

public org.apache.axis.message.addressing.EndpointReferenceType openAccount(String budgetHolderName,
                                                                            String budgetHolderTelephone,
                                                                            String budgetHolderEmail,
                                                                            AddressType clientOrganisationAddress,
                                                                            String clientOrganisationCreditDetails,
                                                                            String description,
                                                                            MatchRule ownerRule)
                                                                     throws RemoteException
Deprecated. 
Description copied from interface: TradeAccountService
Attempt to open a new account. The arguments are the account and billing details to be used.

Specified by:
openAccount in interface AccountService
Specified by:
openAccount in interface TradeAccountService
description - A human-readable label for the account (for other clients)
ownerRule - A rule to allow access for the owner role
Returns:
The endpoint for the new account resource.
Throws:
RemoteException


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