com.googlecode.fascinator.portal.report.service
Class ReportManager
java.lang.Object
com.googlecode.fascinator.portal.report.service.ReportManager
- All Implemented Interfaces:
- FascinatorService
public class ReportManager
- extends Object
- implements FascinatorService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportManager
public ReportManager()
getConfig
public JsonSimple getConfig()
- Specified by:
getConfig in interface FascinatorService
setConfig
public void setConfig(JsonSimple config)
- Specified by:
setConfig in interface FascinatorService
init
public void init()
- Specified by:
init in interface FascinatorService
addReport
public void addReport(Report report)
throws Exception
- Method to add report to the map. Must be called before saveReport()
- Parameters:
report -
- Throws:
Exception
saveReport
public void saveReport(Report report)
- Make sure to call addReport() before saving...
- Parameters:
report -
duplicateReport
public void duplicateReport(String reportName)
throws Exception
- Throws:
Exception
deleteReport
public void deleteReport(String reportName)
getReports
public TreeMap<String,Report> getReports()
getReport
public Report getReport(String reportName)
getReportByLabel
public Report getReportByLabel(String label)
getUniqueReportName
public String getUniqueReportName(String reportName)
throws Exception
- Throws:
Exception
Copyright © 2009-2014. All Rights Reserved.