org.openengsb.domain.report.common
Class FileSystemReportStore

java.lang.Object
  extended by org.openengsb.domain.report.common.FileSystemReportStore
All Implemented Interfaces:
ReportStore

public class FileSystemReportStore
extends Object
implements ReportStore


Constructor Summary
FileSystemReportStore(File rootDirectory)
           
 
Method Summary
 void createCategory(String category)
           
 List<String> getAllCategories()
           
 List<Report> getAllReports(String category)
           
 void removeCategory(String category)
           
 void removeReport(String category, Report report)
           
 void storeReport(String category, Report report)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemReportStore

public FileSystemReportStore(File rootDirectory)
Method Detail

getAllReports

public List<Report> getAllReports(String category)
Specified by:
getAllReports in interface ReportStore

storeReport

public void storeReport(String category,
                        Report report)
Specified by:
storeReport in interface ReportStore

removeReport

public void removeReport(String category,
                         Report report)
Specified by:
removeReport in interface ReportStore

getAllCategories

public List<String> getAllCategories()
Specified by:
getAllCategories in interface ReportStore

removeCategory

public void removeCategory(String category)
Specified by:
removeCategory in interface ReportStore

createCategory

public void createCategory(String category)
Specified by:
createCategory in interface ReportStore


Copyright © 2009-2010. All Rights Reserved.