org.exoplatform.forum.rss
Class RSSProcess
java.lang.Object
org.exoplatform.forum.rss.RSSProcess
- Direct Known Subclasses:
- AnswersFeedGenerator, ForumFeedGenerator, ForumUserFeedProvider
public abstract class RSSProcess
- extends Object
|
Field Summary |
protected org.exoplatform.forum.common.jcr.KSDataLocation |
dataLocator
|
int |
maxSize
|
|
Constructor Summary |
RSSProcess()
|
RSSProcess(org.exoplatform.container.xml.InitParams params,
org.exoplatform.forum.common.jcr.KSDataLocation dataLocator)
|
RSSProcess(org.exoplatform.forum.common.jcr.KSDataLocation dataLocator)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxSize
public int maxSize
dataLocator
protected org.exoplatform.forum.common.jcr.KSDataLocation dataLocator
RSSProcess
public RSSProcess()
RSSProcess
public RSSProcess(org.exoplatform.forum.common.jcr.KSDataLocation dataLocator)
RSSProcess
public RSSProcess(org.exoplatform.container.xml.InitParams params,
org.exoplatform.forum.common.jcr.KSDataLocation dataLocator)
getCurrentSession
protected javax.jcr.Session getCurrentSession()
getPageLink
protected String getPageLink()
throws Exception
- Throws:
Exception
getFeedStream
protected InputStream getFeedStream(javax.jcr.Node parentNode,
String feedNodetype,
String feedTitle)
throws Exception
- Throws:
Exception
loadOrCreateFeed
protected RSS loadOrCreateFeed(javax.jcr.Node parentNode,
String feedNodetype)
throws Exception
- Throws:
Exception
loadOrCreateFeed
protected RSS loadOrCreateFeed(javax.jcr.Node parentNode,
String feedNodetype,
String feedTitle)
throws Exception
- Throws:
Exception
getNodeById
protected javax.jcr.Node getNodeById(String objectId)
throws Exception
- Get one node in FORUM application by id
- Parameters:
objectId - id of node which is gotsProvider - the session provider
- Returns:
- node
- Throws:
Exception
getForumServiceHome
protected javax.jcr.Node getForumServiceHome()
throws Exception
- Throws:
Exception
getDataLocator
public org.exoplatform.forum.common.jcr.KSDataLocation getDataLocator()
setDataLocator
public void setDataLocator(org.exoplatform.forum.common.jcr.KSDataLocation dataLocator)
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.