org.exoplatform.forum.rss
Class AnswersFeedGenerator

java.lang.Object
  extended by org.exoplatform.forum.rss.RSSProcess
      extended by org.exoplatform.forum.rss.AnswersFeedGenerator
All Implemented Interfaces:
FeedContentProvider, FeedListener

public final class AnswersFeedGenerator
extends RSSProcess
implements FeedContentProvider, FeedListener

Version:
$Revision$
Author:
Patrice Lamarque

Field Summary
static String FAQ_APP
           
static String FAQ_RSS_TYPE
           
static String KS_FAQ
           
 
Fields inherited from class org.exoplatform.forum.rss.RSSProcess
dataLocator, maxSize
 
Constructor Summary
AnswersFeedGenerator()
           
AnswersFeedGenerator(org.exoplatform.forum.common.jcr.KSDataLocation dataLocator)
           
 
Method Summary
 InputStream getFeedContent(String targetId)
           
 void itemAdded(String path)
           
 void itemRemoved(String path)
           
protected  void itemSaved(String path, boolean updated)
           
 void itemUpdated(String path)
           
 
Methods inherited from class org.exoplatform.forum.rss.RSSProcess
getCurrentSession, getDataLocator, getFeedStream, getForumServiceHome, getNodeById, getPageLink, loadOrCreateFeed, loadOrCreateFeed, setDataLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAQ_RSS_TYPE

public static final String FAQ_RSS_TYPE

KS_FAQ

public static final String KS_FAQ

FAQ_APP

public static final String FAQ_APP
Constructor Detail

AnswersFeedGenerator

public AnswersFeedGenerator()

AnswersFeedGenerator

public AnswersFeedGenerator(org.exoplatform.forum.common.jcr.KSDataLocation dataLocator)
Method Detail

itemAdded

public void itemAdded(String path)
Specified by:
itemAdded in interface FeedListener

itemUpdated

public void itemUpdated(String path)
Specified by:
itemUpdated in interface FeedListener

itemSaved

protected void itemSaved(String path,
                         boolean updated)
                  throws Exception
Throws:
Exception

getFeedContent

public InputStream getFeedContent(String targetId)
Specified by:
getFeedContent in interface FeedContentProvider

itemRemoved

public void itemRemoved(String path)
Specified by:
itemRemoved in interface FeedListener


Copyright © 2013 eXo Platform SAS. All Rights Reserved.