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 -
Field Summary
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent, USE_WEBUI_RESOURCES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintgetFrom()org.exoplatform.forum.common.utils.AbstractListAccess<E>getObjectInPage(int index) intgetTo()booleanisSelectedItem(String key) voidsetCurrentPage(int page) voidsetListAccess(org.exoplatform.forum.common.utils.AbstractListAccess<E> pageList, int pageSize) voidsetSelectedItem(String key, boolean value) voidsetUserPerPage(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
-
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
-
getAvailablePage
- Throws:
Exception
-
getCurrentPage
- Throws:
Exception
-
getCurrentPageData
- Throws:
Exception
-
getAvailable
- Throws:
Exception
-
getFrom
public int getFrom() -
getTo
public int getTo() -
getObjectInPage
- Throws:
Exception
-
setCurrentPage
- Throws:
Exception
-
setUserPerPage
- Throws:
Exception
-
setSelectedItem
-
getSelectedItems
-
isSelectedItem
-