info.magnolia.module.shop.util
Class ShopProductPager

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

public class ShopProductPager
extends info.magnolia.module.templatingkit.util.STKPager

Refactored STKPager.


Constructor Summary
ShopProductPager(String link, Collection<javax.jcr.Node> items, javax.jcr.Node content)
           
 
Method Summary
protected  int calculateNumberOfPages()
           
 int getCount()
           
protected  int getOffset()
           
 
Methods inherited from class info.magnolia.module.templatingkit.util.STKPager
getBeginIndex, getCurrentPage, getEndIndex, getNumPages, getPageItems, getPageLink, getPagerProperties, getPosition, setCount, setResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShopProductPager

public ShopProductPager(String link,
                        Collection<javax.jcr.Node> items,
                        javax.jcr.Node content)
Method Detail

getCount

public int getCount()
Overrides:
getCount in class info.magnolia.module.templatingkit.util.STKPager

getOffset

protected int getOffset()
Overrides:
getOffset in class info.magnolia.module.templatingkit.util.STKPager

calculateNumberOfPages

protected int calculateNumberOfPages()


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