Class DefaultRrdSummaryService
- java.lang.Object
-
- org.opennms.web.svclayer.rrd.support.DefaultRrdSummaryService
-
- All Implemented Interfaces:
RrdSummaryService
,org.springframework.beans.factory.InitializingBean
public class DefaultRrdSummaryService extends java.lang.Object implements RrdSummaryService, org.springframework.beans.factory.InitializingBean
DefaultRrdSummaryService class.
- Author:
- Mathew Brozowski
-
-
Field Summary
Fields Modifier and Type Field Description FilterDao
m_filterDao
NodeDao
m_nodeDao
ResourceDao
m_resourceDao
RrdDao
m_rrdDao
org.opennms.web.svclayer.rrd.support.DefaultRrdSummaryService.Stats
m_stats
-
Constructor Summary
Constructors Constructor Description DefaultRrdSummaryService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetNodeDao
getNodeDao()
Summary
getSummary(java.lang.String filterRule, long startTime, long endTime, java.lang.String attributeSieve)
getSummarySummary
getSummary(SummarySpecification spec)
getSummaryvoid
setFilterDao(FilterDao filterDao)
setFilterDaovoid
setNodeDao(NodeDao nodeDao)
void
setResourceDao(ResourceDao resourceDao)
setResourceDaovoid
setRrdDao(RrdDao rrdDao)
setRrdDao
-
-
-
Field Detail
-
m_filterDao
public FilterDao m_filterDao
-
m_resourceDao
public ResourceDao m_resourceDao
-
m_rrdDao
public RrdDao m_rrdDao
-
m_nodeDao
public NodeDao m_nodeDao
-
m_stats
public org.opennms.web.svclayer.rrd.support.DefaultRrdSummaryService.Stats m_stats
-
-
Method Detail
-
getSummary
public Summary getSummary(java.lang.String filterRule, long startTime, long endTime, java.lang.String attributeSieve)
getSummary
- Parameters:
filterRule
- aString
object.startTime
- a long.endTime
- a long.attributeSieve
- aString
object.- Returns:
- a
Summary
object.
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
- if any.
-
setFilterDao
public void setFilterDao(FilterDao filterDao)
setFilterDao
- Parameters:
filterDao
- aFilterDao
object.
-
setResourceDao
public void setResourceDao(ResourceDao resourceDao)
setResourceDao
- Parameters:
resourceDao
- aResourceDao
object.
-
getNodeDao
public NodeDao getNodeDao()
- Returns:
- the nodeDao
-
setNodeDao
public void setNodeDao(NodeDao nodeDao)
- Parameters:
nodeDao
- the nodeDao to set
-
getSummary
public Summary getSummary(SummarySpecification spec)
getSummary
- Specified by:
getSummary
in interfaceRrdSummaryService
- Parameters:
spec
- aSummarySpecification
object.- Returns:
- a
Summary
object.
-
-