Package org.fenixedu.academic.dto

Examples of org.fenixedu.academic.dto.InfoClass


        String classOIDString = (String) request.getAttribute(PresentationConstants.CLASS_VIEW_OID);
        if (classOIDString == null) {
            classOIDString = request.getParameter(PresentationConstants.CLASS_VIEW_OID);
        }

        InfoClass infoClass = null;

        if (classOIDString != null) {
            // Read from database
            try {
View Full Code Here


        }

        final List<InfoClass> infoClassesList = new ArrayList<InfoClass>();

        for (final SchoolClass schoolClass : classes) {
            InfoClass infoClass = InfoClass.newInfoFromDomain(schoolClass);
            infoClassesList.add(infoClass);
        }

        return infoClassesList;
    }
View Full Code Here

            }
        }

        final List<InfoClass> infoClasses = new ArrayList<InfoClass>(availableSchoolClasses.size());
        for (final SchoolClass schoolClass : availableSchoolClasses) {
            final InfoClass infoClass = InfoClass.newInfoFromDomain(schoolClass);
            infoClasses.add(infoClass);
        }

        return infoClasses;
    }
View Full Code Here

*/
public class ReadClassByOID {

    @Atomic
    public static InfoClass run(String oid) throws FenixServiceException {
        InfoClass result = null;
        SchoolClass turma = FenixFramework.getDomainObject(oid);
        if (turma != null) {
            result = InfoClass.newInfoFromDomain(turma);
        }

View Full Code Here

        final Set<SchoolClass> classes = executionCourse.findSchoolClasses();
        final List<InfoClass> infoClasses = new ArrayList<InfoClass>(classes.size());

        for (final SchoolClass schoolClass : classes) {
            final InfoClass infoClass = InfoClass.newInfoFromDomain(schoolClass);
            infoClasses.add(infoClass);
        }

        return infoClasses;
    }
View Full Code Here

TOP

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

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.