Search in sources :

Example 1 with ShareShortUrlTimeLineDao

use of org.qii.weiciyuan.dao.shorturl.ShareShortUrlTimeLineDao in project weiciyuan by qii.

the class BrowserShareMsgLoader method loadData.

public ShareListBean loadData() throws WeiboException {
    ShareShortUrlTimeLineDao dao = new ShareShortUrlTimeLineDao(token, url);
    dao.setMaxId(maxId);
    ShareListBean result = null;
    lock.lock();
    try {
        result = dao.getGSONMsgList();
    } finally {
        lock.unlock();
    }
    return result;
}
Also used : ShareListBean(org.qii.weiciyuan.bean.ShareListBean) ShareShortUrlTimeLineDao(org.qii.weiciyuan.dao.shorturl.ShareShortUrlTimeLineDao)

Aggregations

ShareListBean (org.qii.weiciyuan.bean.ShareListBean)1 ShareShortUrlTimeLineDao (org.qii.weiciyuan.dao.shorturl.ShareShortUrlTimeLineDao)1