Package com.taobao.zeus.model

Examples of com.taobao.zeus.model.ZeusFollow


  public static ZeusFollow convert(ZeusFollowPersistence persist){
    if(persist==null){
      return null;
    }
    ZeusFollow zf=new ZeusFollow();
    zf.setId(persist.getId());
    zf.setUid(persist.getUid());
    zf.setTargetId(persist.getTargetId().toString());
    zf.setType(persist.getType());
    return zf;
  }
View Full Code Here


        query.setParameter(2, Long.valueOf(targetId));
        return query.list();
      }
    });
    if(list!=null && !list.isEmpty()){
      ZeusFollow zf=PersistenceAndBeanConvert.convert(list.get(0));
      return zf;
    }
    ZeusFollowPersistence persist=new ZeusFollowPersistence();
    persist.setGmtCreate(new Date());
    persist.setGmtModified(new Date());
View Full Code Here

TOP

Related Classes of com.taobao.zeus.model.ZeusFollow

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.