Package com.liusoft.dlog4j.beans

Examples of com.liusoft.dlog4j.beans.PhotoOutlineBean


      SessionUserObject loginUser = super.getLoginUser(request,response,false);
      if(loginUser==null){
        msgs.add("photo", new ActionMessage("error.user_not_login"));
        break;
      }
      PhotoOutlineBean pbean = PhotoDAO.getPhotoOutlineByID(pform.getId());
      if(pbean==null||pbean.getStatus()!=PhotoBean.STATUS_NORMAL){
        msgs.add("photo", new ActionMessage("error.invalid_photo", new Integer(pform.getId())));
        break;
      }
      //�����ʼ�
      String s_mails = request.getParameter("mails");     
View Full Code Here


      //��������
      if(loginUser!=null && isUserInBlackList(site, loginUser)){
        msgs.add("photo", new ActionMessage("error.user_in_blacklist"));
        break;
      }
      PhotoOutlineBean photo = PhotoDAO.getPhotoOutlineByID(reply.getParentId());
      if (photo == null || photo.getSite().getId() != reply.getSid()) {
        msgs.add("reply", new ActionMessage("error.param"));
        break;
      }
      if(photo.getLock()==1) {
        msgs.add("reply", new ActionMessage("error.photo.locked"));
        break;
      }
      // ���������д������
      rbean.setUser(loginUser);
View Full Code Here

TOP

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

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.