lumis.service.portalmanagement.theme
Class ThemeAdministrationListDataProvider

Package class diagram package ThemeAdministrationListDataProvider
java.lang.Object
  extended by lumis.doui.source.AbstractObjectDataProvider<TabularSource<?>,Object>
      extended by lumis.service.portalmanagement.theme.ThemeAdministrationListDataProvider
All Implemented Interfaces:
IDataProvider<TabularSource<?>>

public class ThemeAdministrationListDataProvider
extends AbstractObjectDataProvider<TabularSource<?>,Object>

Theme administration list data provider.

Since:
7.0.0

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
ThemeAdministrationListDataProvider()
          Default constructor.
 
Method Summary
 void loadData(SessionConfig sessionConfig, TabularSource<?> source, ITransaction transaction)
           
protected  List<Object> loadObjects(SessionConfig sessionConfig, TabularSource<?> source, ITransaction transaction)
          Loads the objects.
 
Methods inherited from class lumis.doui.source.AbstractObjectDataProvider
getTotalRows, readProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeAdministrationListDataProvider

public ThemeAdministrationListDataProvider()
Default constructor.

Since:
7.0.0
Method Detail

loadObjects

protected List<Object> loadObjects(SessionConfig sessionConfig,
                                   TabularSource<?> source,
                                   ITransaction transaction)
                            throws PortalException
Description copied from class: AbstractObjectDataProvider
Loads the objects. The properties of the objects returned will be used to populate the source's tabular data.

Specified by:
loadObjects in class AbstractObjectDataProvider<TabularSource<?>,Object>
Parameters:
sessionConfig - the user session information.
source - the source that will be populated.
transaction - the transaction for persistence access.
Returns:
a list of objects with the data to populate the source.
Throws:
PortalException
See Also:
#getTotalRows(SessionConfig, TabularSource, ITransaction)}

loadData

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


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.