org.ogf.graap.wsag.server.actions
Interface INegotiationAction
- All Superinterfaces:
- IActionHandler
- All Known Implementing Classes:
- AbstractNegotiationAction, NegotiatePendingAgreementAction, NegotiationUnsupportedAction, Sample1NegotiateAgreementAction, Sample2NegotiateAgreementAction, SampleNegotiateAction
public interface INegotiationAction
- extends IActionHandler
A negotiation action handler implements the functionality to create negotiate agreement offers based on a
template. It is associated with a specific agreement factory action.
- Author:
- Oliver Waeldrich
negotiate
NegotiationOfferType[] negotiate(NegotiationOfferType quote,
Map<String,Object> context)
throws NegotiationException
- Negotiates an agreement offer. For each negotiation offer, one or more counter proposals may be
created. A negotiation request can comprise multiple negotiation offers. These offers are processed
sequentially, sharing a common invocation context.
- Parameters:
quote
- the negotiation offer to processcontext
- the invocation context
- Returns:
- a set of counter offers
- Throws:
NegotiationException
- indicates an error during the negotiation process
Copyright © 2008-2012. All Rights Reserved.