lumis.service.portalmanagement.cache
Class CacheRuntimeDataProvider

Package class diagram package CacheRuntimeDataProvider
java.lang.Object
  extended by lumis.doui.table.TableDataProvider
      extended by 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 active PortalCache'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

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
CacheRuntimeDataProvider()
           
 
Method Summary
 QuerySelect buildQuerySelect(TableSource source, ITransaction transaction)
           
 void loadData(SessionConfig sessionConfig, TableSource source, ITransaction transaction)
           
 
Methods inherited from class lumis.doui.table.TableDataProvider
createQueryBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface ITableDataProvider
Overrides:
buildQuerySelect in class TableDataProvider
Throws:
PortalException

loadData

public void loadData(SessionConfig sessionConfig,
                     TableSource source,
                     ITransaction transaction)
              throws PortalException
Specified by:
loadData in interface IDataProvider<TableSource>
Overrides:
loadData in class TableDataProvider
Throws:
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.