1.以下代码行仅返回最多 30 个提要
siteFeeds = activityService.getSiteFeedEntries("testSite");
2.Below 代码行仅返回最多 30 个提要。
List<ActivityFeedEntity> activityFeedEntities = activityFeedDAO.selectSiteFeedEntries("testSite", 1000);
我想获取每个用户的所有提要,然后尝试使用“管理员”,但在这里我也无法获得超过 30 个提要
int skipCount = 0; for(int i =0; i <10; i++) { PagingRequest pagingRequest = new PagingRequest(skipCount, 15); PagingResults<ActivityFeedEntity> activityFeedEntities = activityFeedDAO.selectPagedUserFeedEntries("admin", null, "testSite", false, false, i, pagingRequest); skipCount = skipCount + 15; }
以下是 repository.properties 中设置的值
# Feed max ID range to limit maximum number of entries
activities.feed.max.idRange=1000000
# Feed max size (number of entries)
activities.feed.max.size=200
# Feed max age (eg. 44640 mins => 31 days)
activities.feed.max.ageMins=44640
谁能帮助我如何获取特定露天网站的所有网站提要