Class AlertGruCacheService
- java.lang.Object
-
- fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
- fr.paris.lutece.plugins.workflow.modules.alertgru.service.cache.AlertGruCacheService
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService,fr.paris.lutece.portal.service.util.LuteceService,java.lang.Cloneable,net.sf.ehcache.event.CacheEventListener
public final class AlertGruCacheService extends fr.paris.lutece.portal.service.cache.AbstractCacheableServiceThe Class NotifyGruCacheService.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertGruTaskConfiggetAlertGruConfigFromCache(fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskAlertGruConfigService, int nidTask)Gets the notify gru config from cache.static AlertGruCacheServicegetInstance()Gets the single instance of NotifyGruCacheService.java.lang.StringgetName()voidremoveGruConfigFromCache(int nidTask)Removes the gru config from cache.-
Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getStatistics, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
-
-
-
-
Method Detail
-
getInstance
public static AlertGruCacheService getInstance()
Gets the single instance of NotifyGruCacheService.- Returns:
- single instance of NotifyGruCacheService
-
getName
public java.lang.String getName()
-
getAlertGruConfigFromCache
public AlertGruTaskConfig getAlertGruConfigFromCache(fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskAlertGruConfigService, int nidTask)
Gets the notify gru config from cache.- Parameters:
taskAlertGruConfigService- the task notify gru config servicenidTask- the nid task- Returns:
- the notify gru config from cache
-
removeGruConfigFromCache
public void removeGruConfigFromCache(int nidTask)
Removes the gru config from cache.- Parameters:
nidTask- the nid task
-
-