public abstract class PaginableAdapter<T> extends DefaultAdapter
In order to use it, just override the getPageProviderDefinition()
and
getParams()
Constructor and Description |
---|
PaginableAdapter() |
Modifier and Type | Method and Description |
---|---|
<A> A |
getAdapter(Class<A> adapter)
Returns an object which is an instance of the given class associated with this object.
|
Paginable<T> |
getPaginableEntries() |
disptachAdapter, getTarget, isAdapter
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
public <A> A getAdapter(Class<A> adapter)
Adaptable
null
if no such object can be found.getAdapter
in interface Adaptable
getAdapter
in class AbstractResource<ResourceTypeImpl>
adapter
- the adapter class to look upnull
if this object does not have an adapter for
the given classpublic Paginable<T> getPaginableEntries() throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.