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