org.ogf.graap.wsag.server.rest.acceptance
Class RestAcceptanceEndpointFacade
java.lang.Object
org.ogf.graap.wsag.server.rest.acceptance.RestAcceptanceEndpointFacade
- All Implemented Interfaces:
- RestAcceptanceEndpoint
public class RestAcceptanceEndpointFacade
- extends Object
- implements RestAcceptanceEndpoint
- Author:
- owaeld
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestAcceptanceEndpointFacade
public RestAcceptanceEndpointFacade(String acceptanceId,
AgreementAcceptanceListener listener)
reject
public void reject(RejectAgreementInputDocument input)
throws org.apache.velocity.exception.ResourceNotFoundException,
ResourceUnavailableException
- Description copied from interface:
RestAcceptanceEndpoint
- Publishes an agreement rejection message to the acceptance endpoint.
- Specified by:
reject
in interface RestAcceptanceEndpoint
- Parameters:
input
- the rejection input
- Throws:
ResourceUnavailableException
- the referenced resource is unavailable
org.apache.velocity.exception.ResourceNotFoundException
accept
public void accept(AcceptAgreementInputDocument input)
throws org.apache.velocity.exception.ResourceNotFoundException,
ResourceUnavailableException
- Description copied from interface:
RestAcceptanceEndpoint
- Publishes an agreement acceptance message to the acceptance endpoint.
- Specified by:
accept
in interface RestAcceptanceEndpoint
- Parameters:
input
- the acceptance input
- Throws:
ResourceUnavailableException
- the referenced resource is unavailable
org.apache.velocity.exception.ResourceNotFoundException
destroy
public void destroy()
throws ResourceUnknownException,
ResourceUnavailableException
- Description copied from interface:
RestAcceptanceEndpoint
- Destroys an acceptance endpoint.
- Specified by:
destroy
in interface RestAcceptanceEndpoint
- Throws:
ResourceUnknownException
- the referenced resource was not found
ResourceUnavailableException
- the referenced resource is unavailable
Copyright © 2008-2012. All Rights Reserved.