LoginDao.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package testlab.dao;
/**
*
* @author ravi
*/
public interface LoginDao {
boolean validateLogin(String name,String password,String user_type);
}
------------------
TestDetailDao.java
package testlab.dao;
import java.util.List;
import javax.faces.model.SelectItem;
import testlab.beans.TestDetailBean;
/**
*
* @author ANURAGBIS
*/
public interface TestDetailDao {
List<SelectItem> branchDetail(TestDetailBean testDetailBean);
List<SelectItem> sampleTypeDetail(TestDetailBean testDetailBean);
String submitReport(TestDetailBean testDetailBean);
String submitUpdateReport(TestDetailBean testDetailBean);
void uploadPdf(TestDetailBean testDetailBean);
void uploadUpdatePdf(TestDetailBean testDetailBean);
List<TestDetailBean> searchTestByText(TestDetailBean testDetailBean);
void fetchTestDetailBySampleId(TestDetailBean testDetailBean, int sampleid);
String deleteTest(TestDetailBean testDetailBean, int sampleid);
List<TestDetailBean> viewTestbyText(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestbyType(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestbyDateText(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestBwDate(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestForBranchbyText(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestForBranchbyDateText(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestForBranchbyType(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestForBranchBwDate(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestForMgrBwDate(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestReportForLabOfSevenDays(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestReportForBranchOfSevenDays(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestReportForMngrOfSevenDays(TestDetailBean testDetailBean);
List<TestDetailBean> viewCompTestReportForMngr(TestDetailBean testDetailBean);
List<TestDetailBean> fetchSelectedLabTestDetailForMgrBwTwoDateByLabcode(TestDetailBean testDetailBean, String labcode);
List<TestDetailBean> fetchSelectedISNOTestDetailForMgrBwTwoDateByisno(TestDetailBean testDetailBean, String isno);
List<TestDetailBean> fetchAllLabTestDetailForMgrBwTwoDate(TestDetailBean testDetailBean);
List<TestDetailBean> fetchAllISNOTestDetailForMgrBwTwoDate(TestDetailBean testDetailBean);
}
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package testlab.dao;
/**
*
* @author ravi
*/
public interface LoginDao {
boolean validateLogin(String name,String password,String user_type);
}
------------------
TestDetailDao.java
package testlab.dao;
import java.util.List;
import javax.faces.model.SelectItem;
import testlab.beans.TestDetailBean;
/**
*
* @author ANURAGBIS
*/
public interface TestDetailDao {
List<SelectItem> branchDetail(TestDetailBean testDetailBean);
List<SelectItem> sampleTypeDetail(TestDetailBean testDetailBean);
String submitReport(TestDetailBean testDetailBean);
String submitUpdateReport(TestDetailBean testDetailBean);
void uploadPdf(TestDetailBean testDetailBean);
void uploadUpdatePdf(TestDetailBean testDetailBean);
List<TestDetailBean> searchTestByText(TestDetailBean testDetailBean);
void fetchTestDetailBySampleId(TestDetailBean testDetailBean, int sampleid);
String deleteTest(TestDetailBean testDetailBean, int sampleid);
List<TestDetailBean> viewTestbyText(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestbyType(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestbyDateText(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestBwDate(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestForBranchbyText(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestForBranchbyDateText(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestForBranchbyType(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestForBranchBwDate(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestForMgrBwDate(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestReportForLabOfSevenDays(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestReportForBranchOfSevenDays(TestDetailBean testDetailBean);
List<TestDetailBean> viewTestReportForMngrOfSevenDays(TestDetailBean testDetailBean);
List<TestDetailBean> viewCompTestReportForMngr(TestDetailBean testDetailBean);
List<TestDetailBean> fetchSelectedLabTestDetailForMgrBwTwoDateByLabcode(TestDetailBean testDetailBean, String labcode);
List<TestDetailBean> fetchSelectedISNOTestDetailForMgrBwTwoDateByisno(TestDetailBean testDetailBean, String isno);
List<TestDetailBean> fetchAllLabTestDetailForMgrBwTwoDate(TestDetailBean testDetailBean);
List<TestDetailBean> fetchAllISNOTestDetailForMgrBwTwoDate(TestDetailBean testDetailBean);
}
No comments:
Post a Comment