Package org.jresearch.gossip.dao

Examples of org.jresearch.gossip.dao.ForumDAO.addEntry()


                savePermissionGuard(session);
                if (user.getStatus() > 0) {
                    forumdao.removeEntry(user.getName());
                }

                forumdao.addEntry(getCurrentEntry(evt));

                //write message in forum log
                JGossipLog.audit(LogLevel.INFO, user, ((MessageResources) app
                        .getAttribute(Globals.MESSAGES_KEY
                                + Configurator.getInstance().get(
View Full Code Here


                if (user.getStatus() > 0) {
                    forumdao.removeEntry(user.getName());
                }

                if (!forumdao.isEntryExist(session.getId())) {
                    forumdao.addEntry(getCurrentEntry(evt));
                } else {
                    forumdao.updateEntry(getCurrentEntry(evt));
                }
                savePermissionGuard(session);
            } catch (SQLException sqle) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.