Package com.jeck.microblogging.shared.interfaces

Examples of com.jeck.microblogging.shared.interfaces.IWeibo


  @Override
  public List<Blog> listMyBlogs(Page page,BlogFeature feature) {
    logger.info("begin listMyBlogs!");
    ICallBackParameter para=new CallBackParameterImpl(perThreadRequest.get().getSession());
    if (null != para.getParameter(ICallBackParameter.ACCESS_TOKEN, AccessToken.class)){
      IWeibo weibo=new SinaWeibo();
      List<Blog> blogs=weibo.getAllWeibo(para,page,feature);
      return blogs;
    }else{
      //work for test
      List<Blog> datas= new ArrayList<Blog>();
      Blog b = new Blog();
View Full Code Here


  @Override
  public long getBlogCount() {
    logger.info("begin getBlogCount!");
    ICallBackParameter para=new CallBackParameterImpl(perThreadRequest.get().getSession());
    if (null != para.getParameter(ICallBackParameter.ACCESS_TOKEN, AccessToken.class)){
      IWeibo weibo=new SinaWeibo();
      return weibo.getAllWeiboCount(para);
    }else{
      return 0;
    }
  }
View Full Code Here

TOP

Related Classes of com.jeck.microblogging.shared.interfaces.IWeibo

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.