ContentView instances in conjunction with
PageProvider instead.@Deprecated @Name(value="resultsProvidersCache") @Scope(value=CONVERSATION) public class ResultsProvidersCacheBean extends Object implements ResultsProvidersCache, Serializable
This compononent maintains a cache of PagedDocumentsProvider
instances.
It's also capable of instantiating the cache by calling provider farms: other Seam components that also implement the ResultsProviderFarm interface.
| Constructor and Description |
|---|
ResultsProvidersCacheBean()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
DocumentModelList |
getCurrentPageOf(String name)
Deprecated.
|
int |
getNumberOfPages()
Deprecated.
|
int |
getPageIndex()
Deprecated.
|
String |
getRecordStatus()
Deprecated.
use normal messaging in JSF with pageIndex and numberOfPages
as params
|
void |
init()
Deprecated.
Init method needed in Seam managed lifecycle.
|
void |
invalidate(String name)
Deprecated.
Invalidates a results provider.
|
void |
invalidateChildrenProvider()
Deprecated.
|
@Create public void init()
init in interface ResultsProvidersCachepublic void destroy()
ResultsProvidersCachedestroy in interface ResultsProvidersCachepublic PagedDocumentsProvider get(String name) throws ClientException
ResultsProvidersCacheThis handles caching and first instantiation.
get in interface ResultsProvidersCacheClientExceptionpublic PagedDocumentsProvider get(String name, SortInfo sortInfo) throws ClientException, SortNotSupportedException
ResultsProvidersCacheThis handles caching and first instantiation.
get in interface ResultsProvidersCacheClientExceptionSortNotSupportedExceptionpublic void invalidate(String name)
ResultsProvidersCacheA new provider will be computed next time get() is called.
invalidate in interface ResultsProvidersCache@Observer(value={"documentChildrenChanged","locationSelectionChanged"}, create=false) @BypassInterceptors public void invalidateChildrenProvider()
public DocumentModelList getCurrentPageOf(String name) throws ClientException
ClientException@Deprecated public String getRecordStatus()
public int getNumberOfPages()
getNumberOfPages in interface ResultsProvidersCachepublic int getPageIndex()
getPageIndex in interface ResultsProvidersCacheCopyright © 2011 Nuxeo SA. All Rights Reserved.