public final class AppointmentFormCacheService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
| Modifier and Type | Method and Description |
|---|---|
static String |
getAppointmentDayKey(int nIdDay)
Get the cache key for a given appointment day
|
String |
getAppointmentResponseCacheKey(int nIdAppointment)
Get the cache key form appointment responses
|
static String |
getAppointmentSlotKey(int nIdSlot)
Get the cache key for a given appointment day
|
static String |
getCalendarTemplateCacheKey(int nId)
Get the cache key for a calendar template
|
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
|
static String |
getListAppointmentTimesCacheKey(int nAppointmentDuration,
int nOpeningHour,
int nOpeningMinutes,
int nClosingHour,
int nClosingMinutes)
Get the cache key to lists of appointment times
|
String |
getName() |
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCachepublic static AppointmentFormCacheService getInstance()
public static String getFormCacheKey(int nIdForm)
nIdForm - The id of the formpublic static String getFormMessageCacheKey(int nIdForm)
nIdForm - The id of the formpublic String getAppointmentResponseCacheKey(int nIdAppointment)
nIdAppointment - The id of the appointmentpublic static String getListAppointmentTimesCacheKey(int nAppointmentDuration, int nOpeningHour, int nOpeningMinutes, int nClosingHour, int nClosingMinutes)
nAppointmentDuration - The appointment durationnOpeningHour - The opening hournOpeningMinutes - The opening minutenClosingHour - The closing hournClosingMinutes - The closing minutepublic static String getAppointmentDayKey(int nIdDay)
nIdDay - The id of the daypublic static String getAppointmentSlotKey(int nIdSlot)
nIdSlot - The id of the slotpublic String getName()
public static String getCalendarTemplateCacheKey(int nId)
nId - The id of the calendar templateCopyright © 2015 Mairie de Paris. All rights reserved.