コード例 #1
0
 @Override
 public List<String[]> csvBodyRows(
     DisabilityServicesReportTO reportResultElement,
     Map<String, Object> reportParameters,
     Collection<DisabilityServicesReportTO> reportResults,
     String reportViewUrl,
     String reportType,
     String reportName,
     AbstractCsvWriterHelper csvHelper) {
   return csvHelper.wrapCsvRowInList(
       new String[] {
         reportResultElement.getFirstName(),
         reportResultElement.getMiddleName(),
         reportResultElement.getLastName(),
         reportResultElement.getSchoolId(),
         csvHelper.formatFriendlyBoolean(reportResultElement.getIsIlp(), false),
         reportResultElement.getdisabilityTypesName(),
         reportResultElement.getCurrentProgramStatusName(),
         reportResultElement.getOdsStatus(),
         reportResultElement.getOdsReason(),
         reportResultElement.getOdsRegistrationDateString(),
         csvHelper.formatIntegerAsFriendlyBoolean(
             reportResultElement.getRegistrationStatus(), 0, false),
         reportResultElement.getMajor(),
         reportResultElement.getVeteranStatus(),
         reportResultElement.getEthnicity(),
         reportResultElement.getAssignmentDates(),
         reportResultElement.getAgencyContacts(),
         reportResultElement.getCoachFirstName(),
         reportResultElement.getCoachLastName()
       });
 }
コード例 #2
0
 @Override
 public List<String[]> csvBodyRows(
     EarlyAlertReasonCountsTO reportResultElement,
     Map<String, Object> reportParameters,
     Collection<EarlyAlertReasonCountsTO> reportResults,
     String reportViewUrl,
     String reportType,
     String reportName,
     AbstractCsvWriterHelper csvHelper) {
   return csvHelper.wrapCsvRowInList(
       new String[] {
         reportResultElement.getCampusName(),
         reportResultElement.getTermCode(),
         reportResultElement.getSchoolId(),
         reportResultElement.getLastName(),
         reportResultElement.getFirstName(),
         reportResultElement.getCourseName(),
         reportResultElement.getCourseTitle(),
         reportResultElement.getFacultyName(),
         csvHelper.formatLong(reportResultElement.getTotalReasonsReported())
       });
 }