Commit 322c7eee authored by R.W.Majeed's avatar R.W.Majeed

report archive changed

parent 4965e17b
......@@ -13,4 +13,5 @@ public interface ArchivedReport extends GeneratedReport {
* @return unique id
*/
int getId();
String getUserId();
}
......@@ -10,7 +10,7 @@ import org.aktin.report.GeneratedReport;
* @author R.W.Majeed
*
*/
public interface ReportArchive extends Iterable<ArchivedReport>{
public interface ReportArchive{
/**
* Add a generated report to the archive. Returns unique id string.
......@@ -38,5 +38,7 @@ public interface ReportArchive extends Iterable<ArchivedReport>{
* via getReports.
* @param reportId report id to delete
*/
void deleteReport(String reportId) throws IOException;
void deleteReport(int reportId) throws IOException;
Iterable<? extends ArchivedReport> reports();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment