1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kew.actionlist; |
17 | |
|
18 | |
import java.util.List; |
19 | |
|
20 | |
import org.displaytag.pagination.PaginatedList; |
21 | |
import org.displaytag.properties.SortOrderEnum; |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
public class PaginatedActionList implements PaginatedList { |
30 | |
|
31 | |
private final List list; |
32 | |
private final int fullListSize; |
33 | |
private final int pageNumber; |
34 | |
private final int objectsPerPage; |
35 | |
private final String searchId; |
36 | |
private final String sortCriterion; |
37 | |
private final SortOrderEnum sortDirection; |
38 | |
|
39 | 0 | public PaginatedActionList(List list, int fullListSize, int pageNumber, int objectsPerPage, String searchId, String sortCriterion, SortOrderEnum sortDirection) { |
40 | 0 | this.list = list; |
41 | 0 | this.fullListSize = fullListSize; |
42 | 0 | this.pageNumber = pageNumber; |
43 | 0 | this.objectsPerPage = objectsPerPage; |
44 | 0 | this.searchId = searchId; |
45 | 0 | this.sortCriterion = sortCriterion; |
46 | 0 | this.sortDirection = sortDirection; |
47 | 0 | } |
48 | |
|
49 | |
public int getFullListSize() { |
50 | 0 | return fullListSize; |
51 | |
} |
52 | |
|
53 | |
public List getList() { |
54 | 0 | return list; |
55 | |
} |
56 | |
|
57 | |
public int getObjectsPerPage() { |
58 | 0 | return objectsPerPage; |
59 | |
} |
60 | |
|
61 | |
public int getPageNumber() { |
62 | 0 | return pageNumber; |
63 | |
} |
64 | |
|
65 | |
public String getSearchId() { |
66 | 0 | return searchId; |
67 | |
} |
68 | |
|
69 | |
public String getSortCriterion() { |
70 | 0 | return sortCriterion; |
71 | |
} |
72 | |
|
73 | |
public SortOrderEnum getSortDirection() { |
74 | 0 | return sortDirection; |
75 | |
} |
76 | |
|
77 | |
} |