Package org.fenixedu.academic.dto

Examples of org.fenixedu.academic.dto.InfoObject


public class ReadTeacherByOID {

    protected InfoObject run(String objectId) {
        final String externalId = objectId;
        DomainObject domainObject = FenixFramework.getDomainObject(externalId);
        InfoObject infoObject = null;

        if (domainObject != null) {
            infoObject = InfoTeacher.newInfoFromDomain((Teacher) domainObject);
        }
View Full Code Here


        }

        Collections.sort(beanList, new BeanComparator("externalId"));

        final Iterator iter = beanList.iterator();
        InfoObject prev = (InfoObject) iter.next();
        while (iter.hasNext()) {
            final InfoObject curr = (InfoObject) iter.next();
            if (curr.equals(prev)) {
                iter.remove();
            }
            prev = curr;
        }
    }
View Full Code Here

TOP

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

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.