BEAST
|
Defines what is nessecary in order to be able to configure and persist adaptor configurations. More...
Public Member Functions | |
String | getType () |
Returns the type that is managed by this configuration manager. | |
IAdaptorConfiguration | createConfiguration (String name) |
Creates a new instance of an adaptor configuration. | |
IAdaptor | store (int id, IAdaptorConfiguration configuration) |
Persists the adaptor configuration. | |
IAdaptor | update (int id, IAdaptorConfiguration configuration) |
Updates the adaptor configuration for the specified adaptor id. | |
void | remove (int id) |
Removes the adaptor configuration. | |
IAdaptor | read (int id, String name) |
Reads the adaptor from the database. | |
Defines what is nessecary in order to be able to configure and persist adaptor configurations.
IAdaptorConfiguration eu.baltrad.beast.adaptor.IAdaptorConfigurationManager.createConfiguration | ( | String | name | ) |
Creates a new instance of an adaptor configuration.
name | the name of the adaptor that should be created |
Implemented in eu.baltrad.beast.adaptor.xmlrpc.XmlRpcConfigurationManager.
String eu.baltrad.beast.adaptor.IAdaptorConfigurationManager.getType | ( | ) |
Returns the type that is managed by this configuration manager.
Implemented in eu.baltrad.beast.adaptor.xmlrpc.XmlRpcConfigurationManager.
IAdaptor eu.baltrad.beast.adaptor.IAdaptorConfigurationManager.read | ( | int | id, |
String | name ) |
Reads the adaptor from the database.
the id and name are the unique identifiers defining the adaptor (from the BltAdaptorManager point of view).
id | the unique id |
name | the unique name |
AdaptorException | if it is not possible to read the specified adaptor |
Implemented in eu.baltrad.beast.adaptor.xmlrpc.XmlRpcConfigurationManager.
void eu.baltrad.beast.adaptor.IAdaptorConfigurationManager.remove | ( | int | id | ) |
Removes the adaptor configuration.
id | the configuration that should be removed |
Implemented in eu.baltrad.beast.adaptor.xmlrpc.XmlRpcConfigurationManager.
IAdaptor eu.baltrad.beast.adaptor.IAdaptorConfigurationManager.store | ( | int | id, |
IAdaptorConfiguration | configuration ) |
Persists the adaptor configuration.
id | the unique id that defines this adaptor |
configuration | the configuration |
AdaptorException | on failure |
Implemented in eu.baltrad.beast.adaptor.xmlrpc.XmlRpcConfigurationManager.
IAdaptor eu.baltrad.beast.adaptor.IAdaptorConfigurationManager.update | ( | int | id, |
IAdaptorConfiguration | configuration ) |
Updates the adaptor configuration for the specified adaptor id.
id | the adaptor id |
configuration | the configuration |
Implemented in eu.baltrad.beast.adaptor.xmlrpc.XmlRpcConfigurationManager.