Package org.fenixedu.academic.dto.messaging

Examples of org.fenixedu.academic.dto.messaging.RegistrationsBean


            throws Exception {
        List<Registration> registrations = getUserView(request).getPerson().getStudent().getActiveRegistrations();
        if (registrations.size() == 1) {
            return forwardToShow(registrations.iterator().next(), mapping, request);
        } else {
            RegistrationsBean bean = new RegistrationsBean();
            bean.setRegistrations(registrations);
            request.setAttribute("bean", bean);
            return mapping.findForward("chooseRegistration");
        }
    }
View Full Code Here


        return new DomainObjectKeyConverter();
    }

    @Override
    public Object provide(Object arg0, Object arg1) {
        RegistrationsBean bean = (RegistrationsBean) arg0;
        return bean.getRegistrations();
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.messaging.RegistrationsBean

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.