Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.pagination
Interface ResultsProvidersCache

All Known Implementing Classes:
ResultsProvidersCacheBean

Deprecated. use ContentView instances in conjunction with PageProvider instead.

@Deprecated
public interface ResultsProvidersCache

This is a controller interface for pagination. The methods are bound to actions a user can perform on a pagination controls (next, previous) displayed by pageNavigationControls.xhtml

Author:
Dragos Mihalache, Georges Racinet

Method Summary
 void destroy()
          Deprecated. Declaration for [Seam]Destroy method.
 PagedDocumentsProvider get(String name)
          Deprecated. Get a named results provider.
 PagedDocumentsProvider get(String name, SortInfo sortInfo)
          Deprecated. Gets a named results provider.
 int getNumberOfPages()
          Deprecated.  
 int getPageIndex()
          Deprecated.  
 void init()
          Deprecated. Declaration for [Seam]Create method.
 void invalidate(String name)
          Deprecated. Invalidates a results provider.
 

Method Detail

get

PagedDocumentsProvider get(String name)
                           throws ClientException
Deprecated. 
Get a named results provider.

This handles caching and first instantiation.

Throws:
ClientException
SortNotSupportedException

get

PagedDocumentsProvider get(String name,
                           SortInfo sortInfo)
                           throws ClientException,
                                  SortNotSupportedException
Deprecated. 
Gets a named results provider.

This handles caching and first instantiation.

Throws:
ClientException
SortNotSupportedException

invalidate

void invalidate(String name)
Deprecated. 
Invalidates a results provider.

A new provider will be computed next time get() is called.


init

void init()
Deprecated. 
Declaration for [Seam]Create method.


destroy

void destroy()
Deprecated. 
Declaration for [Seam]Destroy method.


getNumberOfPages

int getNumberOfPages()
Deprecated. 

getPageIndex

int getPageIndex()
Deprecated. 

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.