Package com.appiancorp.suiteapi.forums
Class ThreadSummary
java.lang.Object
com.appiancorp.suiteapi.forums.ThreadSummary
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInteger[]Deprecated.Get the actions that the user can do on this object.Deprecated.Get the user name of the creator of the thread.Deprecated.Get theGlobalIdof the forum which contains this thread.Deprecated.Get the name of the forum which contains this thread.getId()Deprecated.Deprecated.Deprecated.Get the date-time this thread was last modified.intDeprecated.Get the count of messages in this thread.Deprecated.Get the resources attached to a thread.Deprecated.Get theGlobalIdof the root message in this thread.Deprecated.Get the subject of the root message in this thread.Deprecated.Get theGlobalIdof the thread being summarized.booleanDeprecated.Get whether the creator of the thread is anonymous.booleanDeprecated.Checks if the Thread has been sponsoredbooleanDeprecated.voidsetAllowedActions(Integer[] allowedActions_) Deprecated.Set the actions that the user can do on this object.voidsetAnonymousCreator(boolean anonymous_) Deprecated.Set whether the creator of the thread is anonymous.voidsetCreator(String creator_) Deprecated.Set the user name of the creator of the thread.voidsetForumId(GlobalId forumId_) Deprecated.Set theGlobalIdof the forum which contains this thread.voidsetForumName(String forumName_) Deprecated.Set the name of the forum which contains this thread.voidsetLastMessage(Message lastMessage_) Deprecated.voidsetLastModified(Timestamp time_) Deprecated.Set the date-time this thread was last modified.voidsetMessageCount(int messageCount_) Deprecated.Set the count of messages in this thread.voidsetResources(Attachment[] attachments_) Deprecated.Set the resources attached to a thread.voidsetRootMessageId(GlobalId rootMessageId_) Deprecated.Set theGlobalIdof the root message in this thread.voidsetRootSubject(String rootSubject_) Deprecated.Set the subject of the root message in this thread.voidsetSponsored(boolean sponsored_) Deprecated.Sets thread to be sponsored with true or unsponsored with false.voidsetThreadId(GlobalId id_) Deprecated.Set theGlobalIdof the thread being summarized.voidsetUserSubscribed(boolean userSubscribed_) Deprecated.
-
Field Details
-
SORT_BY_ANONYMOUS_CREATOR
Deprecated. -
SORT_BY_CREATOR
Deprecated. -
SORT_BY_ROOT_SUBJECT
Deprecated. -
SORT_BY_LAST_MODIFIED
Deprecated. -
SORT_BY_MESSAGE_COUNT
Deprecated. -
SORT_BY_FORUM_NAME
Deprecated. -
SORT_BY_LAST_MESSAGE_TIME
Deprecated.
-
-
Constructor Details
-
ThreadSummary
public ThreadSummary()Deprecated.
-
-
Method Details
-
getThreadId
Deprecated.Get theGlobalIdof the thread being summarized.- Returns:
- The
GlobalId.
-
setThreadId
Deprecated.Set theGlobalIdof the thread being summarized.- Parameters:
id_-
-
isAnonymousCreator
public boolean isAnonymousCreator()Deprecated.Get whether the creator of the thread is anonymous.- Returns:
trueif the creator is anonymous;falseotherwise.
-
setAnonymousCreator
public void setAnonymousCreator(boolean anonymous_) Deprecated.Set whether the creator of the thread is anonymous.- Parameters:
anonymous_-
-
getCreator
Deprecated.Get the user name of the creator of the thread.- Returns:
- The creator's user name.
-
setCreator
Deprecated.Set the user name of the creator of the thread.- Parameters:
creator_-
-
getRootMessageId
Deprecated.Get theGlobalIdof the root message in this thread.- Returns:
- The
GlobalId.
-
setRootMessageId
Deprecated.Set theGlobalIdof the root message in this thread.- Parameters:
rootMessageId_-
-
getRootSubject
Deprecated.Get the subject of the root message in this thread.- Returns:
- The root message's subject.
-
setRootSubject
Deprecated.Set the subject of the root message in this thread.- Parameters:
rootSubject_-
-
getLastModified
Deprecated.Get the date-time this thread was last modified.- Returns:
- The date-time.
-
setLastModified
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
Deprecated.Get theGlobalIdof the forum which contains this thread.- Returns:
- The containing forum's
GlobalId.
-
setForumId
Deprecated.Set theGlobalIdof the forum which contains this thread.- Parameters:
forumId_-
-
getForumName
Deprecated.Get the name of the forum which contains this thread.- Returns:
- The forum name.
-
setForumName
Deprecated.Set the name of the forum which contains this thread.- Parameters:
forumName_-
-
getAllowedActions
Deprecated.Get the actions that the user can do on this object.- Returns:
- An array of the actions.
-
setAllowedActions
Deprecated.Set the actions that the user can do on this object. NOTE: This setter exists only to allow for proper bean conversions when aThreadSummaryobject is returned by the API. It CANNOT be used to update the allowed actions for aThreadSummary- Parameters:
allowedActions_- An array of the actions.
-
getLastMessage
Deprecated.- Returns:
- Returns the _lastMessage in the Thread.
-
setLastMessage
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
Deprecated.Get the resources attached to a thread.- Returns:
- Objects identifying the resources.
-
setResources
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
Deprecated.- Returns:
- Returns the Id of the Thread
-