Interface RSSService
-
- All Known Implementing Classes:
DefaultRSSService
public interface RSSService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<SPChannel>getAllChannels(String applicationId)Retrieve all the syndication channels of an applicationList<RSSItem>getApplicationItems(String applicationId, boolean agregateContent)Retrieve all the items from all the syndication channels of the specified application.
-
-
-
Method Detail
-
getApplicationItems
List<RSSItem> getApplicationItems(String applicationId, boolean agregateContent) throws RssAgregatorException
Retrieve all the items from all the syndication channels of the specified application.- Parameters:
applicationId- the application identifieragregateContent- 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- if an error occurs.
-
getAllChannels
List<SPChannel> getAllChannels(String applicationId) throws RssAgregatorException
Retrieve all the syndication channels of an application- Parameters:
applicationId- the current application identifier (instance of rssagregator application)- Returns:
- the list of SPChannel
- Throws:
RssAgregatorException- if an error occurs.
-
-