public final class ForumFeedGenerator extends RSSProcess implements FeedContentProvider, FeedListener
| Modifier and Type | Field and Description |
|---|---|
static String |
FORUM_APP |
static String |
FORUM_RSS_TYPE |
static String |
KS_FORUM |
dataLocator, maxSize| Constructor and Description |
|---|
ForumFeedGenerator() |
ForumFeedGenerator(org.exoplatform.forum.common.jcr.KSDataLocation locator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
forumUpdated(String path,
String linkItem,
boolean updated) |
InputStream |
getFeedContent(String targetId) |
protected List<javax.jcr.Node> |
getListRemove(javax.jcr.Node removeNode,
String childNodeType) |
void |
itemAdded(String path) |
void |
itemRemoved(String path) |
void |
itemUpdated(String path) |
protected void |
postUpdated(String path,
String linkItem,
boolean updated) |
protected void |
removeItem(List<com.sun.syndication.feed.synd.SyndEntry> entries,
List<javax.jcr.Node> listRemove) |
protected void |
removeItemInFeed(String itemId,
javax.jcr.Node node,
String feedDescription)
Remove one item from RSS feed based on id of object which is changed
|
protected void |
removeRSSItem(String itemId,
javax.jcr.Node node,
String description) |
protected void |
topicUpdated(String path,
String linkItem,
boolean updated) |
getCurrentSession, getDataLocator, getFeedStream, getForumServiceHome, getNodeById, getPageLink, loadOrCreateFeed, loadOrCreateFeed, setDataLocatorpublic static final String FORUM_RSS_TYPE
public static final String KS_FORUM
public static final String FORUM_APP
public ForumFeedGenerator(org.exoplatform.forum.common.jcr.KSDataLocation locator)
public ForumFeedGenerator()
public void itemAdded(String path)
itemAdded in interface FeedListenerpublic void itemUpdated(String path)
itemUpdated in interface FeedListenerpublic void itemRemoved(String path)
itemRemoved in interface FeedListenerprotected void removeItemInFeed(String itemId, javax.jcr.Node node, String feedDescription) throws Exception
itemId - id of objectnode - Node content RSS feedfeedDescription - description about RSS feedExceptionprotected void removeRSSItem(String itemId, javax.jcr.Node node, String description) throws Exception
Exceptionprotected void removeItem(List<com.sun.syndication.feed.synd.SyndEntry> entries, List<javax.jcr.Node> listRemove) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionprotected List<javax.jcr.Node> getListRemove(javax.jcr.Node removeNode, String childNodeType) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic InputStream getFeedContent(String targetId)
getFeedContent in interface FeedContentProviderCopyright © 2003–2017 eXo Platform SAS. All rights reserved.