Package org.jresearch.gossip.beans

Examples of org.jresearch.gossip.beans.NamedValue


        try {
            rs = (ResultSet) st.executeQuery();

            while (rs.next()) {
                NamedValue nv = new NamedValue();
                nv.setName(rs.getString("user_name"));
                nv.setValue(rs.getString("user_mail"));
                list.add(nv);
            }
        } finally {
            if (rs != null) {
                rs.close();
View Full Code Here


            ArrayList userMails = dao.getUserEmails();
            Iterator it = userMails.iterator();
            BanGuard guard = BanGuard.getInstance();
            while (it.hasNext()) {
                NamedValue nv = (NamedValue) it.next();

                if (!guard.checkBan(nv.getValue(), BanType.EMAIL)
                        && !user.getName().equals(nv.getName())) {
                    messArgs[0] = nv.getName();
                    queue.push(new MailMessage(messages.getMessage(
                            "mails.ADMIN_MAIL", messArgs),
                            samForm.getSubject(), Configurator.getInstance()
                                    .get(IConst.CONFIG.ADMINMAIL), user
                                    .getName(), nv.getValue(), nv.getName()));
                }
            }
            request.removeAttribute("sendAdminMailForm");
            log(request, "status.ADMIN_MAIL_SENT");
            setStatusMessage(request, "status.ADMIN_MAIL_SENT");
View Full Code Here

TOP

Related Classes of org.jresearch.gossip.beans.NamedValue

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.