DefaultPaginationInfo.java
1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.cq.commerce.common;
import com.adobe.cq.commerce.api.PaginationInfo;
public class DefaultPaginationInfo
implements PaginationInfo {
private int pageSize;
private int currentPage;
private int totalPages;
private int totalResults;
@Override
public int getPageSize() {
return this.pageSize;
}
@Override
public int getCurrentPage() {
return this.currentPage;
}
@Override
public int getTotalPages() {
return this.totalPages;
}
@Override
public int getTotalResults() {
return this.totalResults;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
public void setCurrentPage(int currentPage) {
this.currentPage = currentPage;
}
public void setTotalPages(int totalPages) {
this.totalPages = totalPages;
}
public void setTotalResults(int totalResults) {
this.totalResults = totalResults;
}
}