|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ogf.graap.wsag.client.api.impl.AbstractClient
org.ogf.graap.wsag.client.api.impl.AgreementClientImpl
public abstract class AgreementClientImpl
Default implementation of an agreement client. Concrete implementations must provide a proper implementation of the server interaction.
| Field Summary |
|---|
| Fields inherited from interface org.ogf.graap.wsag.client.api.AgreementClient |
|---|
FACTORY |
| Constructor Summary | |
|---|---|
AgreementClientImpl()
|
|
| Method Summary | |
|---|---|
abstract AgreementClient |
clone()
Returns a copy of the client. |
abstract void |
destroy()
Destroys agreement instance. |
abstract String |
getAgreementId()
Returns the id of the agreement instance. |
abstract AgreementContextType |
getContext()
Returns the context of the agreement instance. |
GuaranteeTermStateType |
getGuaranteeTermState(String name)
Returns the guarantee term with the given name. |
abstract GuaranteeTermStateType[] |
getGuaranteeTermStates()
Returns the state for the individual guarantee terms of the agreement instance. |
abstract String |
getName()
Returns the name of the agreement instance. |
abstract AgreementPropertiesType |
getResourceProperties()
Returns the resource properties of the agreement instance. |
ServiceTermStateType |
getServiceTermState(String name)
Returns the service description term with the given name. |
abstract ServiceTermStateType[] |
getServiceTermStates()
Returns the state for the individual service terms of the agreement instance. |
abstract AgreementStateType |
getState()
Returns the state of the agreement instance. |
abstract TermTreeType |
getTerms()
Returns the terms of the agreement instance. |
void |
terminate()
Terminates an agreement. |
abstract void |
terminate(TerminateInputType reason)
Terminates the agreement instance. |
| Methods inherited from class org.ogf.graap.wsag.client.api.impl.AbstractClient |
|---|
getProperties, getRemoteClient, getRemoteReference, getSecurityProperties, isUsingTrace, setProperties, setTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ogf.graap.wsag.client.api.AgreementClient |
|---|
getRemoteClient |
| Constructor Detail |
|---|
public AgreementClientImpl()
| Method Detail |
|---|
public abstract AgreementContextType getContext()
throws ResourceUnknownException,
ResourceUnavailableException
getContext in interface AgreementClientResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public abstract GuaranteeTermStateType[] getGuaranteeTermStates()
throws ResourceUnknownException,
ResourceUnavailableException
getGuaranteeTermStates in interface AgreementClientResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public GuaranteeTermStateType getGuaranteeTermState(String name)
throws ResourceUnknownException,
ResourceUnavailableException
getGuaranteeTermState in interface AgreementClientname - the name of the guarantee term to retrieve
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public abstract String getAgreementId()
throws ResourceUnknownException,
ResourceUnavailableException
getAgreementId in interface AgreementClientResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public abstract String getName()
throws ResourceUnknownException,
ResourceUnavailableException
getName in interface AgreementClientResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public abstract ServiceTermStateType[] getServiceTermStates()
throws ResourceUnknownException,
ResourceUnavailableException
getServiceTermStates in interface AgreementClientResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public ServiceTermStateType getServiceTermState(String name)
throws ResourceUnknownException,
ResourceUnavailableException
getServiceTermState in interface AgreementClientname - the name of the service description term to retrieve
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public abstract AgreementStateType getState()
throws ResourceUnknownException,
ResourceUnavailableException
getState in interface AgreementClientResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public abstract TermTreeType getTerms()
throws ResourceUnknownException,
ResourceUnavailableException
getTerms in interface AgreementClientResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public abstract AgreementPropertiesType getResourceProperties()
throws ResourceUnknownException,
ResourceUnavailableException
getResourceProperties in interface AgreementClientResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public void terminate()
throws ResourceUnknownException,
ResourceUnavailableException
terminate in interface AgreementClientResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public abstract void terminate(TerminateInputType reason)
throws ResourceUnknownException,
ResourceUnavailableException
terminate in interface AgreementClientreason - a domain-specific termination reason
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public abstract void destroy()
throws ResourceUnknownException,
ResourceUnavailableException
destroy in interface AgreementClientResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
public abstract AgreementClient clone()
throws CloneNotSupportedException
clone in interface AgreementClientclone in class ObjectCloneNotSupportedException - indicates that the client implementation does not support cloning
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||