org.ogf.graap.wsag.api.client
Interface AgreementFactoryClient
- All Superinterfaces:
- AgreementFactoryService, AgreementRegistryService, WsClient, WSDMResource
public interface AgreementFactoryClient
- extends AgreementFactoryService, AgreementRegistryService
AgreementFactoryClient
- Author:
- Oliver Waeldrich
getTemplate
AgreementTemplateType getTemplate(String name,
String id)
throws ResourceUnknownException,
ResourceUnavailableException
- Returns a template with a particular name and id from the server, or
null if the requested
template does not exist.
- Parameters:
name - the name of the requested templateid - the id of the requested template
- Returns:
- a template with the given name and id, or null if no appropriate template was found.
- Throws:
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
getWebServiceClient
WsClient getWebServiceClient()
- Returns the web service client used for communication with the SLA management system.
- Specified by:
getWebServiceClient in interface AgreementFactoryService- Specified by:
getWebServiceClient in interface AgreementRegistryService
- Returns:
- the web service client for this service.
clone
AgreementFactoryClient clone()
throws CloneNotSupportedException
- Returns a copy of the client.
- Returns:
- the cloned AgreementFactoryClient
- Throws:
CloneNotSupportedException - indicates that the particular client implementation does not support cloning
Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.