@Override public void setListDataFromSource(ArrayList<Object> params) throws DataLayerException { FilterBean filterBean = findBean("filterBean"); LoginBeanAwg loginBean = findBean("loginBean"); String startDate; String endDate; try { startDate = DateUtils.formatDateToString(filterBean.getStartDate(), "yyyyMMdd"); endDate = DateUtils.formatDateToString(filterBean.getEndDate(), "yyyyMMdd"); } catch (Exception e) { throw new DataLayerException(e.getMessage()); } this.tableList = loginBean.getFacade().getVltMilionarie(startDate, endDate, filterBean.idManufacture); }
public String getDataMtoString() { return DateUtils.dateToString(dataM, "dd/MM/yyyy"); }