com.silverpeas.rssAgregator.control
Interface RSSService

All Known Implementing Classes:
RSSServiceImpl

public interface RSSService


Method Summary
 List<SPChannel> getAllChannels(String applicationId)
          Retrieve all the channel of an application
 List<RSSItem> getApplicationItems(String applicationId, boolean agregateContent)
           
 

Method Detail

getApplicationItems

List<RSSItem> getApplicationItems(String applicationId,
                                  boolean agregateContent)
                                  throws RssAgregatorException
Parameters:
applicationId - the application identifier
agregateContent - true if sorting all items from date, false else if sorting by channel
Returns:
list of RSSItems which are retrieved from application RSS channels
Throws:
RssAgregatorException

getAllChannels

List<SPChannel> getAllChannels(String applicationId)
                               throws RssAgregatorException
Retrieve all the channel of an application

Parameters:
applicationId - the current application identifier (instance of rssagregator application)
Returns:
the list of SPChannel
Throws:
RssAgregatorException


Copyright © 2016 Silverpeas. All Rights Reserved.