Class Page<T>
java.lang.Object
com.liferay.portal.vulcan.pagination.Page<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItems()
long
long
getPage()
long
long
boolean
hasNext()
boolean
static <T> Page<T>
of
(Collection<T> items) static <T> Page<T>
of
(Collection<T> items, Pagination pagination, long totalCount) static <T> Page<T>
static <T> Page<T>
of
(Map<String, Map<String, String>> actions, Collection<T> items, Pagination pagination, long totalCount) static <T> Page<T>
of
(Map<String, Map<String, String>> actions, List<Facet> facets, Collection<T> items, Pagination pagination, long totalCount) toString()
-
Constructor Details
-
Page
protected Page(Map<String, Map<String, String>> actions, List<Facet> facets, Collection<T> items, Pagination pagination, long totalCount)
-
-
Method Details
-
of
-
of
-
of
-
of
public static <T> Page<T> of(Map<String, Map<String, String>> actions, Collection<T> items, Pagination pagination, long totalCount) -
of
public static <T> Page<T> of(Map<String, Map<String, String>> actions, List<Facet> facets, Collection<T> items, Pagination pagination, long totalCount) -
fetchFirstItem
-
getActions
-
getFacets
-
getItems
-
getLastPage
public long getLastPage() -
getPage
public long getPage() -
getPageSize
public long getPageSize() -
getTotalCount
public long getTotalCount() -
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious() -
toString
-