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
  • Field Details

    • 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
  • Constructor Details

    • ForumFeedGenerator

      public ForumFeedGenerator(org.exoplatform.forum.common.jcr.KSDataLocation locator)
    • ForumFeedGenerator

      public ForumFeedGenerator()
  • Method Details

    • 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 object
      node - Node content RSS feed
      feedDescription - 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.rometools.rome.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