}
private void addParametersInformation() {
AdministrativeOffice administrativeOffice = getAdministrativeOffice();
Person coordinator = administrativeOffice.getCoordinator().getPerson();
Person student = getDocumentRequest().getPerson();
final UniversityUnit university = UniversityUnit.getInstitutionsUniversityUnit();
String coordinatorGender = getCoordinatorGender(coordinator);
String labelStudent;
if (student.isMale()) {
labelStudent = BundleUtil.getString(Bundle.ACADEMIC, getLocale(), "label.of.student.male");
} else {
labelStudent = BundleUtil.getString(Bundle.ACADEMIC, getLocale(), "label.of.student.female");
}
String coordinatorName = coordinator.getName();
String adminOfficeUnitName = getI18NText(administrativeOffice.getName()).toUpperCase();
String universityName = getMLSTextContent(university.getPartyName()).toUpperCase();
String institutionName = getInstitutionName().toUpperCase();
String template = BundleUtil.getString(Bundle.ACADEMIC, getLocale(), "label.courseLoad.personalData.first");
String firstPart =
MessageFormat.format(template, coordinatorName, coordinatorGender, adminOfficeUnitName, institutionName,
universityName, labelStudent);
addParameter("firstPart", firstPart);
addParameter("secondPart", student.getName());
addParameter("thirdPart", BundleUtil.getString(Bundle.ACADEMIC, getLocale(), "label.with.number"));
addParameter("fourthPart", getStudentNumber());
addParameter("fifthPart", BundleUtil.getString(Bundle.ACADEMIC, getLocale(), "label.of.male"));
addParameter("sixthPart", getDegreeDescription());
addParameter("seventhPart", BundleUtil.getString(Bundle.ACADEMIC, getLocale(), "label.courseLoad.endMessage"));