info.magnolia.module.templatingkit.util
Class STKPager

java.lang.Object
  extended by info.magnolia.module.templatingkit.util.STKPager

public class STKPager
extends Object

Allows to define pagination.

Version:
$Id$
Author:
tmiyar

Constructor Summary
protected STKPager()
           
  STKPager(String link, Collection items, javax.jcr.Node content)
           
 
Method Summary
 int getBeginIndex()
           
 int getCount()
           
 int getCurrentPage()
           
 int getEndIndex()
           
 int getNumPages()
           
protected  int getOffset()
           
 Collection getPageItems()
           
 String getPageLink(int i)
           
protected  void getPagerProperties(javax.jcr.Node content)
           
 String getPosition()
           
protected  void setCount(int count)
           
protected  void setResults(int maxResultsPerPage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

STKPager

public STKPager(String link,
                Collection items,
                javax.jcr.Node content)

STKPager

protected STKPager()
Method Detail

setResults

protected void setResults(int maxResultsPerPage)

setCount

protected void setCount(int count)

getPageItems

public Collection getPageItems()

getOffset

protected int getOffset()

getCurrentPage

public int getCurrentPage()

getPageLink

public String getPageLink(int i)

getNumPages

public int getNumPages()

getBeginIndex

public int getBeginIndex()

getEndIndex

public int getEndIndex()

getPosition

public String getPosition()

getPagerProperties

protected void getPagerProperties(javax.jcr.Node content)

getCount

public int getCount()


Copyright © 2008-2013 Magnolia International Ltd.. All Rights Reserved.