Class DemandTypeService

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

public class DemandTypeService extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType>
    get demand types
    List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType>
    get demand types
     
    get or initialize instance

    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DemandTypeService

      public DemandTypeService()
  • Method Details

    • instance

      public static DemandTypeService instance()
      get or initialize instance
      Returns:
      the instance
    • getDemandType

      public Optional<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> getDemandType(String strId)
      get demand types
      Returns:
      list of demand types
    • getDemandTypes

      public List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> getDemandTypes()
      get demand types
      Returns:
      list of demand types
    • getName

      public String getName()