BEAST
eu.baltrad.beast.rules.site2d.Site2DRuleManager Class Reference
Inheritance diagram for eu.baltrad.beast.rules.site2d.Site2DRuleManager:
eu.baltrad.beast.rules.IRuleManager

Public Member Functions

void store (int ruleId, IRule rule)
 
IRule load (int ruleId)
 
void update (int ruleId, IRule rule)
 
void delete (int ruleId)
 
Site2DRule createRule ()
 
JdbcOperations getTemplate ()
 
void setTemplate (JdbcOperations template)
 
IRuleUtilities getRuleUtilities ()
 
void setRuleUtilities (IRuleUtilities ruleUtilities)
 
Catalog getCatalog ()
 
void setCatalog (Catalog catalog)
 
RuleFilterManager getFilterManager ()
 
void setFilterManager (RuleFilterManager filterManager)
 

Protected Member Functions

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

Detailed Description

Author
Anders Henja

Member Function Documentation

◆ createRule()

Site2DRule eu.baltrad.beast.rules.site2d.Site2DRuleManager.createRule ( )
inline

◆ delete()

void eu.baltrad.beast.rules.site2d.Site2DRuleManager.delete ( int ruleId)
inline

◆ getDetectorMapper()

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

◆ getDetectors()

List< String > eu.baltrad.beast.rules.site2d.Site2DRuleManager.getDetectors ( int ruleId)
inlineprotected

Returns a list of sources connected to the rule_id.

Parameters
ruleIdthe rule id
Returns
a list of sources

◆ getFilterManager()

RuleFilterManager eu.baltrad.beast.rules.site2d.Site2DRuleManager.getFilterManager ( )
inline
Returns
the filter manager

◆ getSite2DRuleMapper()

RowMapper< Site2DRule > eu.baltrad.beast.rules.site2d.Site2DRuleManager.getSite2DRuleMapper ( )
inlineprotected
Returns
the CompositingRule mapper

◆ getSourceMapper()

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

◆ getSources()

List< String > eu.baltrad.beast.rules.site2d.Site2DRuleManager.getSources ( int ruleId)
inlineprotected

Returns a list of sources connected to the rule_id.

Parameters
ruleIdthe rule id
Returns
a list of sources

◆ load()

IRule eu.baltrad.beast.rules.site2d.Site2DRuleManager.load ( int ruleId)
inline

◆ loadFilter()

IFilter eu.baltrad.beast.rules.site2d.Site2DRuleManager.loadFilter ( int ruleId)
inlineprotected

Loads the filter for the rule.

Parameters
ruleIdthe rule
Returns
the filter if any otherwise null

◆ setFilterManager()

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

◆ store()

void eu.baltrad.beast.rules.site2d.Site2DRuleManager.store ( int ruleId,
IRule rule )
inline

◆ storeDetectors()

void eu.baltrad.beast.rules.site2d.Site2DRuleManager.storeDetectors ( int ruleId,
List< String > detectors )
inlineprotected

Stores the detectors for this compositing rule.

Parameters
ruleIdthe rule id these detectors should belong to
detectorsthe detectors

◆ storeFilter()

void eu.baltrad.beast.rules.site2d.Site2DRuleManager.storeFilter ( int ruleId,
IFilter filter )
inlineprotected

Stores the associated filter.

Parameters
ruleIdthe rule_id
filterthe filter to store

◆ storeSources()

void eu.baltrad.beast.rules.site2d.Site2DRuleManager.storeSources ( int ruleId,
List< String > sources )
inlineprotected

Stores the sources.

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

Parameters
ruleId
sources

◆ update()

void eu.baltrad.beast.rules.site2d.Site2DRuleManager.update ( int ruleId,
IRule rule )
inline

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