org.ogf.graap.wsag.server.persistence
Interface PersistentAgreement

All Known Implementing Classes:
DatabasePersistentAgreement, SimplePersistentAgreement, WsDatabasePersistentAgreement

public interface PersistentAgreement

PersistentAgreement

Author:
Oliver Waeldrich

Method Summary
 Agreement getAgreement()
           
 EndpointReferenceType getAgreementEPR()
          Deprecated.  
 void load()
          Loads the agreement (based on the persisted /information/state, the configuration/etc.).
 void save()
          Saves/persistes an agreement.
 

Method Detail

getAgreement

Agreement getAgreement()
Returns:
The agreement instance itself.

getAgreementEPR

EndpointReferenceType getAgreementEPR()
Deprecated. 

Returns:
The EPR of the agreement.

load

void load()
          throws Exception
Loads the agreement (based on the persisted /information/state, the configuration/etc.).

Throws:
Exception - indicates an exception while loading the agreement from the database

save

void save()
          throws Exception
Saves/persistes an agreement.

Throws:
Exception - indicates an exception while saving the agreement to the database


Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.