org.ogf.graap.wsag.api.rest
Interface RestAcceptanceEndpoint

All Known Implementing Classes:
RestAcceptanceEndpointFacade

@DataBinding(value=org.apache.cxf.xmlbeans.XmlBeansDataBinding.class)
public interface RestAcceptanceEndpoint

Default definition of an XML-RPC style Rest interface of the agreement acceptance port types. Inputs and outputs may change for different renderings in order to align this service more with the REST design paradigm.

Author:
owaeld

Method Summary
 void accept(AcceptAgreementInputDocument input)
          Publishes an agreement acceptance message to the acceptance endpoint.
 void destroy()
          Destroys an acceptance endpoint.
 void reject(RejectAgreementInputDocument input)
          Publishes an agreement rejection message to the acceptance endpoint.
 

Method Detail

accept

void accept(AcceptAgreementInputDocument input)
            throws ResourceUnknownException,
                   ResourceUnavailableException
Publishes an agreement acceptance message to the acceptance endpoint.

Parameters:
input - the acceptance input
Throws:
ResourceUnknownException - the referenced resource was not found
ResourceUnavailableException - the referenced resource is unavailable

reject

void reject(RejectAgreementInputDocument input)
            throws ResourceUnknownException,
                   ResourceUnavailableException
Publishes an agreement rejection message to the acceptance endpoint.

Parameters:
input - the rejection input
Throws:
ResourceUnknownException - the referenced resource was not found
ResourceUnavailableException - the referenced resource is unavailable

destroy

void destroy()
             throws ResourceUnknownException,
                    ResourceUnavailableException
Destroys an acceptance endpoint.

Throws:
ResourceUnknownException - the referenced resource was not found
ResourceUnavailableException - the referenced resource is unavailable


Copyright © 2008-2012. All Rights Reserved.