|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ogf.graap.wsag.wsrf.persistence.WsDatabaseWSAG4JPersistence
public class WsDatabaseWSAG4JPersistence
Constructor Summary | |
---|---|
WsDatabaseWSAG4JPersistence(IAgreementFactoryHome agreementFactoryHome)
|
Method Summary | |
---|---|
WsPersistentAgreementFactory |
find(String agreementFactoryId)
Finds an agreement factory with a given id. |
WSAG4JEngineConfigurationType |
getEngineConfiguration()
returns the configuration of the wsag4j engine |
EndpointReferenceType |
getNextEPR()
|
void |
initialize()
|
WsPersistentAgreementFactory[] |
list()
Lists all agreement factories. |
void |
remove(String agreementFactoryId)
Removes the factory with the given ID. |
void |
saveAgreementFactories(WsPersistentAgreementFactory[] wsPersistentAgreementFactories)
|
void |
setEngineConfiguration(WSAG4JEngineConfigurationType config)
sets the configuration of the wsag4j engine |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WsDatabaseWSAG4JPersistence(IAgreementFactoryHome agreementFactoryHome)
agreementFactoryHome
- the home implementation of the agreement factory
Exception
Method Detail |
---|
public void initialize() throws Exception
initialize
in interface IEngineComponent
Exception
- Indicates an error while initializing the engine component.public WsPersistentAgreementFactory find(String agreementFactoryId) throws Exception
find
in interface IWsAgreementFactoryHome
agreementFactoryId
- ID of the agreement factory.
Exception
- the agreement was not foundpublic WsPersistentAgreementFactory[] list() throws Exception
list
in interface IWsAgreementFactoryHome
Exception
- the agreements could not be listed, i.e. a database fault occurredpublic void saveAgreementFactories(WsPersistentAgreementFactory[] wsPersistentAgreementFactories) throws Exception
saveAgreementFactories
in interface IWsAgreementFactoryHome
wsPersistentAgreementFactories
- List of factories, which should be saved/persisted.
Exception
- the factories could not be saved at the persistence layer, i.e. due to database failurepublic void remove(String agreementFactoryId) throws Exception
remove
in interface IWsAgreementFactoryHome
agreementFactoryId
- ID of the factory to remove.
Exception
- the factory could not removed at the persistence layerpublic EndpointReferenceType getNextEPR()
public void setEngineConfiguration(WSAG4JEngineConfigurationType config)
setEngineConfiguration
in interface IEngineComponent
config
- the wsag4j engine configurationIEngineComponent.setEngineConfiguration(WSAG4JEngineConfigurationType)
public WSAG4JEngineConfigurationType getEngineConfiguration()
getEngineConfiguration
in interface IEngineComponent
IEngineComponent.getEngineConfiguration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |