BEAST
eu.baltrad.beast.rules.PropertyManager Class Reference

Manage rule properties stored in beast_rule_properties. More...

Public Member Functions

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
 

Detailed Description

Manage rule properties stored in beast_rule_properties.

Member Function Documentation

◆ deleteProperties()

void eu.baltrad.beast.rules.PropertyManager.deleteProperties ( int ruleId)
inline

delete rule properties from the database

Parameters
ruleIdid 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
ruleIdid of the rule properties should be loaded for
Returns
map of properties

◆ setJdbcTemplate()

void eu.baltrad.beast.rules.PropertyManager.setJdbcTemplate ( JdbcOperations template)
inline
Parameters
templatethe 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
ruleIdid of the rule these properties are for
propsmap of properties

◆ updateProperties()

void eu.baltrad.beast.rules.PropertyManager.updateProperties ( int ruleId,
Map< String, String > props )
inline

update rule properties in the database

Parameters
ruleIdid of the rule these properties are for
propsmap of properties

The documentation for this class was generated from the following file: