org.ogf.graap.wsag.server.actions
Interface ICreateAgreementAction
- All Superinterfaces:
- IActionHandler
- All Known Implementing Classes:
- AbstractCreateAgreementAction, CreatePendingAgreementAction, CreatePendingAgreementWithNotificationAction, ExampleCreateAgreementAction, Sample1CreateAgreementAction, Sample2CreateAgreementAction, SampleCreateAgreementAction, SampleMonitoredAgreementAction
public interface ICreateAgreementAction
- extends IActionHandler
A create agreement action handler implements the functionality to create a new agreement instance. It is
accociated with a specific
- Author:
- Oliver Waeldrich
createAgreement
Agreement createAgreement(AgreementOffer offer,
Map<String,Object> context)
throws AgreementFactoryException
- Creates a new agreement based on an offer.
- Parameters:
offer
- the offer to create an agreement forcontext
- factory invocation context
- Returns:
- the created agreement
- Throws:
AgreementFactoryException
- indicates that the agreement offer was rejected or a factory fault occurred.
Copyright © 2008-2012. All Rights Reserved.