info.magnolia.module.forum
Class PagedResult

java.lang.Object
  extended by 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)
           
 
Method Summary
 List<javax.jcr.Node> getNodePage()
           
 long getTotalNodeCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagedResult

public PagedResult(List<javax.jcr.Node> nodePage,
                   long totalNodeCount)
Method Detail

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.