BEAST
eu.baltrad.beast.rules.wrwp.WrwpRuleManager Class Reference
Inheritance diagram for eu.baltrad.beast.rules.wrwp.WrwpRuleManager:
eu.baltrad.beast.rules.IRuleManager

Public Member Functions

void setJdbcTemplate (JdbcOperations template)
 
void setCatalog (Catalog catalog)
 
void setRuleUtilities (IRuleUtilities utilities)
 
void store (int ruleId, IRule rule)
 
IRule load (int ruleId)
 
void update (int ruleId, IRule rule)
 
void delete (int ruleId)
 
IRule createRule ()
 
RuleFilterManager getFilterManager ()
 
void setFilterManager (RuleFilterManager filterManager)
 

Protected Member Functions

void updateSources (int ruleId, List< String > sources)
 Updates the sources.
 
List< String > getSources (int ruleId)
 Returns the sources associated with this rule.
 
RowMapper< WrwpRulegetWrwpRuleMapper ()
 The mapper when reading a wrwp rule from the database.
 
RowMapper< String > getSourceMapper ()
 
void storeFilter (int ruleId, IFilter filter)
 Stores the associated filter.
 
IFilter loadFilter (int ruleId)
 Loads the filter for the rule.
 

Detailed Description

Author
Anders Henja

Member Function Documentation

◆ createRule()

IRule eu.baltrad.beast.rules.wrwp.WrwpRuleManager.createRule ( )
inline

◆ delete()

void eu.baltrad.beast.rules.wrwp.WrwpRuleManager.delete ( int ruleId)
inline

◆ getFilterManager()

RuleFilterManager eu.baltrad.beast.rules.wrwp.WrwpRuleManager.getFilterManager ( )
inline
Returns
the filter manager

◆ getSourceMapper()

RowMapper< String > eu.baltrad.beast.rules.wrwp.WrwpRuleManager.getSourceMapper ( )
inlineprotected
Returns
the mapper when reading the wrwp sources from the database

◆ getSources()

List< String > eu.baltrad.beast.rules.wrwp.WrwpRuleManager.getSources ( int ruleId)
inlineprotected

Returns the sources associated with this rule.

Parameters
ruleIdthe rule id
Returns
the list of sources

◆ getWrwpRuleMapper()

RowMapper< WrwpRule > eu.baltrad.beast.rules.wrwp.WrwpRuleManager.getWrwpRuleMapper ( )
inlineprotected

The mapper when reading a wrwp rule from the database.

Returns
the mapper

◆ load()

IRule eu.baltrad.beast.rules.wrwp.WrwpRuleManager.load ( int ruleId)
inline

◆ loadFilter()

IFilter eu.baltrad.beast.rules.wrwp.WrwpRuleManager.loadFilter ( int ruleId)
inlineprotected

Loads the filter for the rule.

Parameters
ruleIdthe rule
Returns
the filter if any otherwise null

◆ setCatalog()

void eu.baltrad.beast.rules.wrwp.WrwpRuleManager.setCatalog ( Catalog catalog)
inline
Parameters
catalogthe catalog to set

◆ setFilterManager()

void eu.baltrad.beast.rules.wrwp.WrwpRuleManager.setFilterManager ( RuleFilterManager filterManager)
inline
Parameters
filterManagerthe filter manager

◆ setJdbcTemplate()

void eu.baltrad.beast.rules.wrwp.WrwpRuleManager.setJdbcTemplate ( JdbcOperations template)
inline
Parameters
templatethe jdbc template to set

◆ setRuleUtilities()

void eu.baltrad.beast.rules.wrwp.WrwpRuleManager.setRuleUtilities ( IRuleUtilities utilities)
inline
Parameters
utilitiesthe rule utilities to set

◆ store()

void eu.baltrad.beast.rules.wrwp.WrwpRuleManager.store ( int ruleId,
IRule rule )
inline

◆ storeFilter()

void eu.baltrad.beast.rules.wrwp.WrwpRuleManager.storeFilter ( int ruleId,
IFilter filter )
inlineprotected

Stores the associated filter.

Parameters
ruleIdthe ruleId
filterthe filter to store

◆ update()

void eu.baltrad.beast.rules.wrwp.WrwpRuleManager.update ( int ruleId,
IRule rule )
inline

◆ updateSources()

void eu.baltrad.beast.rules.wrwp.WrwpRuleManager.updateSources ( int ruleId,
List< String > sources )
inlineprotected

Updates the sources.

Parameters
sourcesthe sources that should be added for the specific rule

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