Package com.liusoft.dlog4j.beans

Examples of com.liusoft.dlog4j.beans.TopicOutlineBean


    while (true) {
      UserBean loginUser = super.getLoginUser(request, response);
      if (loginUser == null)
        break;
      TopicOutlineBean tbean = BBSTopicDAO.getTopicOutlineByID(tform
          .getId());
      if (tbean == null)
        break;
      if (tbean.getUser().getId() != loginUser.getId()
          && loginUser.getOwnSiteId() != tform.getSid())
        break;
      BBSTopicDAO.delete(tbean);
      TopicBean topic = new TopicBean();
      topic.setId(tbean.getId());
      SearchProxy.remove(topic);
      break;
    }
    StringBuffer ext = new StringBuffer();
    ext.append("fid=");
View Full Code Here


      //��������
      if(isUserInBlackList(site, loginUser)){
        msgs.add("reply", new ActionMessage("error.user_in_blacklist"));
        break;
      }
      TopicOutlineBean topic = BBSTopicDAO.getTopicOutlineByID(rform.getTid());
      if (topic == null
          || topic.getStatus() != TopicBean.STATUS_NORMAL
          || topic.getSite().getId() != site.getId()
          || !topic.getForum().canCreateOrUpdateTopic(loginUser)) {
        msgs.add("log", new ActionMessage("error.topic_not_available",
            new Integer(rform.getTid())));
        break;
      }
      // ����TopicBean
View Full Code Here

TOP

Related Classes of com.liusoft.dlog4j.beans.TopicOutlineBean

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.