public abstract class PaginableObject<T>
extends org.nuxeo.ecm.webengine.model.impl.DefaultObject
To be extended by WebObject returning paginable entries based on a PageProvider.
| Modifier and Type | Field and Description |
|---|---|
protected Long |
currentPageIndex |
protected String |
maxResults |
protected Long |
pageSize |
| Constructor and Description |
|---|
PaginableObject() |
| Modifier and Type | Method and Description |
|---|---|
protected Long |
extractLongParam(javax.servlet.http.HttpServletRequest request,
String paramName,
Long defaultValue) |
protected abstract org.nuxeo.ecm.platform.query.api.PageProviderDefinition |
getPageProviderDefinition() |
org.nuxeo.ecm.automation.core.util.Paginable<T> |
getPaginableEntries() |
protected org.nuxeo.ecm.automation.core.util.Paginable<T> |
getPaginableEntries(org.nuxeo.ecm.platform.query.api.PageProvider<T> pageProvider) |
protected Object[] |
getParams() |
protected org.nuxeo.ecm.core.api.DocumentModel |
getSearchDocument() |
protected void |
initialize(Object... args) |
disptachAdapter, isAdaptercheckGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toStringprotected Long currentPageIndex
protected Long pageSize
protected String maxResults
protected void initialize(Object... args)
initialize in class org.nuxeo.ecm.webengine.model.impl.AbstractResource<org.nuxeo.ecm.webengine.model.impl.ResourceTypeImpl>protected abstract org.nuxeo.ecm.platform.query.api.PageProviderDefinition getPageProviderDefinition()
protected Object[] getParams()
protected org.nuxeo.ecm.core.api.DocumentModel getSearchDocument()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic org.nuxeo.ecm.automation.core.util.Paginable<T> getPaginableEntries() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionprotected org.nuxeo.ecm.automation.core.util.Paginable<T> getPaginableEntries(org.nuxeo.ecm.platform.query.api.PageProvider<T> pageProvider)
Copyright © 2020 Nuxeo SA. All rights reserved.