Package org.jresearch.gossip.dao

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


                }
            }

            //subscribe user to e-mail from this thread...
            if (IConst.VALUES.TRUE.equals(messageForm.getSubscribe())) {
                dao.subscribe(messageForm.getTid(), messageForm.getEmail(),
                        messageForm.getName());
            }

            session.removeAttribute(IConst.REQUEST.CURR_THREAD);
View Full Code Here


    User user = (User) session.getAttribute(IConst.SESSION.USER_KEY);
    ProcessTopicForm ptForm = (ProcessTopicForm) form;
    ForumDAO dao = ForumDAO.getInstance();
    try {
     
      dao.subscribe(ptForm.getTid(), user.getInfo().getEmail(), user
          .getName());
      setStatusMessage(request, "mails.CONFIRM_SUBSCR");
    } catch (SQLException sqle) {
      getServlet().log("Connection.process", sqle);
      throw new SystemException(sqle);
View Full Code Here

                        (currThread.getLocked() == IConst.Topic.STATUS_UNLOCKED))) {
                    dao.updateMessage(messageForm);

                    //subscribe user to e-mail from this thread...
                    if (IConst.VALUES.TRUE.equals(messageForm.getSubscribe())) {
                        dao.subscribe(messageForm.getTid(),
                            user.getInfo().getEmail(), user.getName());
                    }

                    log(request, "logs.LOG28",
                        " mid=" + messageForm.getMid() + " tid=" +
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.