return WrittenTest.class.getSimpleName();
final String originPage = getOriginPage(); if (originPage != null && originPage.length() > 0) { FacesContext.getCurrentInstance().getExternalContext() .redirect(getApplicationContext() + "/sop/searchWrittenEvaluationsByDate.do?method=returnToSearchPage&amp;page=0&date=" + DateFormatUtil.format("yyyy/MM/dd", this.getBegin().getTime())     + "&" + SessionConstants.EXECUTION_PERIOD_OID + "=" + getExecutionPeriodID() ); return originPage; } else { return WrittenTest.class.getSimpleName();  }
    public String editWrittenEvaluation() throws FenixFilterException, FenixServiceException {        if (this.getSeason() != null && this.getSeason().equals("noSelection")) {            this.setErrorMessage("label.choose.request");            return "";        }        List<String> executionCourseIDs = new ArrayList<String>(this.getAssociatedExecutionCourses()                .size());        List<String> curricularCourseScopeIDs = new ArrayList<String>();        List<String> roomsIDs = new ArrayList<String>();        if (!prepareArguments(executionCourseIDs, curricularCourseScopeIDs, roomsIDs)) {            return "";        }        final Season season = (getSeason() != null) ? new Season(getSeason()) : null;        final Object[] args = { null, this.getBegin().getTime(), this.getBegin().getTime(),                this.getEnd().getTime(), executionCourseIDs, curricularCourseScopeIDs, roomsIDs,                this.evaluationID, season, this.getDescription() };        try {            ServiceUtils.executeService(getUserView(), "EditWrittenEvaluation", args);        } catch (Exception e) {            String errorMessage = e.getMessage();            if (e instanceof NotAuthorizedFilterException) {                errorMessage = "message.error.notAuthorized";            }            this.setErrorMessage(errorMessage);            return "";        }        return WrittenTest.class.getSimpleName();    }