|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAgreementFactoryHome
This interface encapsulates one or more agreement factory that are loaded with one agreement engine. An agreement engine is based on one particular WSAG4J configuration, i.e. multiple factories can be exposed through the persistence layer, where each factory is instantiated on the same engine configuration file.
Method Summary | |
---|---|
PersistentAgreementFactory |
find(String factoryId)
Finds an agreement factory with a given id. |
PersistentAgreementFactory[] |
list()
Lists all agreement factories. |
void |
remove(String factoryId)
Removes the factory with the given ID. |
void |
saveAgreementFactories(PersistentAgreementFactory[] factories)
Deprecated. |
Method Detail |
---|
PersistentAgreementFactory find(String factoryId) throws Exception
factoryId
- ID of the agreement factory.
Exception
- indicates an exception while loading the factory from the databasePersistentAgreementFactory[] list() throws Exception
Exception
- indicates an exception while loading the factories from the databasevoid remove(String factoryId) throws Exception
factoryId
- ID of the factory to remove.
Exception
- indicates an exception while removing the factory from the database@Deprecated void saveAgreementFactories(PersistentAgreementFactory[] factories) throws Exception
factories
- List of factories, which should be saved/persisted.
Exception
- indicates an exception while saving the factory in the database
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |