Class Thread

All Implemented Interfaces:
Serializable

public class Thread
extends FacebookType
Represents the Thread Graph API type.
Since:
1.7.0
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getComments

      The messages in this thread.
      Returns:
      the messages in the thread
    • addComment

      public boolean addComment​(Message comment)
    • removeComment

      public boolean removeComment​(Message comment)
    • getTo

      A list of the Thread subscriber
      Returns:
      A list of the thread subsscriber
    • addTo

      public boolean addTo​(NamedFacebookType subscriber)
    • removeTo

      public boolean removeTo​(NamedFacebookType subscriber)
    • getUnread

      public Integer getUnread()
      The amount of messages that are unread by the session profile.
      Returns:
      the amount of messages that are unread
    • setUnread

      public void setUnread​(Integer unread)
      The amount of messages that are unread by the session profile.
    • getUnseen

      public Integer getUnseen()
      The amount of messages that are unseen by the session profile.
      Returns:
      the amount of messages that are unseen
    • setUnseen

      public void setUnseen​(Integer unseen)
      The amount of messages that are unseen by the session profile.
    • getUpdatedTime

      public Date getUpdatedTime()
      The time of the last comment on this post.
      Returns:
      The time of the last comment on this post.
    • setUpdatedTime

      public void setUpdatedTime​(Date updatedTime)
      The time of the last comment on this post.