com.googlecode.fascinator.portal.report.service
Class ReportManager

java.lang.Object
  extended by com.googlecode.fascinator.portal.report.service.ReportManager
All Implemented Interfaces:
FascinatorService

public class ReportManager
extends Object
implements FascinatorService


Constructor Summary
ReportManager()
           
 
Method Summary
 void addReport(Report report)
          Method to add report to the map.
 void deleteReport(String reportName)
           
 void duplicateReport(String reportName)
           
 JsonSimple getConfig()
           
 Report getReport(String reportName)
           
 Report getReportByLabel(String label)
           
 TreeMap<String,Report> getReports()
           
 String getUniqueReportName(String reportName)
           
 void init()
           
 void saveReport(Report report)
          Make sure to call addReport() before saving...
 void setConfig(JsonSimple config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportManager

public ReportManager()
Method Detail

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-2013. All Rights Reserved.