Examples of AcademicCalendarRootEntry


Examples of org.fenixedu.academic.domain.time.calendarStructure.AcademicCalendarRootEntry

    public ActionForward viewAcademicCalendarEntry(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws Exception {

        AcademicCalendarEntry entry = getAcademicCalendarEntryFromParameter(request);
        AcademicCalendarRootEntry rootEntry = getAcademicCalendarRootEntryFromParameter(request);

        Partial beginPartial = getBeginFromParameter(request);
        Partial endPartial = getEndFromParameter(request);

        CalendarEntryBean bean =
View Full Code Here

Examples of org.fenixedu.academic.domain.time.calendarStructure.AcademicCalendarRootEntry

    public ActionForward prepareCreateEntry(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws Exception {

        AcademicCalendarEntry parentEntry = getAcademicCalendarEntryFromParameter(request);
        AcademicCalendarRootEntry rootEntry = getAcademicCalendarRootEntryFromParameter(request);

        Partial beginPartial = getBeginFromParameter(request);
        Partial endPartial = getEndFromParameter(request);

        request.setAttribute("parentEntryBean",
View Full Code Here

Examples of org.fenixedu.academic.domain.time.calendarStructure.AcademicCalendarRootEntry

    public ActionForward prepareEditEntry(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws Exception {

        AcademicCalendarEntry entry = getAcademicCalendarEntryFromParameter(request);
        AcademicCalendarRootEntry rootEntry = getAcademicCalendarRootEntryFromParameter(request);

        Partial beginPartial = getBeginFromParameter(request);
        Partial endPartial = getEndFromParameter(request);

        request.setAttribute("entryBean",
View Full Code Here

Examples of org.fenixedu.academic.domain.time.calendarStructure.AcademicCalendarRootEntry

    public ActionForward deleteEntry(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws Exception {

        AcademicCalendarEntry entry = getAcademicCalendarEntryFromParameter(request);
        AcademicCalendarRootEntry rootEntry = getAcademicCalendarRootEntryFromParameter(request);

        AcademicCalendarRootEntry entryRootEntry = entry.getRootEntry();
        AcademicCalendarEntry entryParentEntry = entry.getParentEntry();

        boolean deletedRootEntry = entry.isRoot();

        Partial beginPartial = getBeginFromParameter(request);
View Full Code Here

Examples of org.fenixedu.academic.domain.time.calendarStructure.AcademicCalendarRootEntry

        if (toCreate) {

            Class<? extends AcademicCalendarEntry> type = bean.getType();

            if (type.equals(AcademicCalendarRootEntry.class)) {
                return new AcademicCalendarRootEntry(bean.getTitle(), bean.getDescription(), bean.getTemplateEntry());

            } else if (type.equals(AcademicYearCE.class)) {
                return new AcademicYearCE(bean.getEntry(), bean.getTitle(), bean.getDescription(), bean.getBegin(),
                        bean.getEnd(), bean.getRootEntry());
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.