Manage rule properties stored in beast_rule_properties.
More...
|
void | setJdbcTemplate (JdbcOperations template) |
|
void | deleteProperties (int ruleId) |
| delete rule properties from the database
|
|
Map< String, String > | loadProperties (int ruleId) |
| load rule properties from the database
|
|
void | storeProperties (int ruleId, Map< String, String > props) |
| store rule properties in the database
|
|
void | updateProperties (int ruleId, Map< String, String > props) |
| update rule properties in the database
|
|
Manage rule properties stored in beast_rule_properties.
◆ deleteProperties()
void eu.baltrad.beast.rules.PropertyManager.deleteProperties |
( |
int | ruleId | ) |
|
|
inline |
delete rule properties from the database
- Parameters
-
ruleId | id of the rule whose properties should be deleted |
◆ loadProperties()
Map< String, String > eu.baltrad.beast.rules.PropertyManager.loadProperties |
( |
int | ruleId | ) |
|
|
inline |
load rule properties from the database
- Parameters
-
ruleId | id of the rule properties should be loaded for |
- Returns
- map of properties
◆ setJdbcTemplate()
void eu.baltrad.beast.rules.PropertyManager.setJdbcTemplate |
( |
JdbcOperations | template | ) |
|
|
inline |
- Parameters
-
template | the jdbc template to set |
◆ storeProperties()
void eu.baltrad.beast.rules.PropertyManager.storeProperties |
( |
int | ruleId, |
|
|
Map< String, String > | props ) |
|
inline |
store rule properties in the database
- Parameters
-
ruleId | id of the rule these properties are for |
props | map of properties |
◆ updateProperties()
void eu.baltrad.beast.rules.PropertyManager.updateProperties |
( |
int | ruleId, |
|
|
Map< String, String > | props ) |
|
inline |
update rule properties in the database
- Parameters
-
ruleId | id of the rule these properties are for |
props | map of properties |
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/rules/PropertyManager.java