Class CacheRuntimeDataProvider
- java.lang.Object
-
- lumis.doui.table.TableDataProvider
-
- lumis.service.portalmanagement.cache.CacheRuntimeDataProvider
-
- All Implemented Interfaces:
IDataProvider<TableSource>
,ITableDataProvider
public class CacheRuntimeDataProvider extends TableDataProvider
Completes the cache information loaded in the source with the information available in the current activePortalCache
's in this JVM.Since this class may add of rows, post load filtering, sorting and pagination are also done by this post load processor. The data provider may not use pre-loading pagination or the pagination may not work properly.
- Since:
- 4.0.11
- Version:
- $Revision$ $Date$
-
-
Field Summary
-
Fields inherited from interface lumis.doui.source.IDataProvider
INTERFACE_INSTANCE_PROPERTY_FIELDS, INTERFACE_INSTANCE_PROPERTY_FILTERS, INTERFACE_INSTANCE_PROPERTY_MAX_ROWS, INTERFACE_INSTANCE_PROPERTY_ORDER_BY, MAX_NUM_ORDER_BY_FIELDS
-
-
Constructor Summary
Constructors Constructor Description CacheRuntimeDataProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuerySelect
buildQuerySelect(TableSource source, ITransaction transaction)
void
loadData(SessionConfig sessionConfig, TableSource source, ITransaction transaction)
-
Methods inherited from class lumis.doui.table.TableDataProvider
createQueryBuilder
-
-
-
-
Constructor Detail
-
CacheRuntimeDataProvider
public CacheRuntimeDataProvider() throws PortalException
- Throws:
PortalException
-
-
Method Detail
-
buildQuerySelect
public QuerySelect buildQuerySelect(TableSource source, ITransaction transaction) throws PortalException
- Specified by:
buildQuerySelect
in interfaceITableDataProvider
- Overrides:
buildQuerySelect
in classTableDataProvider
- Throws:
PortalException
-
loadData
public void loadData(SessionConfig sessionConfig, TableSource source, ITransaction transaction) throws PortalException
- Specified by:
loadData
in interfaceIDataProvider<TableSource>
- Overrides:
loadData
in classTableDataProvider
- Throws:
PortalException
-
-