1。下面的代码行仅返回最多30个供稿
List<ActivityFeedEntity> activityFeedEntities = activityFeedDAO.selectSiteFeedEntries("testSite", 1000);
2。下面的代码行仅返回最多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;
}
我想获取每个用户的所有供稿,然后尝试使用“管理员”,但在这里我也无法获取30个以上的供稿
# 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
以下是在repository.properties中设置的值
getMap()
任何人都可以帮助我如何获取特定露天场所的所有站点供稿
答案 0 :(得分:1)
我已经使用此方案sdk2进行了测试,它为我提供了30多个条目。
List<ActivityFeedEntity> feeds= activityFeedDAO.selectSiteFeedEntries("demo", 100);
System.out.println(feeds.size());