fr.paris.lutece.plugins.appointment.service
Class AppointmentFormCacheService

java.lang.Object
  extended by fr.paris.lutece.portal.service.cache.AbstractCacheableService
      extended by fr.paris.lutece.plugins.appointment.service.AppointmentFormCacheService
All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService, fr.paris.lutece.portal.service.util.LuteceService, Cloneable, net.sf.ehcache.event.CacheEventListener

public final class AppointmentFormCacheService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService

Get the instance of the cache service


Method Summary
 String getAppointmentResponseCacheKey(int nIdAppointment)
          Get the cache key form appointment responses
static String getFormCacheKey(int nIdForm)
          Get the cache key for a given form
static String getFormMessageCacheKey(int nIdForm)
          Get the cache key for a given form message
static AppointmentFormCacheService getInstance()
          Get the instance of the cache service
 String getName()
          
 
Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static AppointmentFormCacheService getInstance()
Get the instance of the cache service

Returns:
The instance of the service

getFormCacheKey

public static String getFormCacheKey(int nIdForm)
Get the cache key for a given form

Parameters:
nIdForm - The id of the form
Returns:
The cache key for the form

getFormMessageCacheKey

public static String getFormMessageCacheKey(int nIdForm)
Get the cache key for a given form message

Parameters:
nIdForm - The id of the form
Returns:
The cache key for the form message

getAppointmentResponseCacheKey

public String getAppointmentResponseCacheKey(int nIdAppointment)
Get the cache key form appointment responses

Parameters:
nIdAppointment - The id of the appointment
Returns:
The cache key for the given appointment

getName

public String getName()



Copyright © 2014 Mairie de Paris. All Rights Reserved.