Class ResourceRss

java.lang.Object
fr.paris.lutece.portal.business.rss.ResourceRss
All Implemented Interfaces:
IResourceRss

public abstract class ResourceRss extends Object implements IResourceRss
ResourceRss that provides the resources rss. Implementations should override getFeed().
  • Constructor Details

    • ResourceRss

      public ResourceRss()
  • Method Details

    • getId

      public int getId()
      Get the rss id
      Specified by:
      getId in interface IResourceRss
      Returns:
      the rss Id
    • setId

      public void setId(int nId)
      Set the rss id
      Specified by:
      setId in interface IResourceRss
      Parameters:
      nId - the rss id
    • getDescription

      public String getDescription()
      Get Rss resource Description
      Specified by:
      getDescription in interface IResourceRss
      Returns:
      the description
    • setDescription

      public void setDescription(String strDescription)
      Set the RSS resource description
      Specified by:
      setDescription in interface IResourceRss
      Parameters:
      strDescription - the description
    • getName

      public String getName()
      Get The RSS resource name
      Specified by:
      getName in interface IResourceRss
      Returns:
      the name
    • setName

      public void setName(String strName)
      Set the RSS resource name
      Specified by:
      setName in interface IResourceRss
      Parameters:
      strName - the name
    • getResourceRssType

      public IResourceRssType getResourceRssType()
      Get the RSS Resource Type
      Specified by:
      getResourceRssType in interface IResourceRss
      Returns:
      the ResourceRssType Object
    • setResourceRssType

      public void setResourceRssType(IResourceRssType taskType)
      Set the ResourceRssType object.
      Specified by:
      setResourceRssType in interface IResourceRss
      Parameters:
      taskType - the new resource rss type
    • getFeedType

      public String getFeedType()
      Gets the feed type
      Specified by:
      getFeedType in interface IResourceRss
      Returns:
      the feed type
    • setFeedType

      public void setFeedType(String strFeedType)
      Sets the feed type
      Specified by:
      setFeedType in interface IResourceRss
      Parameters:
      strFeedType - the feed type
    • getEncoding

      public String getEncoding()
      Gets the encoding
      Specified by:
      getEncoding in interface IResourceRss
      Returns:
      the encoding
    • setEncoding

      public void setEncoding(String strEncoding)
      Sets the encoding
      Specified by:
      setEncoding in interface IResourceRss
      Parameters:
      strEncoding - the encoding
    • getMaxItems

      public int getMaxItems()
      The number of displayed item.
      Specified by:
      getMaxItems in interface IResourceRss
      Returns:
      the number of displayed item
    • setMaxItems

      public void setMaxItems(int nMaxItems)
      Sets the number of displayed item
      Specified by:
      setMaxItems in interface IResourceRss
      Parameters:
      nMaxItems - number of displayed item
    • getFeed

      public IFeedResource getFeed()
      Returns null. This method should be overriden.
      Specified by:
      getFeed in interface IResourceRss
      Returns:
      the feed