public String execute() throws Exception { // --------------------------------------------------------------------- // Get File Excel // --------------------------------------------------------------------- String path = selectionManager.getUploadFilePath(); if (path != null && path != "") { fileExcel = new File(path); } // --------------------------------------------------------------------- // Validate selected OrganisationUnit // --------------------------------------------------------------------- organisationUnit = organisationUnitSelectionManager.getSelectedOrganisationUnit(); if (organisationUnit == null) { return SUCCESS; } // --------------------------------------------------------------------- // Load and sort ImportReports // --------------------------------------------------------------------- importReports = new ArrayList<ImportReport>(importReportService.getImportReports(organisationUnit)); return SUCCESS; }