1 18 19 package cowsultants.itracker.web.reports; 20 21 import java.util.*; 22 import javax.servlet.http.HttpServletRequest ; 23 import javax.servlet.http.HttpServletResponse ; 24 import javax.servlet.http.HttpSession ; 25 26 import org.apache.struts.action.ActionMapping; 27 28 import cowsultants.itracker.ejb.client.exceptions.ReportException; 29 import cowsultants.itracker.ejb.client.models.IssueModel; 30 import cowsultants.itracker.ejb.client.models.ReportModel; 31 32 public interface ITrackerReport { 33 34 44 public void initializeReport(IssueModel[] issues, ReportModel report, Locale locale, String reportOutput, HttpSession session) throws ReportException; 45 46 52 public void augmentReport() throws ReportException; 53 54 62 public void outputPDF(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws ReportException; 63 64 72 public void outputHTML(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws ReportException; 73 74 82 public void outputXLS(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws ReportException; 83 84 92 public void outputCSV(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws ReportException; 93 94 99 public Object getReport() throws ReportException; 100 } 101 | Popular Tags |