/*Funcion: Obtener filtros por el campo Param: ReportSourceId Return: Lista ReportSourceView */ public List<ReportSourceView> getFilterByField(int ReportSourceId) { SourceDao Dao = new SourceDao(); DataTable DaoResult = Dao.getFilterByField(ReportSourceId); return buildFilterbyField(DaoResult); }
public List<ReportSourceView> getSource() { SourceDao Dao = new SourceDao(); DataTable DaoResult = Dao.getSourceReports(); return BuildReportSource(DaoResult); }
/*Funcion: Obtiene los criterios Param: FilterId Return: Lista CriteriaView */ public List<CriteriaView> getCriteria(int FilterId) { SourceDao Dao = new SourceDao(); DataTable DaoResult = Dao.getCriteria(FilterId); return buildCriteria(DaoResult); }