|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.svclayer.support.DefaultRrdGraphService
public class DefaultRrdGraphService
DefaultRrdGraphService class.
| Constructor Summary | |
|---|---|
DefaultRrdGraphService()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
afterPropertiesSet |
protected String |
createAdHocCommand(AdhocGraphType adhocType,
OnmsResource resource,
long start,
long end,
String graphtitle,
String[] dsNames,
String[] dsAggregFxns,
String[] colors,
String[] dsTitles,
String[] dsStyles)
createAdHocCommand |
protected String |
createPrefabCommand(Graph graph,
String commandPrefix,
File workDir,
String reportName)
createPrefabCommand |
InputStream |
getAdhocGraph(String resourceId,
String title,
String[] dataSources,
String[] aggregateFunctions,
String[] colors,
String[] dataSourceTitles,
String[] styles,
long start,
long end)
getAdhocGraph |
GraphDao |
getGraphDao()
getGraphDao |
InputStream |
getPrefabGraph(String resourceId,
String report,
long start,
long end)
getPrefabGraph |
ResourceDao |
getResourceDao()
getResourceDao |
RrdDao |
getRrdDao()
getRrdDao |
InputStream |
returnErrorImage(String file)
returnErrorImage |
void |
setGraphDao(GraphDao graphDao)
setGraphDao |
void |
setResourceDao(ResourceDao resourceDao)
setResourceDao |
void |
setRrdDao(RrdDao rrdDao)
setRrdDao |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRrdGraphService()
| Method Detail |
|---|
public InputStream getAdhocGraph(String resourceId,
String title,
String[] dataSources,
String[] aggregateFunctions,
String[] colors,
String[] dataSourceTitles,
String[] styles,
long start,
long end)
getAdhocGraph
getAdhocGraph in interface RrdGraphServiceresourceId - a String object.title - a String object.dataSources - an array of String objects.aggregateFunctions - an array of String objects.colors - an array of String objects.dataSourceTitles - an array of String objects.styles - an array of String objects.start - a long.end - a long.
InputStream object.public InputStream returnErrorImage(String file)
returnErrorImage
file - a String object.
InputStream object.
public InputStream getPrefabGraph(String resourceId,
String report,
long start,
long end)
getPrefabGraph
getPrefabGraph in interface RrdGraphServiceresourceId - a String object.report - a String object.start - a long.end - a long.
InputStream object.
protected String createAdHocCommand(AdhocGraphType adhocType,
OnmsResource resource,
long start,
long end,
String graphtitle,
String[] dsNames,
String[] dsAggregFxns,
String[] colors,
String[] dsTitles,
String[] dsStyles)
createAdHocCommand
adhocType - a AdhocGraphType object.resource - a OnmsResource object.start - a long.end - a long.graphtitle - a String object.dsNames - an array of String objects.dsAggregFxns - an array of String objects.colors - an array of String objects.dsTitles - an array of String objects.dsStyles - an array of String objects.
String object.
protected String createPrefabCommand(Graph graph,
String commandPrefix,
File workDir,
String reportName)
createPrefabCommand
graph - a Graph object.commandPrefix - a String object.workDir - a File object.reportName - a String object.
String object.public void afterPropertiesSet()
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic ResourceDao getResourceDao()
getResourceDao
ResourceDao object.public void setResourceDao(ResourceDao resourceDao)
setResourceDao
resourceDao - a ResourceDao object.public GraphDao getGraphDao()
getGraphDao
GraphDao object.public void setGraphDao(GraphDao graphDao)
setGraphDao
graphDao - a GraphDao object.public RrdDao getRrdDao()
getRrdDao
RrdDao object.public void setRrdDao(RrdDao rrdDao)
setRrdDao
rrdDao - a RrdDao object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||