fr.paris.lutece.plugins.dbpage.business
Class DbPageLoaderProperties

java.lang.Object
  extended by fr.paris.lutece.plugins.dbpage.business.DbPageLoaderProperties
All Implemented Interfaces:
fr.paris.lutece.portal.service.resource.ResourceLoader

public class DbPageLoaderProperties
extends java.lang.Object
implements fr.paris.lutece.portal.service.resource.ResourceLoader

This class provides the properties object loader


Constructor Summary
DbPageLoaderProperties()
          Constructor
 
Method Summary
 fr.paris.lutece.portal.service.resource.Resource getResource(java.lang.String strId)
          Get a resource by its Id
 java.util.Collection getResources()
          Gets all resource available for this Loader
 java.util.List<DbPageSection> loadListSection(java.util.Properties properties, int nSections)
          Return a list of sections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbPageLoaderProperties

public DbPageLoaderProperties()
Constructor

Method Detail

getResources

public java.util.Collection getResources()
Gets all resource available for this Loader

Specified by:
getResources in interface fr.paris.lutece.portal.service.resource.ResourceLoader
Returns:
A collection of resources

getResource

public fr.paris.lutece.portal.service.resource.Resource getResource(java.lang.String strId)
Get a resource by its Id

Specified by:
getResource in interface fr.paris.lutece.portal.service.resource.ResourceLoader
Parameters:
strId - The resource Id
Returns:
The resource

loadListSection

public java.util.List<DbPageSection> loadListSection(java.util.Properties properties,
                                                     int nSections)
Return a list of sections

Parameters:
properties - the list of properties
nSections - the section of the properties
Returns:
the collection of dbPageSection


Copyright © 2007 Mairie de Paris. All Rights Reserved.