Class PageProviderAdapter
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
org.nuxeo.ecm.restapi.server.jaxrs.adapters.PaginableAdapter<DocumentModel>
org.nuxeo.ecm.restapi.server.jaxrs.adapters.DocumentModelListPaginableAdapter
org.nuxeo.ecm.restapi.server.jaxrs.adapters.PageProviderAdapter
- All Implemented Interfaces:
AdapterResource
,Resource
,Adaptable
Adapter that expose a page provider that needs only one parameter that is the document Id
- Since:
- 5.7.2
-
Field Summary
Fields inherited from class org.nuxeo.ecm.restapi.server.jaxrs.adapters.PaginableAdapter
currentPageIndex, maxResults, pageSize, sortBy, sortOrder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PageProviderDefinition
protected Object[]
getProviderDocs
(String providerName) Methods inherited from class org.nuxeo.ecm.restapi.server.jaxrs.adapters.DocumentModelListPaginableAdapter
getPaginableEntries
Methods inherited from class org.nuxeo.ecm.restapi.server.jaxrs.adapters.PaginableAdapter
extractLongParam, getAdapter, getPaginableEntries, getSearchDocument, initialize
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
disptachAdapter, getTarget, isAdapter
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.nuxeo.ecm.webengine.model.Resource
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
PageProviderAdapter
public PageProviderAdapter()
-
-
Method Details
-
getPageProviderDefinition
- Specified by:
getPageProviderDefinition
in classPaginableAdapter<DocumentModel>
-
getParams
- Overrides:
getParams
in classPaginableAdapter<DocumentModel>
-
getProviderDocs
-