don't display entries twice when refreshing during loading (fix #473)

This commit is contained in:
Athou
2013-08-01 11:17:38 +02:00
parent 10fdffc378
commit 8df587aaad
5 changed files with 33 additions and 1 deletions

View File

@@ -35,6 +35,12 @@ public class Entries implements Serializable {
@ApiProperty("if the query has more elements")
private boolean hasMore;
@ApiProperty("the requested offset")
private int offset;
@ApiProperty("the requested limit")
private int limit;
@ApiProperty("list of entries")
private List<Entry> entries = Lists.newArrayList();
@@ -94,4 +100,20 @@ public class Entries implements Serializable {
this.hasMore = hasMore;
}
public int getOffset() {
return offset;
}
public void setOffset(int offset) {
this.offset = offset;
}
public int getLimit() {
return limit;
}
public void setLimit(int limit) {
this.limit = limit;
}
}