Package org.exoplatform.forum.rss
Class RSSProcess
java.lang.Object
org.exoplatform.forum.rss.RSSProcess
- Direct Known Subclasses:
AnswersFeedGenerator,ForumFeedGenerator,ForumUserFeedProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.exoplatform.forum.common.jcr.KSDataLocationint -
Constructor Summary
ConstructorsConstructorDescriptionRSSProcess(org.exoplatform.container.xml.InitParams params, org.exoplatform.forum.common.jcr.KSDataLocation dataLocator) RSSProcess(org.exoplatform.forum.common.jcr.KSDataLocation dataLocator) -
Method Summary
Modifier and TypeMethodDescriptionprotected javax.jcr.Sessionorg.exoplatform.forum.common.jcr.KSDataLocationprotected InputStreamgetFeedStream(javax.jcr.Node parentNode, String feedNodetype, String feedTitle) protected javax.jcr.Nodeprotected javax.jcr.NodegetNodeById(String objectId) Get one node in FORUM application by idprotected Stringprotected RSSloadOrCreateFeed(javax.jcr.Node parentNode, String feedNodetype) protected RSSloadOrCreateFeed(javax.jcr.Node parentNode, String feedNodetype, String feedTitle) voidsetDataLocator(org.exoplatform.forum.common.jcr.KSDataLocation dataLocator)
-
Field Details
-
maxSize
public int maxSize -
dataLocator
protected org.exoplatform.forum.common.jcr.KSDataLocation dataLocator
-
-
Constructor Details
-
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)
-
-
Method Details
-
getCurrentSession
protected javax.jcr.Session getCurrentSession() -
getPageLink
- Throws:
Exception
-
getFeedStream
protected InputStream getFeedStream(javax.jcr.Node parentNode, String feedNodetype, String feedTitle) throws Exception - Throws:
Exception
-
loadOrCreateFeed
- Throws:
Exception
-
loadOrCreateFeed
protected RSS loadOrCreateFeed(javax.jcr.Node parentNode, String feedNodetype, String feedTitle) throws Exception - Throws:
Exception
-
getNodeById
Get one node in FORUM application by id- Parameters:
objectId- id of node which is got- Returns:
- node
- Throws:
Exception
-
getForumServiceHome
- Throws:
Exception
-
getDataLocator
public org.exoplatform.forum.common.jcr.KSDataLocation getDataLocator() -
setDataLocator
public void setDataLocator(org.exoplatform.forum.common.jcr.KSDataLocation dataLocator)
-