Package com.liusoft.dlog4j.beans

Examples of com.liusoft.dlog4j.beans.MyBlackListBean


   * @param type
   * @return
   */
  public static boolean addBlackList(int myId, int otherId, int type){
    if(namedUniqueResult("BLACKLIST", myId, otherId)==null){
      MyBlackListBean fbean = new MyBlackListBean();
      fbean.setAddTime(new Date());
      fbean.setMyId(myId);
      fbean.setOther(new UserBean(otherId));
      fbean.setType(type);
      save(fbean);
      return true;
    }
    return false;
  }
View Full Code Here

TOP

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

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.