com.atlassian.confluence.rss
Interface FeedBuilder

All Known Implementing Classes:
DefaultFeedBuilder

public interface FeedBuilder

Builds a syndication feed (Atom or RSS) from a search query.


Method Summary
 com.sun.syndication.feed.synd.SyndFeed createFeed(ISearch search, FeedProperties feedProperties)
          Constructs a feed off the specified search.
 com.sun.syndication.feed.synd.SyndFeed createFeed(ListQuery query, boolean showContent, boolean showDiff, com.atlassian.user.User user)
          Deprecated. since 4.0. The showDiffParameter is ignored. Use createFeed(ListQuery, FeedProperties).
 com.sun.syndication.feed.synd.SyndFeed createFeed(ListQuery query, FeedProperties feedProperties)
          Deprecated. 
 

Method Detail

createFeed

@Deprecated
com.sun.syndication.feed.synd.SyndFeed createFeed(ListQuery query,
                                                             boolean showContent,
                                                             boolean showDiff,
                                                             com.atlassian.user.User user)
Deprecated. since 4.0. The showDiffParameter is ignored. Use createFeed(ListQuery, FeedProperties).

Constructs a feed after running a search based on the given query. This method can be used instead of createFeed(ISearch, FeedProperties) when it is impossible to create a corresponding ISearch object from the given ListQuery. Eg. when search results need to be further filtered to satisfy a query. see CONF-7745 and CONF-9312


createFeed

com.sun.syndication.feed.synd.SyndFeed createFeed(ISearch search,
                                                  FeedProperties feedProperties)
Constructs a feed off the specified search.

Returns an empty feed with a title and description only if search is null.

Parameters:
search -
feedProperties -
Returns:
a synd feed for the results of specified search

createFeed

@Deprecated
com.sun.syndication.feed.synd.SyndFeed createFeed(ListQuery query,
                                                             FeedProperties feedProperties)
Deprecated. 

Constructs a feed after running a search based on the given query.

This method can be used instead of createFeed(ISearch, FeedProperties) when it is impossible to create a corresponding ISearch object from the given ListQuery. Eg. when search results need to be further filtered to satisfy a query. See CONF-7745 and CONF-9312.

Parameters:
query - the query to base the feed upon
feedProperties - metadata for the feed
Returns:
a synd feed for the results of the ListQuery


Copyright © 2003-2014 Atlassian. All Rights Reserved.