ArrayList resultLine = null;
CVDal dataAccessLayer = new CVDal(this.dataSource);
ResultSet resultSet = null;
try {
ReportLocalHome reportHome = EntityHomeFactory.getReportLocalHome();
ReportLocal reportLocal = reportHome.findByPrimaryKey(new ReportPK(reportId, this.dataSource));
reportResult.setReportId(reportLocal.getReportId());
reportResult.setModuleId(reportLocal.getModuleId());
reportResult.setName(reportLocal.getName());
reportResult.setSearchCriteria(getSearchCriteriaString(userId, reportId));
Date dateFrom = reportLocal.getDateFrom();