Class PaginableObject<T>
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.restapi.server.jaxrs.PaginableObject<T>
- Direct Known Subclasses:
AbstractUMRootObject
,DirectoryObject
,TaskObject
Paginable WebObject.
To be extended by WebObject returning paginable entries based on a PageProvider
.
- Since:
- 5.8
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Long
extractLongParam
(javax.servlet.http.HttpServletRequest request, String paramName, Long defaultValue) protected abstract PageProviderDefinition
getPaginableEntries
(PageProvider<T> pageProvider) protected Object[]
protected DocumentModel
protected void
initialize
(Object... args) Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, 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, toString
-
Field Details
-
currentPageIndex
-
offset
-
pageSize
-
maxResults
-
-
Constructor Details
-
PaginableObject
public PaginableObject()
-
-
Method Details
-
initialize
- Overrides:
initialize
in classAbstractResource<ResourceTypeImpl>
-
getPageProviderDefinition
-
getParams
-
getSearchDocument
-
getPaginableEntries
-
getPaginableEntries
-
extractLongParam
-