Class RSSProcess

java.lang.Object
org.exoplatform.forum.rss.RSSProcess
Direct Known Subclasses:
AnswersFeedGenerator, ForumFeedGenerator, ForumUserFeedProvider

public abstract class RSSProcess extends Object
  • 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

      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 got
      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)