Package org.fenixedu.academic.dto

Examples of org.fenixedu.academic.dto.InfoExamsMap


    private ExamsMapSlotContentRenderer examsMapSlotContentRenderer = new ExamsMapContentRenderer();

    @Override
    public int doStartTag() throws JspException {
        // Obtain InfoExamMap
        InfoExamsMap infoExamsMap = null;
        InfoRoomExamsMap infoRoomExamsMap = null;
        ExamsMap examsMap = null;
        IExamsMapRenderer renderer = null;
        String typeUser = "";
        String typeMapType = "";
View Full Code Here


        request.setAttribute("executionDegreeID", executionDegreeId);

        request.removeAttribute(PresentationConstants.INFO_EXAMS_MAP);
        try {
            final User userView = getUserView(request);
            final InfoExamsMap infoExamsMap =
                    ReadFilteredExamsMap.runReadFilteredExamsMap(infoExecutionDegree, curricularYears, infoExecutionPeriod);
            request.setAttribute(PresentationConstants.INFO_EXAMS_MAP, infoExamsMap);
        } catch (NonExistingServiceException e) {
            return mapping.findForward("viewExamsMap");
        }
View Full Code Here

        if (((userView != null && !userView.getPerson().hasRole(getRoleType()))) || (userView == null)) {

            if (returnedObject instanceof InfoExamsMap) {

                InfoExamsMap infoExamsMap = (InfoExamsMap) returnedObject;
                filterUnpublishedInformation(infoExamsMap);
            }
        }
    }
View Full Code Here

    }

    protected InfoExamsMap run(InfoExecutionDegree infoExecutionDegree, List<Integer> curricularYears,
            InfoExecutionPeriod infoExecutionPeriod) throws FenixServiceException {

        InfoExamsMap result = new InfoExamsMap();
        result.setInfoExecutionDegree(infoExecutionDegree);
        result.setInfoExecutionPeriod(infoExecutionPeriod);
        result.setCurricularYears(curricularYears);

        ExecutionDegree executionDegree = FenixFramework.getDomainObject(infoExecutionDegree.getExternalId());

        obtainExamSeasonInfo(result, infoExecutionPeriod.getSemester(), executionDegree);

        // Obtain execution courses and associated information of the given
        // execution degree for each curricular year specified
        List<InfoExecutionCourse> infoExecutionCourses =
                obtainInfoExecutionCourses(curricularYears, infoExecutionPeriod, executionDegree);
        result.setExecutionCourses(infoExecutionCourses);

        User user = Authenticate.getUser();
        if (user == null || !user.getPerson().hasRole(RoleType.RESOURCE_ALLOCATION_MANAGER)) {
            PublishedExamsMapAuthorizationFilter.execute(result);
        }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.InfoExamsMap

Copyright © 2018 www.massapicom. 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.