Class FeedResult

java.lang.Object
org.ametys.plugins.syndication.FeedResult

public class FeedResult extends Object
A feed retrieve result.
  • Field Details

  • Constructor Details

    • FeedResult

      public FeedResult()
      Build a FeedResult object, status unknown.
    • FeedResult

      public FeedResult(int status, com.rometools.rome.feed.synd.SyndFeed feed)
      Build a FeedResult object.
      Parameters:
      status - the status.
      feed - the feed.
  • Method Details

    • getStatus

      public int getStatus()
      Get the status.
      Returns:
      the status
    • setStatus

      public void setStatus(int status)
      Set the status.
      Parameters:
      status - the status to set
    • getSynFeed

      public com.rometools.rome.feed.synd.SyndFeed getSynFeed()
      Get the feed.
      Returns:
      the feed
    • getMessageError

      Get the message error.
      Returns:
      the message error
    • setMessageError

      public void setMessageError(String messageError)
      Set the message error.
      Parameters:
      messageError - the message error to set
    • setResponse

      public void setResponse(com.rometools.rome.feed.synd.SyndFeed feed)
      Set the feed.
      Parameters:
      feed - the feed to set
    • getCreationDate

      Get the creation date.
      Returns:
      the creation date
    • setCreationDate

      public void setCreationDate(Date creationDate)
      Set the creation Date.
      Parameters:
      creationDate - the creation date to set