com.sap.portal.feeds

Interface IFeedEntries


public interface IFeedEntries

An aggregation of feed entries.
To get all feed entries in a single list, use the getEntries(SortOrder) method. The entries will be sorted by date (the sort order defined by the entry providers will be overridden).
To get the feed entries grouped according to the configuration of the source enterprise feeds, use the getEntriesByGroup() method.


Method Summary
 List<IFeedEntry> getEntries()
          Returns all the feed entries, sorted by date in descending order (same as using getEntries(SortOrder.DESCENDING)).
 List<IFeedEntry> getEntries(SortOrder dateSortOrder)
          Returns all the feed entries, sorted by date according to the specified sort order.
 List<IEntryGroup> getEntriesByGroup()
          Returns the available entry groups.
 List<Exception> getExceptions()
          Returns the exceptions that occurred while fetching the feed entries.
 

Method Detail

getEntries

List<IFeedEntry> getEntries()
Returns all the feed entries, sorted by date in descending order (same as using getEntries(SortOrder.DESCENDING)).

Returns:
All the feed entries, sorted by date in descending order

getEntries

List<IFeedEntry> getEntries(SortOrder dateSortOrder)
Returns all the feed entries, sorted by date according to the specified sort order.

Parameters:
dateSortOrder - determines the sort order of the returned entries. Entries are always sorted by the date field (see IFeedEntry.getDate())
Returns:
All the feed entries, sorted by date according to the specified sort order

getEntriesByGroup

List<IEntryGroup> getEntriesByGroup()
Returns the available entry groups.
The entry groups are constructed according to the configuration of the source enterprise feed (such as the "Display Mode" property).

Returns:
The available entry groups

getExceptions

List<Exception> getExceptions()
Returns the exceptions that occurred while fetching the feed entries. If no exceptions occurred, returns an empty list.

Returns:
The exceptions that occurred while fetching the feed entries


Copyright 2013 SAP AG Complete Copyright Notice