public class RSSFeedComponent extends DefaultComponent implements RSSFeedService
org.nuxeo.rss.reader.service.RSSFeedService
Constructor and Description |
---|
RSSFeedComponent() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getCurrentUserRssFeedAddresses(CoreSession session) |
DocumentModelList |
getCurrentUserRssFeedDocumentModelList(CoreSession session)
return user feeds that will be displayed into the Rss Reader Gadget
|
DocumentModel |
getCurrentUserRssFeedsContainer(CoreSession session)
return rss feed container of the current user and if not exists create it
and copy in it the default rss feed marked as default and proposed by the
Administration view.
|
int |
getDisplayedArticleCount(CoreSession session)
Return the max number of articles proposed into the rss gadget.
|
DocumentModelList |
getGlobalFeedsDocumentModelList(CoreSession session)
return feed defined by administrator
|
int |
getMaximumFeedsCount(CoreSession session)
Return the number of maximum feeds the user can merge into the Rss Reader
gadget
|
DocumentModel |
getRssReaderManagementContainer(CoreSession session)
This Rss Reader Management container store administration values and
store feeds proposed by the administrator for user.
|
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerContribution, registerExtension, setLastModified, unregisterContribution, unregisterExtension
public DocumentModel getRssReaderManagementContainer(CoreSession session) throws ClientException
RSSFeedService
getRssReaderManagementContainer
in interface RSSFeedService
ClientException
public DocumentModel getCurrentUserRssFeedsContainer(CoreSession session) throws ClientException
RSSFeedService
getCurrentUserRssFeedsContainer
in interface RSSFeedService
ClientException
public int getDisplayedArticleCount(CoreSession session) throws ClientException
RSSFeedService
getDisplayedArticleCount
in interface RSSFeedService
ClientException
public int getMaximumFeedsCount(CoreSession session) throws ClientException
RSSFeedService
getMaximumFeedsCount
in interface RSSFeedService
ClientException
public DocumentModelList getGlobalFeedsDocumentModelList(CoreSession session) throws ClientException
RSSFeedService
getGlobalFeedsDocumentModelList
in interface RSSFeedService
ClientException
public DocumentModelList getCurrentUserRssFeedDocumentModelList(CoreSession session) throws ClientException
RSSFeedService
getCurrentUserRssFeedDocumentModelList
in interface RSSFeedService
ClientException
public List<String> getCurrentUserRssFeedAddresses(CoreSession session) throws ClientException
getCurrentUserRssFeedAddresses
in interface RSSFeedService
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.