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

report archive changed

parent 4965e17b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,4 +13,5 @@ public interface ArchivedReport extends GeneratedReport {
	 * @return unique id
	 */
	int getId();
	String getUserId();
}
+4 −2
Original line number Diff line number Diff line
@@ -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();
}