fr.paris.lutece.plugins.calendar.service
Class AgendaLoaderDatabase

java.lang.Object
  extended by fr.paris.lutece.plugins.calendar.service.AgendaLoaderDatabase
All Implemented Interfaces:
fr.paris.lutece.portal.service.resource.ResourceLoader

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

This loader fetches agendas stored in a database


Constructor Summary
AgendaLoaderDatabase()
          The loader which fetches agendas from the database
 
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 the agenda resources from the database
 void loadAgenda(AgendaResource agenda)
          Return the agenda
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgendaLoaderDatabase

public AgendaLoaderDatabase()
The loader which fetches agendas from the database

Method Detail

getResources

public java.util.Collection getResources()
Gets all the agenda resources from the database

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

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

loadAgenda

public void loadAgenda(AgendaResource agenda)
Return the agenda

Parameters:
agenda - The agenda


Copyright © 2008 Mairie de Paris. All Rights Reserved.