BEAST
eu.baltrad.beast.rules.composite.CompositingRuleManager Class Reference
Inheritance diagram for eu.baltrad.beast.rules.composite.CompositingRuleManager:
eu.baltrad.beast.rules.IRuleManager

Public Member Functions

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

Protected Member Functions

void storeSources (int rule_id, List< String > sources)
 Stores the sources.
 
List< String > getSources (int rule_id)
 Returns a list of sources connected to the rule_id.
 
void storeDetectors (int rule_id, List< String > detectors)
 Stores the detectors for this compositing rule.
 
void storeFilter (int rule_id, IFilter filter)
 Stores the associated filter.
 
IFilter loadFilter (int rule_id)
 Loads the filter for the rule.
 
List< String > getDetectors (int rule_id)
 Returns a list of sources connected to the rule_id.
 
RowMapper< CompositingRulegetCompsiteRuleMapper ()
 
RowMapper< String > getSourceMapper ()
 
RowMapper< String > getDetectorMapper ()
 

Detailed Description

Author
Anders Henja

Member Function Documentation

◆ createRule()

CompositingRule eu.baltrad.beast.rules.composite.CompositingRuleManager.createRule ( )
inline

◆ delete()

void eu.baltrad.beast.rules.composite.CompositingRuleManager.delete ( int ruleId)
inline

◆ getCompsiteRuleMapper()

RowMapper< CompositingRule > eu.baltrad.beast.rules.composite.CompositingRuleManager.getCompsiteRuleMapper ( )
inlineprotected
Returns
the CompositingRule mapper

◆ getDetectorMapper()

RowMapper< String > eu.baltrad.beast.rules.composite.CompositingRuleManager.getDetectorMapper ( )
inlineprotected
Returns
the detector mapper

◆ getDetectors()

List< String > eu.baltrad.beast.rules.composite.CompositingRuleManager.getDetectors ( int rule_id)
inlineprotected

Returns a list of sources connected to the rule_id.

Parameters
rule_idthe rule id
Returns
a list of sources

◆ getFilterManager()

RuleFilterManager eu.baltrad.beast.rules.composite.CompositingRuleManager.getFilterManager ( )
inline
Returns
the filter manager

◆ getSourceMapper()

RowMapper< String > eu.baltrad.beast.rules.composite.CompositingRuleManager.getSourceMapper ( )
inlineprotected
Returns
the source mapper

◆ getSources()

List< String > eu.baltrad.beast.rules.composite.CompositingRuleManager.getSources ( int rule_id)
inlineprotected

Returns a list of sources connected to the rule_id.

Parameters
rule_idthe rule id
Returns
a list of sources

◆ load()

IRule eu.baltrad.beast.rules.composite.CompositingRuleManager.load ( int ruleId)
inline

◆ loadFilter()

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

◆ setFilterManager()

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

◆ setJdbcTemplate()

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

◆ setRuleUtilities()

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

◆ setTimeoutManager()

void eu.baltrad.beast.rules.composite.CompositingRuleManager.setTimeoutManager ( TimeoutManager manager)
inline
Parameters
managerthe timeout manager to set

◆ store()

void eu.baltrad.beast.rules.composite.CompositingRuleManager.store ( int ruleId,
IRule rule )
inline

◆ storeDetectors()

void eu.baltrad.beast.rules.composite.CompositingRuleManager.storeDetectors ( int rule_id,
List< String > detectors )
inlineprotected

Stores the detectors for this compositing rule.

Parameters
rule_idthe rule id these detectors should belong to
detectorsthe detectors

◆ storeFilter()

void eu.baltrad.beast.rules.composite.CompositingRuleManager.storeFilter ( int rule_id,
IFilter filter )
inlineprotected

Stores the associated filter.

Parameters
rule_idthe rule_id
filterthe filter to store

◆ storeSources()

void eu.baltrad.beast.rules.composite.CompositingRuleManager.storeSources ( int rule_id,
List< String > sources )
inlineprotected

Stores the sources.

The previous sources will be removed before setting the new ones.

Parameters
rule_id
sources

◆ update()

void eu.baltrad.beast.rules.composite.CompositingRuleManager.update ( int ruleId,
IRule rule )
inline

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