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

java.lang.Object
  extended by fr.paris.lutece.portal.service.cache.AbstractCacheableService
      extended by fr.paris.lutece.portal.service.resource.ResourceService
          extended by fr.paris.lutece.plugins.calendar.service.AgendaService
All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService, fr.paris.lutece.portal.service.util.LuteceService

public final class AgendaService
extends fr.paris.lutece.portal.service.resource.ResourceService

This class provides agenda access services : loading, access to configuration parameters


Method Summary
 AgendaResource getAgendaResource(java.lang.String strAgendaKeyName)
          Load and deliver an agenda by its key name
static AgendaService getInstance()
          Returns the instance of the singleton
protected  java.lang.String getLoadersProperty()
          Returns the property key that contains the loaders list
 void init()
          Initialize the Agenda service
 
Methods inherited from class fr.paris.lutece.portal.service.resource.ResourceService
addLoader, getName, getResource, getResources, initLoaders, setCacheKey, setName, setNameKey
 
Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
getCache, getCacheSize, getFromCache, initCache, isCacheEnable, putInCache, resetCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public void init()
Initialize the Agenda service


getInstance

public static AgendaService getInstance()
Returns the instance of the singleton

Returns:
The instance of the singleton

getLoadersProperty

protected java.lang.String getLoadersProperty()
Returns the property key that contains the loaders list

Specified by:
getLoadersProperty in class fr.paris.lutece.portal.service.resource.ResourceService
Returns:
A property key

getAgendaResource

public AgendaResource getAgendaResource(java.lang.String strAgendaKeyName)
Load and deliver an agenda by its key name

Parameters:
strAgendaKeyName - The agenda key name
Returns:
An Agenda object


Copyright © 2008 Mairie de Paris. All Rights Reserved.