BEAST
eu.baltrad.beast.rules.gra.GraRuleManager Class Reference
Inheritance diagram for eu.baltrad.beast.rules.gra.GraRuleManager:
eu.baltrad.beast.rules.IRuleManager

Public Member Functions

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

Protected Member Functions

RowMapper< GraRulegetGraRuleMapper ()
 
void storeFilter (int rule_id, IFilter filter)
 Stores the associated filter.
 
Map< String, IFiltercreateMatchFilter (int rule_id, IFilter filter)
 Creates a match filter.
 
IFilter loadFilter (int rule_id)
 Loads the filter for the rule.
 

Detailed Description

Author
Anders Henja

Member Function Documentation

◆ createMatchFilter()

Map< String, IFilter > eu.baltrad.beast.rules.gra.GraRuleManager.createMatchFilter ( int rule_id,
IFilter filter )
inlineprotected

Creates a match filter.

Parameters
rule_idthe rule id
filterthe filter
Returns
a map with match as filter

◆ createRule()

GraRule eu.baltrad.beast.rules.gra.GraRuleManager.createRule ( )
inline

◆ delete()

void eu.baltrad.beast.rules.gra.GraRuleManager.delete ( int rule_id)
inline

◆ getFilterManager()

RuleFilterManager eu.baltrad.beast.rules.gra.GraRuleManager.getFilterManager ( )
inline
Returns
the filter manager

◆ getGraRuleMapper()

RowMapper< GraRule > eu.baltrad.beast.rules.gra.GraRuleManager.getGraRuleMapper ( )
inlineprotected
Returns
the gra rule mapper to use for creating a rule from the database result.

◆ load()

IRule eu.baltrad.beast.rules.gra.GraRuleManager.load ( int rule_id)
inline

◆ loadFilter()

IFilter eu.baltrad.beast.rules.gra.GraRuleManager.loadFilter ( int rule_id)
inlineprotected

Loads the filter for the rule.

Parameters
rule_idthe rule
Returns
the filter if any otherwise null

◆ setCatalog()

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

◆ setFilterManager()

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

◆ setJdbcTemplate()

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

◆ setRuleUtilities()

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

◆ store()

void eu.baltrad.beast.rules.gra.GraRuleManager.store ( int rule_id,
IRule rule )
inline

◆ storeFilter()

void eu.baltrad.beast.rules.gra.GraRuleManager.storeFilter ( int rule_id,
IFilter filter )
inlineprotected

Stores the associated filter.

Parameters
rule_idthe rule_id
filterthe filter to store

◆ update()

void eu.baltrad.beast.rules.gra.GraRuleManager.update ( int rule_id,
IRule rule )
inline

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