public class RssService extends Object implements fr.paris.lutece.plugins.rss.service.IRssService
| Constructor and Description |
|---|
RssService() |
| Modifier and Type | Method and Description |
|---|---|
static RssService |
getInstance()
Returns the instance of the singleton
|
fr.paris.lutece.util.ReferenceList |
getRefListResourceRssType(Locale locale)
Return a reference list wich contains the ResourceRss types
|
fr.paris.lutece.util.ReferenceList |
getRefListRssFeed() |
fr.paris.lutece.portal.business.rss.IResourceRss |
getResourceRssInstance(String strKey,
Locale locale)
return an instance of ResourceRss Object depending on the resource rss type
|
Collection<fr.paris.lutece.portal.business.rss.IResourceRssType> |
getResourceRssTypeList() |
String |
getRssContent(int nIdRssFeed)
Gets the RSS content
|
static List<RssFeed> |
getRssFeed() |
void |
init()
Initialize the Rss service
|
public void init()
public static RssService getInstance()
public String getRssContent(int nIdRssFeed)
getRssContent in interface fr.paris.lutece.plugins.rss.service.IRssServicenIdRssFeed - The RSS idpublic fr.paris.lutece.util.ReferenceList getRefListRssFeed()
getRefListRssFeed in interface fr.paris.lutece.plugins.rss.service.IRssServicepublic fr.paris.lutece.portal.business.rss.IResourceRss getResourceRssInstance(String strKey, Locale locale)
strKey - the type resource rss keylocale - the localepublic Collection<fr.paris.lutece.portal.business.rss.IResourceRssType> getResourceRssTypeList()
public fr.paris.lutece.util.ReferenceList getRefListResourceRssType(Locale locale)
locale - the localeCopyright © 2018 City of Paris. All rights reserved.