Class UIPageIterator<E>

java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.forum.common.webui.UIPageIterator<E>

public class UIPageIterator<E> extends org.exoplatform.webui.core.UIComponent
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields inherited from class org.exoplatform.webui.core.UIComponent

    AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent, USE_WEBUI_RESOURCES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    int
     
     
    int
     
    org.exoplatform.forum.common.utils.AbstractListAccess<E>
     
    getObjectInPage(int index)
     
     
    int
     
    boolean
     
    void
    setCurrentPage(int page)
     
    void
    setListAccess(org.exoplatform.forum.common.utils.AbstractListAccess<E> pageList, int pageSize)
     
    void
    setSelectedItem(String key, boolean value)
     
    void
    setUserPerPage(int userPerPage)
     

    Methods inherited from class org.exoplatform.webui.core.UIComponent

    broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, findComponentById, findComponentOfType, findFirstComponentOfType, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UIPageIterator

      public UIPageIterator()
  • Method Details

    • setListAccess

      public void setListAccess(org.exoplatform.forum.common.utils.AbstractListAccess<E> pageList, int pageSize) throws Exception
      Throws:
      Exception
    • getListAccess

      public org.exoplatform.forum.common.utils.AbstractListAccess<E> getListAccess()
    • getAvailablePage

      public int getAvailablePage() throws Exception
      Throws:
      Exception
    • getCurrentPage

      public int getCurrentPage() throws Exception
      Throws:
      Exception
    • getCurrentPageData

      public List<E> getCurrentPageData() throws Exception
      Throws:
      Exception
    • getAvailable

      public int getAvailable() throws Exception
      Throws:
      Exception
    • getFrom

      public int getFrom()
    • getTo

      public int getTo()
    • getObjectInPage

      public E getObjectInPage(int index) throws Exception
      Throws:
      Exception
    • setCurrentPage

      public void setCurrentPage(int page) throws Exception
      Throws:
      Exception
    • setUserPerPage

      public void setUserPerPage(int userPerPage) throws Exception
      Throws:
      Exception
    • setSelectedItem

      public void setSelectedItem(String key, boolean value)
    • getSelectedItems

      public Set<String> getSelectedItems()
    • isSelectedItem

      public boolean isSelectedItem(String key)