APISonar


com.hippo.ehviewer.dao.HistoryDao.Properties.Time

> com > hippo > ehviewer > dao > HistoryDao > Properties > Time
com APIs hippo APIs ehviewer APIs dao APIs HistoryDao APIs Properties APIs Time APIs

Example 1
public static synchronized void putHistoryInfo(List<HistoryInfo> historyInfoList) {
        HistoryDao dao = sDaoSession.getHistoryDao();
        for (HistoryInfo info: historyInfoList) {
            if (null == dao.load(info.gid)) {
                dao.insert(info);
            }
        }

        List<HistoryInfo> list = dao.queryBuilder().orderDesc(HistoryDao.Properties.Time)
                .limit(-1).offset(MAX_HISTORY_COUNT).list();
        dao.deleteInTx(list);
    }