Search in sources :

Example 1 with StatusesTimeLineDao

use of org.qii.weiciyuan.dao.user.StatusesTimeLineDao in project weiciyuan by qii.

the class StatusesByIdLoader method loadData.

public MessageListBean loadData() throws WeiboException {
    StatusesTimeLineDao dao = new StatusesTimeLineDao(token, uid);
    if (TextUtils.isEmpty(uid)) {
        dao.setScreen_name(screenName);
    }
    if (!TextUtils.isEmpty(count)) {
        dao.setCount(count);
    }
    dao.setSince_id(sinceId);
    dao.setMax_id(maxId);
    MessageListBean result = null;
    lock.lock();
    try {
        result = dao.getGSONMsgList();
    } finally {
        lock.unlock();
    }
    return result;
}
Also used : MessageListBean(org.qii.weiciyuan.bean.MessageListBean) StatusesTimeLineDao(org.qii.weiciyuan.dao.user.StatusesTimeLineDao)

Aggregations

MessageListBean (org.qii.weiciyuan.bean.MessageListBean)1 StatusesTimeLineDao (org.qii.weiciyuan.dao.user.StatusesTimeLineDao)1