Examples of edit()


Examples of org.fenixedu.academic.domain.DegreeCurricularPlan.edit()

        }

        final ExecutionYear executionYear =
                (executionYearID == null) ? null : FenixFramework.<ExecutionYear> getDomainObject(executionYearID);

        dcpToEdit.edit(name, curricularStage, degreeCurricularPlanState, gradeScale, executionYear);
    }

}
View Full Code Here

Examples of org.fenixedu.academic.domain.ExecutionDegree.edit()

        final OccupationPeriod gradeSubmissionNormalSeason2 =
                getOccupationPeriod(periodExamsSecondSemesterBegin, gradeSubmissionNormalSeason2EndDate);
        final OccupationPeriod gradeSubmissionSpecialSeason =
                getOccupationPeriod(periodExamsSpecialSeasonBegin, gradeSubmissionSpecialSeasonEndDate);

        executionDegree.edit(executionYear, campus, publishedExamMap, periodLessonsFirstSemester, periodExamsFirstSemester,
                periodLessonsSecondSemester, periodExamsSecondSemester, periodExamsSpecialSeason, gradeSubmissionNormalSeason1,
                gradeSubmissionNormalSeason2, gradeSubmissionSpecialSeason);
    }

    private static OccupationPeriod getOccupationPeriod(final Date startDate, final Date endDate) {
View Full Code Here

Examples of org.fenixedu.academic.domain.ExternalCurricularCourse.edit()

public class EditExternalCurricularCourse {

    @Atomic
    public static void run(final EditExternalCurricularCourseBean bean) {
        final ExternalCurricularCourse externalCurricularCourse = bean.getExternalCurricularCourse();
        externalCurricularCourse.edit(bean.getName(), bean.getCode());
    }
}
View Full Code Here

Examples of org.fenixedu.academic.domain.Formation.edit()

    }

    private void editAlumniFormation(final AlumniFormation formation) {

        Formation dbFormation = formation.getAssociatedFormation();
        dbFormation.edit(formation, getFormationInstitution(formation));
    }

    // Service Invokers migrated from Berserk

    private static final EditFormation serviceInstance = new EditFormation();
View Full Code Here

Examples of org.fenixedu.academic.domain.Grouping.edit()

                            shiftType, bean.getAutomaticEnrolment(), bean.getDifferentiatedCapacity(), executionCourse,
                            bean.getDifferentiatedCapacityShifts());

        } else {
            grouping = executionCourse.getGroupingByName(bean.getName());
            grouping.edit(bean.getName(), bean.getEnrolmentBeginDay().toDate(), bean.getEnrolmentEndDay().toDate(),
                    enrolmentPolicyType, bean.getMaxGroupNumber(), bean.getIdealGroupCapacity(), bean.getMaximumGroupCapacity(),
                    bean.getMinimumGroupCapacity(), bean.getProjectDescription(), shiftType, bean.getAutomaticEnrolment(),
                    bean.getDifferentiatedCapacity(), bean.getDifferentiatedCapacityShifts());
        }
View Full Code Here

Examples of org.fenixedu.academic.domain.Job.edit()

    @Atomic
    public static void run(final AlumniJobBean jobBean) {

        Job job = FenixFramework.getDomainObject(jobBean.getJobId());
        job.edit(jobBean);
    }
}
View Full Code Here

Examples of org.fenixedu.academic.domain.Lesson.edit()

            Space newRoom = null;
            if (infoRoomOccupation != null && infoRoomOccupation.getInfoRoom() != null) {
                newRoom = SpaceUtils.findAllocatableSpaceForEducationByName(infoRoomOccupation.getInfoRoom().getNome());
            }

            aula.edit(newBeginDate, newEndDate, weekDay, begin, end, frequency, createLessonInstances, newRoom);
        }
    }

    @Atomic
    public static void run(final Lesson lesson, final Space space) throws FenixServiceException {
View Full Code Here

Examples of org.fenixedu.academic.domain.Person.edit()

            throw new DomainException("error.bind.candidacy.internal");
        }

        Person selectedPerson = bean.getPerson();
        if (selectedPerson != null) {
            selectedPerson.edit(this.getPersonalDetails());
            this.setPersonalDetails(new IndividualCandidacyInternalPersonDetails(this, selectedPerson));
        } else {
            selectedPerson = new Person(this.getPersonalDetails());
            this.setPersonalDetails(new IndividualCandidacyInternalPersonDetails(this, selectedPerson));
        }
View Full Code Here

Examples of org.fenixedu.academic.domain.Project.edit()

            throw new FenixServiceException("error.noEvaluation");
        }

        final Grouping grouping = (groupingID != null) ? FenixFramework.<Grouping> getDomainObject(groupingID) : null;

        project.edit(name, begin, end, description, onlineSubmissionsAllowed, maxSubmissionsToKeep, grouping, gradeScale,
                departments);
    }

    // Service Invokers migrated from Berserk
View Full Code Here

Examples of org.fenixedu.academic.domain.SchoolClass.edit()

    @Atomic
    public static Object run(final String externalId, final String className) throws ExistingServiceException {
        check(RolePredicates.RESOURCE_ALLOCATION_MANAGER_PREDICATE);

        final SchoolClass classToEdit = FenixFramework.getDomainObject(externalId);
        classToEdit.edit(className);
        return InfoClass.newInfoFromDomain(classToEdit);
    }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.