A description of the Methods and Objects exported by the JSON-RPC Configuration Admin.
Methods
Method |
Return Value |
Parameters |
Parameter Description |
|---|---|---|---|
CA/createConfiguration |
Boolean. True if a new configuration is created, false if there is an existing configuration with the same PID. There will be an error in case of a problem with the persistent storage of the configurations. |
|
|
CA/createFactoryConfiguration |
String. The PID of the new factory configuration. There will be an error in case of a problem with the persistent storage of the configurations. |
|
|
CA/setConfigurationProperties |
Boolean. True if the target configuration exists and its properties are updated, otherwise false. There will be an error in case of a problem with the persistent storage of the configurations. |
|
|
CA/deleteConfiguration |
Boolean. True if the target configuration exists and it is deleted, otherwise false. There will be an error in case of a problem with the persistent storage of the configurations. |
|
|
CA/getConfigurationProperties |
A key-value JavaScript object. The keys are not predefined as they depend on the concrete type of configuration being communicated. The result will be null if no such configuration exists. |
|
|
CA/listConfigurationPids |
String[]. There will be an error if the filter is not well formed. |
|
|
Objects
None.