fr.paris.lutece.plugins.rss.service
Class RssContentService

java.lang.Object
  extended by fr.paris.lutece.portal.service.cache.AbstractCacheableService
      extended by fr.paris.lutece.portal.service.resource.ResourceService
          extended by fr.paris.lutece.plugins.rss.service.RssContentService
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 RssContentService
extends fr.paris.lutece.portal.service.resource.ResourceService

RSS Content service


Method Summary
static RssContentService getInstance()
          Returns the unique instance
protected  java.lang.String getLoadersProperty()
          
 java.lang.String getRssContent(int nIdRssFeed)
          Gets the RSS content
 RssContent getRssContent(java.lang.String strId)
          Gets the RSS content
 
Methods inherited from class fr.paris.lutece.portal.service.resource.ResourceService
addLoader, getName, getResource, getResources, initLoaders, setCacheKey, setName, setNameKey
 
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, resetCache
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RssContentService getInstance()
Returns the unique instance

Returns:
the unique instance

getLoadersProperty

protected java.lang.String getLoadersProperty()

Specified by:
getLoadersProperty in class fr.paris.lutece.portal.service.resource.ResourceService

getRssContent

public RssContent getRssContent(java.lang.String strId)
Gets the RSS content

Parameters:
strId - The RSS id
Returns:
The content

getRssContent

public java.lang.String getRssContent(int nIdRssFeed)
Gets the RSS content

Parameters:
nIdRssFeed - The RSS id
Returns:
The content


Copyright © 2011 Mairie de Paris. All Rights Reserved.