Class ThreadSummary

java.lang.Object
com.appiancorp.suiteapi.forums.ThreadSummary
All Implemented Interfaces:
Serializable

@Deprecated public class ThreadSummary extends Object implements Serializable
Deprecated.
The Discussion Forums functionality will be removed in a future release. Use the News feed and related smart services to build applications with similar functionality.
Summarizes a thread and the current activity within it.
See Also:
  • Field Details

    • SORT_BY_ANONYMOUS_CREATOR

      public static final Integer SORT_BY_ANONYMOUS_CREATOR
      Deprecated.
    • SORT_BY_CREATOR

      public static final Integer SORT_BY_CREATOR
      Deprecated.
    • SORT_BY_ROOT_SUBJECT

      public static final Integer SORT_BY_ROOT_SUBJECT
      Deprecated.
    • SORT_BY_LAST_MODIFIED

      public static final Integer SORT_BY_LAST_MODIFIED
      Deprecated.
    • SORT_BY_MESSAGE_COUNT

      public static final Integer SORT_BY_MESSAGE_COUNT
      Deprecated.
    • SORT_BY_FORUM_NAME

      public static final Integer SORT_BY_FORUM_NAME
      Deprecated.
    • SORT_BY_LAST_MESSAGE_TIME

      public static final Integer SORT_BY_LAST_MESSAGE_TIME
      Deprecated.
  • Constructor Details

    • ThreadSummary

      public ThreadSummary()
      Deprecated.
  • Method Details

    • getThreadId

      public GlobalId getThreadId()
      Deprecated.
      Get the GlobalId of the thread being summarized.
      Returns:
      The GlobalId.
    • setThreadId

      public void setThreadId(GlobalId id_)
      Deprecated.
      Set the GlobalId of the thread being summarized.
      Parameters:
      id_ -
    • isAnonymousCreator

      public boolean isAnonymousCreator()
      Deprecated.
      Get whether the creator of the thread is anonymous.
      Returns:
      true if the creator is anonymous; false otherwise.
    • setAnonymousCreator

      public void setAnonymousCreator(boolean anonymous_)
      Deprecated.
      Set whether the creator of the thread is anonymous.
      Parameters:
      anonymous_ -
    • getCreator

      public String getCreator()
      Deprecated.
      Get the user name of the creator of the thread.
      Returns:
      The creator's user name.
    • setCreator

      public void setCreator(String creator_)
      Deprecated.
      Set the user name of the creator of the thread.
      Parameters:
      creator_ -
    • getRootMessageId

      public GlobalId getRootMessageId()
      Deprecated.
      Get the GlobalId of the root message in this thread.
      Returns:
      The GlobalId.
    • setRootMessageId

      public void setRootMessageId(GlobalId rootMessageId_)
      Deprecated.
      Set the GlobalId of the root message in this thread.
      Parameters:
      rootMessageId_ -
    • getRootSubject

      public String getRootSubject()
      Deprecated.
      Get the subject of the root message in this thread.
      Returns:
      The root message's subject.
    • setRootSubject

      public void setRootSubject(String rootSubject_)
      Deprecated.
      Set the subject of the root message in this thread.
      Parameters:
      rootSubject_ -
    • getLastModified

      public Timestamp getLastModified()
      Deprecated.
      Get the date-time this thread was last modified.
      Returns:
      The date-time.
    • setLastModified

      public void setLastModified(Timestamp time_)
      Deprecated.
      Set the date-time this thread was last modified.
      Parameters:
      time_ -
    • getMessageCount

      public int getMessageCount()
      Deprecated.
      Get the count of messages in this thread.
      Returns:
      The number of messages.
    • setMessageCount

      public void setMessageCount(int messageCount_)
      Deprecated.
      Set the count of messages in this thread.
      Parameters:
      messageCount_ -
    • getForumId

      public GlobalId getForumId()
      Deprecated.
      Get the GlobalId of the forum which contains this thread.
      Returns:
      The containing forum's GlobalId.
    • setForumId

      public void setForumId(GlobalId forumId_)
      Deprecated.
      Set the GlobalId of the forum which contains this thread.
      Parameters:
      forumId_ -
    • getForumName

      public String getForumName()
      Deprecated.
      Get the name of the forum which contains this thread.
      Returns:
      The forum name.
    • setForumName

      public void setForumName(String forumName_)
      Deprecated.
      Set the name of the forum which contains this thread.
      Parameters:
      forumName_ -
    • getAllowedActions

      public Integer[] getAllowedActions()
      Deprecated.
      Get the actions that the user can do on this object.
      Returns:
      An array of the actions.
    • setAllowedActions

      public void setAllowedActions(Integer[] allowedActions_)
      Deprecated.
      Set the actions that the user can do on this object. NOTE: This setter exists only to allow for proper bean conversions when a ThreadSummary object is returned by the API. It CANNOT be used to update the allowed actions for a ThreadSummary
      Parameters:
      allowedActions_ - An array of the actions.
    • getLastMessage

      public Message getLastMessage()
      Deprecated.
      Returns:
      Returns the _lastMessage in the Thread.
    • setLastMessage

      public void setLastMessage(Message lastMessage_)
      Deprecated.
      Parameters:
      lastMessage_ - The _lastMessage to set.
    • isSponsored

      public boolean isSponsored()
      Deprecated.
      Checks if the Thread has been sponsored
      Returns:
      Returns the _sponsored status of the Thread.
    • setSponsored

      public void setSponsored(boolean sponsored_)
      Deprecated.
      Sets thread to be sponsored with true or unsponsored with false.
      Parameters:
      sponsored_ - The _sponsored to set.
    • getResources

      public Attachment[] getResources()
      Deprecated.
      Get the resources attached to a thread.
      Returns:
      Objects identifying the resources.
    • setResources

      public void setResources(Attachment[] attachments_)
      Deprecated.
      Set the resources attached to a thread.
      Parameters:
      attachments_ - Objects identifying the resources.
    • isUserSubscribed

      public boolean isUserSubscribed()
      Deprecated.
      Returns:
      Returns the userSubscribed.
    • setUserSubscribed

      public void setUserSubscribed(boolean userSubscribed_)
      Deprecated.
      Parameters:
      userSubscribed_ - The userSubscribed to set.
    • getId

      public Long getId()
      Deprecated.
      Returns:
      Returns the Id of the Thread