return "graduationRAIDES";
}
@Override
public void renderReport(Spreadsheet spreadsheet) throws Exception {
ExecutionYear executionYear = getExecutionYear();
createHeaders(spreadsheet);
logger.info("BEGIN report for " + getDegreeType().name());
for (final StudentCurricularPlan studentCurricularPlan : getStudentCurricularPlansToProcess(executionYear)) {
final Registration registration = studentCurricularPlan.getRegistration();
if (registration != null && !registration.isTransition() && !registration.isSchoolPartConcluded()) {
for (final CycleType cycleType : registration.getDegreeType().getCycleTypes()) {
final CycleCurriculumGroup cycleCGroup = studentCurricularPlan.getRoot().getCycleCurriculumGroup(cycleType);
if (cycleCGroup != null && !cycleCGroup.isExternal()) {
final RegistrationConclusionBean registrationConclusionBean =
new RegistrationConclusionBean(registration, cycleCGroup);
if (cycleCGroup.isConcluded()) {
final ExecutionYear conclusionYear = registrationConclusionBean.getConclusionYear();
if (conclusionYear != executionYear && conclusionYear != executionYear.getPreviousExecutionYear()) {
continue;
}