Package com.atlassian.confluence.rss
Class DefaultFeedBuilder
- java.lang.Object
-
- com.atlassian.confluence.rss.DefaultFeedBuilder
-
- All Implemented Interfaces:
FeedBuilder
,SyndFeedService
public class DefaultFeedBuilder extends Object implements FeedBuilder, SyndFeedService
-
-
Constructor Summary
Constructors Constructor Description DefaultFeedBuilder(SearchManager searchManager, GlobalSettingsManager settingsManager, PermissionManager permissionManager, UserAccessor userAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, Map<String,RssRenderSupport> renderSupport, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.event.api.EventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.syndication.feed.synd.SyndFeed
createFeed(ISearch search, FeedProperties feedProperties)
Constructs a feed off the specified search.com.rometools.rome.feed.synd.SyndFeed
createSyndFeed(ISearch search, FeedProperties feedProperties)
Constructs a feed off the specified search.
-
-
-
Constructor Detail
-
DefaultFeedBuilder
public DefaultFeedBuilder(SearchManager searchManager, GlobalSettingsManager settingsManager, PermissionManager permissionManager, UserAccessor userAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, Map<String,RssRenderSupport> renderSupport, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.event.api.EventPublisher eventPublisher)
- Since:
- 7.16
-
-
Method Detail
-
createFeed
public com.sun.syndication.feed.synd.SyndFeed createFeed(ISearch search, FeedProperties feedProperties)
Description copied from interface:FeedBuilder
Constructs a feed off the specified search.Returns an empty feed with a title and description only if search is null.
- Specified by:
createFeed
in interfaceFeedBuilder
- Parameters:
search
- the search to base the feed uponfeedProperties
- metadata for the feed- Returns:
- a synd feed for the results of specified search
-
createSyndFeed
public com.rometools.rome.feed.synd.SyndFeed createSyndFeed(ISearch search, FeedProperties feedProperties)
Description copied from interface:SyndFeedService
Constructs a feed off the specified search.Returns an empty feed with a title and description only if search is null.
- Specified by:
createSyndFeed
in interfaceSyndFeedService
- Parameters:
search
- the search to base the feed uponfeedProperties
- metadata for the feed- Returns:
- a synd feed for the results of specified search
-
-