BEAST
eu.baltrad.beast.rules.gmap.GoogleMapRuleManager Class Reference

Manager for keeping track of the google map rules. More...

Inheritance diagram for eu.baltrad.beast.rules.gmap.GoogleMapRuleManager:
eu.baltrad.beast.rules.IRuleManager

Public Member Functions

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

Protected Member Functions

RowMapper< GoogleMapRulegetGmapRuleMapper ()
 Creates a db mapper for the google map rule.
 
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

Manager for keeping track of the google map rules.

Author
Anders Henja
Date
2012-03-21

Member Function Documentation

◆ createMatchFilter()

Map< String, IFilter > eu.baltrad.beast.rules.gmap.GoogleMapRuleManager.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()

IRule eu.baltrad.beast.rules.gmap.GoogleMapRuleManager.createRule ( )
inline

◆ delete()

void eu.baltrad.beast.rules.gmap.GoogleMapRuleManager.delete ( int rule_id)
inline

◆ getFilterManager()

RuleFilterManager eu.baltrad.beast.rules.gmap.GoogleMapRuleManager.getFilterManager ( )
inline
Returns
the filter manager

◆ getGmapRuleMapper()

RowMapper< GoogleMapRule > eu.baltrad.beast.rules.gmap.GoogleMapRuleManager.getGmapRuleMapper ( )
inlineprotected

Creates a db mapper for the google map rule.

Returns
the row mapper

◆ load()

IRule eu.baltrad.beast.rules.gmap.GoogleMapRuleManager.load ( int rule_id)
inline

◆ loadFilter()

IFilter eu.baltrad.beast.rules.gmap.GoogleMapRuleManager.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.gmap.GoogleMapRuleManager.setCatalog ( Catalog catalog)
inline
Parameters
catalogthe catalog to set

◆ setFilterManager()

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

◆ setJdbcTemplate()

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

◆ store()

void eu.baltrad.beast.rules.gmap.GoogleMapRuleManager.store ( int rule_id,
IRule rule )
inline

◆ storeFilter()

void eu.baltrad.beast.rules.gmap.GoogleMapRuleManager.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.gmap.GoogleMapRuleManager.update ( int rule_id,
IRule rule )
inline

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