java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService<String,AlertGruTaskConfig>
fr.paris.lutece.plugins.workflow.modules.alertgru.service.cache.AlertGruCacheService
All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService<String,AlertGruTaskConfig>, fr.paris.lutece.portal.service.cache.Lutece107Cache<String,AlertGruTaskConfig>, fr.paris.lutece.portal.service.util.LuteceService, Closeable, Serializable, AutoCloseable, Iterable<javax.cache.Cache.Entry<String,AlertGruTaskConfig>>, javax.cache.Cache<String,AlertGruTaskConfig>

@ApplicationScoped public class AlertGruCacheService extends fr.paris.lutece.portal.service.cache.AbstractCacheableService<String,AlertGruTaskConfig>
The Class NotifyGruCacheService.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface javax.cache.Cache

    javax.cache.Cache.Entry<K extends Object,V extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getAlertGruConfigFromCache(fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskAlertGruConfigService, int nidTask)
    Gets the notify gru config from cache.
     
    void
     
    void
    Removes the gru config from cache.

    Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService

    clear, close, containsKey, deregisterCacheEntryListener, enableCache, get, getAll, getAndPut, getAndRemove, getAndReplace, getCache, getCacheManager, getCacheSize, getConfiguration, getFromCache, getInfos, getKeys, initCache, initCache, initCache, invoke, invokeAll, isCacheEnable, isClosed, isPreventGlobalReset, iterator, loadAll, put, putAll, putIfAbsent, putInCache, registerCacheEntryListener, remove, remove, removeAll, removeAll, removeKey, replace, replace, resetCache, setCache, unwrap

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface fr.paris.lutece.portal.service.cache.CacheableService

    getMaxElements, getMemorySize, getTimeToLive

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • AlertGruCacheService

      public AlertGruCacheService()
  • Method Details

    • init

      @PostConstruct public void init()
    • getName

      public 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 service
      nidTask - 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