org.exoplatform.forum.rss
Class ForumFeedGenerator
java.lang.Object
org.exoplatform.forum.rss.RSSProcess
org.exoplatform.forum.rss.ForumFeedGenerator
- All Implemented Interfaces:
- FeedContentProvider, FeedListener
public final class ForumFeedGenerator
- extends RSSProcess
- implements FeedContentProvider, FeedListener
- Version:
- $Revision$
- Author:
- Patrice Lamarque
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORUM_RSS_TYPE
public static final String FORUM_RSS_TYPE
KS_FORUM
public static final String KS_FORUM
FORUM_APP
public static final String FORUM_APP
ForumFeedGenerator
public ForumFeedGenerator(org.exoplatform.forum.common.jcr.KSDataLocation locator)
ForumFeedGenerator
public ForumFeedGenerator()
itemAdded
public void itemAdded(String path)
- Specified by:
itemAdded in interface FeedListener
itemUpdated
public void itemUpdated(String path)
- Specified by:
itemUpdated in interface FeedListener
itemRemoved
public void itemRemoved(String path)
- Specified by:
itemRemoved in interface FeedListener
removeItemInFeed
protected void removeItemInFeed(String itemId,
javax.jcr.Node node,
String feedDescription)
throws Exception
- Remove one item from RSS feed based on id of object which is changed
- Parameters:
itemId - id of objectnode - Node content RSS feedfeedDescription - description about RSS feed
- Throws:
Exception
removeRSSItem
protected void removeRSSItem(String itemId,
javax.jcr.Node node,
String description)
throws Exception
- Throws:
Exception
removeItem
protected void removeItem(List<com.sun.syndication.feed.synd.SyndEntry> entries,
List<javax.jcr.Node> listRemove)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getListRemove
protected List<javax.jcr.Node> getListRemove(javax.jcr.Node removeNode,
String childNodeType)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
topicUpdated
protected void topicUpdated(String path,
String linkItem,
boolean updated)
forumUpdated
protected void forumUpdated(String path,
String linkItem,
boolean updated)
postUpdated
protected void postUpdated(String path,
String linkItem,
boolean updated)
getFeedContent
public InputStream getFeedContent(String targetId)
- Specified by:
getFeedContent in interface FeedContentProvider
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.