Package org.fenixedu.academic.dto.resourceAllocationManager

Examples of org.fenixedu.academic.dto.resourceAllocationManager.SearchOccupationEventsBean


public class SearchOccupationsDA extends FenixDispatchAction {

    @EntryPoint
    public ActionForward prepareSearchEvents(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        SearchOccupationEventsBean bean = new SearchOccupationEventsBean();
        request.setAttribute("bean", bean);
        return mapping.findForward("prepareSearchEvents");
    }
View Full Code Here


        return mapping.findForward("prepareSearchEvents");
    }

    public ActionForward searchSpaceEvents(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        SearchOccupationEventsBean bean = getRenderedObject();
        if (bean.getStart().isAfter(bean.getEnd())) {
            request.setAttribute("startAfterEnd", true);
        } else {
            Collection<SpaceOccupationEventBean> results = run(bean);
            request.setAttribute("results", results);
        }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.resourceAllocationManager.SearchOccupationEventsBean

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.