info.magnolia.module.forum
Class Pager

java.lang.Object
  extended by info.magnolia.module.forum.Pager

public class Pager
extends Object

Pages a QueryResult while checking for permissions using a given AccessManager.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Constructor Summary
Pager(info.magnolia.cms.core.HierarchyManager hierarchyManager, javax.jcr.query.QueryResult jcrResult)
           
 
Method Summary
 PagedResult page(long skip, long maxResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pager

public Pager(info.magnolia.cms.core.HierarchyManager hierarchyManager,
             javax.jcr.query.QueryResult jcrResult)
Method Detail

page

public PagedResult page(long skip,
                        long maxResult)
                 throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.