org.openengsb.domain.report.common
Class InMemoryReportStore

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

public class InMemoryReportStore
extends Object
implements ReportStore


Constructor Summary
InMemoryReportStore()
           
 
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

InMemoryReportStore

public InMemoryReportStore()
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-2011. All Rights Reserved.