Package org.fenixedu.academic.domain.phd.alert

Examples of org.fenixedu.academic.domain.phd.alert.PhdAlertMessage


    }

    public ActionForward readAlertMessage(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {

        PhdAlertMessage alertMessage = getAlertMessage(request);
        alertMessage.markAsReaded(getLoggedPerson(request));

        // back information
        String unread = (String) getFromRequest(request, "unread");
        String global = (String) getFromRequest(request, "global");
        String archive = (String) getFromRequest(request, "archive");
View Full Code Here


    }

    public ActionForward markAlertMessageAsUnread(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws Exception {

        PhdAlertMessage alertMessage = getAlertMessage(request);
        alertMessage.markAsUnread();

        Person loggedPerson = AccessControl.getPerson();
        boolean global = Boolean.valueOf((String) getFromRequest(request, "global"));
        boolean unread = Boolean.valueOf((String) getFromRequest(request, "unread"));
        boolean archive = Boolean.valueOf((String) getFromRequest(request, "archive"));
View Full Code Here

        return mapping.findForward("viewAllAlertMessages");
    }

    public ActionForward viewAlertMessageFromAllAlertMessages(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdAlertMessage alertMessage = getDomainObject(request, "alertMessageId");

        request.setAttribute("alertMessage", alertMessage);

        return mapping.findForward("viewAlertMessageFromAllAlertMessages");
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.phd.alert.PhdAlertMessage

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.