@@ -23,10 +23,10 @@ public class Pagination {
23
23
public static final String PARAM_FUTURE_ID = "future_id" ;
24
24
public static final String PARAM_COUNT = "count" ;
25
25
26
- private Integer olderId ;
27
- private Integer newerId ;
28
- private Integer futureId ;
29
- private Integer count ;
26
+ private Long olderId ;
27
+ private Long newerId ;
28
+ private Long futureId ;
29
+ private Long count ;
30
30
31
31
/**
32
32
* Get the URL params required to request the next page of the listing.
@@ -47,7 +47,7 @@ private void assertHasNextPage() {
47
47
}
48
48
}
49
49
50
- private Integer getNextId () {
50
+ private Long getNextId () {
51
51
if (hasNextPageAssured ()) {
52
52
return newerId ;
53
53
} else {
@@ -98,35 +98,35 @@ public Map<String, String> getUrlParamsCountOnly() {
98
98
return params ;
99
99
}
100
100
101
- public Integer getOlderId () {
101
+ public Long getOlderId () {
102
102
return olderId ;
103
103
}
104
104
105
- public void setOlderId (Integer olderId ) {
105
+ public void setOlderId (Long olderId ) {
106
106
this .olderId = olderId ;
107
107
}
108
108
109
- public Integer getNewerId () {
109
+ public Long getNewerId () {
110
110
return newerId ;
111
111
}
112
112
113
- public void setNewerId (Integer newerId ) {
113
+ public void setNewerId (Long newerId ) {
114
114
this .newerId = newerId ;
115
115
}
116
116
117
- public Integer getFutureId () {
117
+ public Long getFutureId () {
118
118
return futureId ;
119
119
}
120
120
121
- public void setFutureId (Integer futureId ) {
121
+ public void setFutureId (Long futureId ) {
122
122
this .futureId = futureId ;
123
123
}
124
124
125
- public Integer getCount () {
125
+ public Long getCount () {
126
126
return count ;
127
127
}
128
128
129
- public void setCount (Integer count ) {
129
+ public void setCount (Long count ) {
130
130
this .count = count ;
131
131
}
132
132
}
0 commit comments