1 18 19 package cowsultants.itracker.ejb.client.interfaces; 20 21 import java.util.HashMap ; 22 import javax.ejb.EJBLocalObject ; 23 24 import cowsultants.itracker.ejb.client.exceptions.*; 25 import cowsultants.itracker.ejb.client.models.*; 26 27 public interface ReportHandler extends EJBLocalObject { 28 public static final String JNDI_NAME = "ejb/ReportHandler"; 29 30 public ReportModel getReport(Integer id); 31 public byte[] getReportFile(Integer reportId); 32 public ReportModel[] getAllReports(); 33 public int getNumberReports(); 34 35 public ReportModel createReport(ReportModel model); 36 public ReportModel updateReport(ReportModel model); 37 public boolean removeReport(Integer reportId); 38 } | Popular Tags |