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