|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ogf.graap.wsag.wsrf.persistence.WsDatabasePersistentAgreement
public class WsDatabasePersistentAgreement
Web service based extension of the
DatabasePersistentAgreement
. It is used to bind an EPR
to the agreement, which is stored inside the AgreementEprContainer
instance.
Constructor Summary | |
---|---|
WsDatabasePersistentAgreement(PersistentAgreement agreement,
EndpointReferenceType epr,
String agreementFactoryId)
Creates a new persisted agreement. |
Method Summary | |
---|---|
Agreement |
getAgreement()
|
EndpointReferenceType |
getAgreementEPR()
|
void |
load()
Loads the agreement (based on the persisted /information/state, the configuration/etc.). |
void |
save()
Saves/persistes an agreement. |
void |
setAgreementEPR(EndpointReferenceType agreementEpr)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WsDatabasePersistentAgreement(PersistentAgreement agreement, EndpointReferenceType epr, String agreementFactoryId)
agreement
- the agreement to persistepr
- the agreement EPRagreementFactoryId
- the id of the agreement factory that created the agreementEntityManagerFactory
,
PersistentAgreementContainer
Method Detail |
---|
public void save() throws Exception
save
in interface PersistentAgreement
Exception
- indicates an exception while saving the agreement to the databasepublic EndpointReferenceType getAgreementEPR()
getAgreementEPR
in interface PersistentAgreement
public void setAgreementEPR(EndpointReferenceType agreementEpr)
agreementEpr
- the agreement endpoint referencepublic String toString()
toString
in class Object
public Agreement getAgreement()
getAgreement
in interface PersistentAgreement
PersistentAgreement.getAgreement()
public void load() throws Exception
load
in interface PersistentAgreement
Exception
- indicates an exception while loading the agreement from the databasePersistentAgreement.load()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |