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 void
afterPropertiesSet()
afterPropertiesSetThresholdGroup
get(String name, ThresholdingSession thresholdingSession)
getThresholdGroup
merge(ThresholdGroup group, ThresholdingSession thresholdingSession)
mergevoid
setEntityScopeProvider(EntityScopeProvider entityScopeProvider)
void
setEventProxy(ThresholdingEventProxy eventProxy)
void
setThresholdingDao(ReadableThresholdingDao thresholdingDao)
-
-
-
Method Detail
-
get
public ThresholdGroup get(String name, ThresholdingSession thresholdingSession)
get
- Specified by:
get
in interfaceThresholdsDao
- Parameters:
name
- aString
object.- Returns:
- a
ThresholdGroup
object.
-
merge
public ThresholdGroup merge(ThresholdGroup group, ThresholdingSession thresholdingSession)
merge
- Specified by:
merge
in interfaceThresholdsDao
- Parameters:
group
- aThresholdGroup
object.- Returns:
- a
ThresholdGroup
object.
-
setThresholdingDao
public void setThresholdingDao(ReadableThresholdingDao thresholdingDao)
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
- if any.
-
setEventProxy
public void setEventProxy(ThresholdingEventProxy eventProxy)
-
setEntityScopeProvider
public void setEntityScopeProvider(EntityScopeProvider entityScopeProvider)
-
-