public MarkSheet(CurricularCourse curricularCourse, ExecutionPeriod executionPeriod, Teacher responsibleTeacher, Date evaluationDate, MarkSheetType markSheetType, MarkSheetState markSheetState, Boolean submittedByTeacher, Collection<MarkSheetEnrolmentEvaluationBean> markSheetEnrolmentEvaluationBeans) {  this(); checkParameters(curricularCourse, executionPeriod, responsibleTeacher, evaluationDate, markSheetType, markSheetState, markSheetEnrolmentEvaluationBeans); init(curricularCourse, executionPeriod, responsibleTeacher, evaluationDate, markSheetType, markSheetState, submittedByTeacher);  if (getMarkSheetState() == MarkSheetState.RECTIFICATION_NOT_CONFIRMED) { addEnrolmentEvaluationsWithoutResctrictions(responsibleTeacher, markSheetEnrolmentEvaluationBeans, EnrolmentEvaluationState.TEMPORARY_OBJ); } else { addEnrolmentEvaluationsWithResctrictions(responsibleTeacher, markSheetEnrolmentEvaluationBeans, EnrolmentEvaluationState.TEMPORARY_OBJ); } generateCheckSum();
private MarkSheet() { super(); setRootDomainObject(RootDomainObject.getInstance()); setCreationDate(new Date()); setPrinted(Boolean.FALSE);
    public MarkSheet(CurricularCourse curricularCourse, ExecutionPeriod executionPeriod,            Teacher responsibleTeacher, Date evaluationDate, MarkSheetType markSheetType,            MarkSheetState markSheetState, Boolean submittedByTeacher,            Collection<MarkSheetEnrolmentEvaluationBean> markSheetEnrolmentEvaluationBeans) {        this();        checkParameters(curricularCourse, executionPeriod, responsibleTeacher, evaluationDate, markSheetType, markSheetState, markSheetEnrolmentEvaluationBeans);        init(curricularCourse, executionPeriod, responsibleTeacher, evaluationDate, markSheetType, markSheetState, submittedByTeacher);        if (getMarkSheetState() == MarkSheetState.RECTIFICATION_NOT_CONFIRMED) {            addEnrolmentEvaluationsWithoutResctrictions(responsibleTeacher,                    markSheetEnrolmentEvaluationBeans, EnrolmentEvaluationState.TEMPORARY_OBJ);        } else {            addEnrolmentEvaluationsWithResctrictions(responsibleTeacher,                    markSheetEnrolmentEvaluationBeans, EnrolmentEvaluationState.TEMPORARY_OBJ);        }        generateCheckSum();    }