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
-
Constructor Summary
-
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 theGlobalId
of 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.int
Deprecated.Get the count of messages in this thread.Deprecated.Get the resources attached to a thread.Deprecated.Get theGlobalId
of the root message in this thread.Deprecated.Get the subject of the root message in this thread.Deprecated.Get theGlobalId
of the thread being summarized.boolean
Deprecated.Get whether the creator of the thread is anonymous.boolean
Deprecated.Checks if the Thread has been sponsoredboolean
Deprecated.void
setAllowedActions
(Integer[] allowedActions_) Deprecated.Set the actions that the user can do on this object.void
setAnonymousCreator
(boolean anonymous_) Deprecated.Set whether the creator of the thread is anonymous.void
setCreator
(String creator_) Deprecated.Set the user name of the creator of the thread.void
setForumId
(GlobalId forumId_) Deprecated.Set theGlobalId
of the forum which contains this thread.void
setForumName
(String forumName_) Deprecated.Set the name of the forum which contains this thread.void
setLastMessage
(Message lastMessage_) Deprecated.void
setLastModified
(Timestamp time_) Deprecated.Set the date-time this thread was last modified.void
setMessageCount
(int messageCount_) Deprecated.Set the count of messages in this thread.void
setResources
(Attachment[] attachments_) Deprecated.Set the resources attached to a thread.void
setRootMessageId
(GlobalId rootMessageId_) Deprecated.Set theGlobalId
of the root message in this thread.void
setRootSubject
(String rootSubject_) Deprecated.Set the subject of the root message in this thread.void
setSponsored
(boolean sponsored_) Deprecated.Sets thread to be sponsored with true or unsponsored with false.void
setThreadId
(GlobalId id_) Deprecated.Set theGlobalId
of the thread being summarized.void
setUserSubscribed
(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 theGlobalId
of the thread being summarized.- Returns:
- The
GlobalId
.
-
setThreadId
Deprecated.Set theGlobalId
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
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 theGlobalId
of the root message in this thread.- Returns:
- The
GlobalId
.
-
setRootMessageId
Deprecated.Set theGlobalId
of 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 theGlobalId
of the forum which contains this thread.- Returns:
- The containing forum's
GlobalId
.
-
setForumId
Deprecated.Set theGlobalId
of 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 aThreadSummary
object 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
-