|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AgreementService
AgreementService
| Method Summary | |
|---|---|
void |
destroy()
Destroys agreement instance. |
String |
getAgreementId()
Returns the id of the agreement instance. |
AgreementContextType |
getContext()
Returns the context of the agreement instance. |
GuaranteeTermStateType[] |
getGuaranteeTermStates()
Returns the state for the individual guarantee terms of the agreement instance. |
String |
getName()
Returns the name of the agreement instance. |
ServiceTermStateType[] |
getServiceTermStates()
Returns the state for the individual service terms of the agreement instance. |
AgreementStateType |
getState()
Returns the state of the agreement instance. |
TermTreeType |
getTerms()
Returns the terms of the agreement instance. |
WsClient |
getWebServiceClient()
Returns the web-service client used for communication with the SLA management server. |
void |
terminate(TerminateInputType reason)
Terminates the agreement instance. |
| Method Detail |
|---|
WsClient getWebServiceClient()
String getName()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
String getAgreementId()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
AgreementContextType getContext()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
TermTreeType getTerms()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
void terminate(TerminateInputType reason)
throws ResourceUnknownException,
ResourceUnavailableException
reason - a domain-specific termination reason
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
AgreementStateType getState()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
GuaranteeTermStateType[] getGuaranteeTermStates()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
ServiceTermStateType[] getServiceTermStates()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
void destroy()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||