Package org.jresearch.gossip.forms

Examples of org.jresearch.gossip.forms.ProcessUserStatusForm


     */
    public ActionForward process(ActionMapping mapping, ActionForm form,
            HttpServletRequest request, HttpServletResponse response)
            throws SystemException {
        UserDAO dao = UserDAO.getInstance();
        ProcessUserStatusForm pusForm = (ProcessUserStatusForm) form;
        try {
           

            User u = dao.getUserInfoShort(Integer.parseInt(pusForm.getId()));
            dao.setUserStatus(u.getName(), Integer
                    .parseInt(pusForm.getStatus()));
            log(request, "logs.LOG10", pusForm.getStatus() + " uid="
                    + u.getName());

            setUpdatedLogin(dao.getUserName(Integer.parseInt(pusForm.getId())));
        } catch (SQLException sqle) {
            getServlet().log("Connection.process", sqle);
            throw new SystemException(sqle);
        }

View Full Code Here

TOP

Related Classes of org.jresearch.gossip.forms.ProcessUserStatusForm

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.