public abstract class MapDataProvider extends Object implements IDataProvider<TabularSource<?>>
INTERFACE_INSTANCE_PROPERTY_FIELDS, INTERFACE_INSTANCE_PROPERTY_FILTERS, INTERFACE_INSTANCE_PROPERTY_MAX_ROWS, INTERFACE_INSTANCE_PROPERTY_ORDER_BY, MAX_NUM_ORDER_BY_FIELDS
Constructor and Description |
---|
MapDataProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildTabularData(Map<?,?> mapData,
TabularSource<?> source)
Fill the TabularData from TabularSource using the information in the Map
|
void |
loadData(SessionConfig sessionConfig,
TabularSource<?> source,
ITransaction transaction) |
protected abstract Map<?,?> |
obtainMapData(SessionConfig sessionConfig,
TabularSource<?> source,
ITransaction transaction)
Provides the Map data for each specific implementation
|
public void loadData(SessionConfig sessionConfig, TabularSource<?> source, ITransaction transaction) throws PortalException
loadData
in interface IDataProvider<TabularSource<?>>
PortalException
protected abstract Map<?,?> obtainMapData(SessionConfig sessionConfig, TabularSource<?> source, ITransaction transaction) throws PortalException
sessionConfig
- an instance of SessionConfigsource
- an instance of TabularSourcetransaction
- the current transactionPortalException
- whenever an error occurprotected void buildTabularData(Map<?,?> mapData, TabularSource<?> source) throws PortalException
mapData
- the Map containing the datasource
- the TabularSource instancePortalException
- whenever an error occurLumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.