info.magnolia.module.forum
Class PagedResult
java.lang.Object
info.magnolia.module.forum.PagedResult
public class PagedResult
- extends Object
A simple bean holding the results of a paged query.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
- See Also:
Pager
Constructor Summary |
PagedResult(List<javax.jcr.Node> nodePage,
long totalNodeCount)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagedResult
public PagedResult(List<javax.jcr.Node> nodePage,
long totalNodeCount)
getNodePage
public List<javax.jcr.Node> getNodePage()
- Returns:
- the requested page of nodes. (i.e a range in the results of the query)
getTotalNodeCount
public long getTotalNodeCount()
- Returns:
- the total number of nodes returned by the query.
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.