Package org.opennms.netmgt.threshd
Class DefaultThresholdsDao
- java.lang.Object
-
- org.opennms.netmgt.threshd.DefaultThresholdsDao
-
- All Implemented Interfaces:
ThresholdsDao,org.springframework.beans.factory.InitializingBean
public class DefaultThresholdsDao extends Object implements ThresholdsDao, org.springframework.beans.factory.InitializingBean
DefaultThresholdsDao class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description DefaultThresholdsDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()afterPropertiesSetThresholdGroupget(String name, ThresholdingSession thresholdingSession)getThresholdGroupmerge(ThresholdGroup group, ThresholdingSession thresholdingSession)mergevoidsetEntityScopeProvider(EntityScopeProvider entityScopeProvider)voidsetEventProxy(ThresholdingEventProxy eventProxy)voidsetThresholdingDao(ReadableThresholdingDao thresholdingDao)
-
-
-
Method Detail
-
get
public ThresholdGroup get(String name, ThresholdingSession thresholdingSession)
get
- Specified by:
getin interfaceThresholdsDao- Parameters:
name- aStringobject.- Returns:
- a
ThresholdGroupobject.
-
merge
public ThresholdGroup merge(ThresholdGroup group, ThresholdingSession thresholdingSession)
merge
- Specified by:
mergein interfaceThresholdsDao- Parameters:
group- aThresholdGroupobject.- Returns:
- a
ThresholdGroupobject.
-
setThresholdingDao
public void setThresholdingDao(ReadableThresholdingDao thresholdingDao)
-
afterPropertiesSet
public void afterPropertiesSet() throws ExceptionafterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception- if any.
-
setEventProxy
public void setEventProxy(ThresholdingEventProxy eventProxy)
-
setEntityScopeProvider
public void setEntityScopeProvider(EntityScopeProvider entityScopeProvider)
-
-