@Deprecated
public class ThreadSummary
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
SORT_BY_ANONYMOUS_CREATOR
Deprecated.
|
static java.lang.Integer |
SORT_BY_CREATOR
Deprecated.
|
static java.lang.Integer |
SORT_BY_FORUM_NAME
Deprecated.
|
static java.lang.Integer |
SORT_BY_LAST_MESSAGE_TIME
Deprecated.
|
static java.lang.Integer |
SORT_BY_LAST_MODIFIED
Deprecated.
|
static java.lang.Integer |
SORT_BY_MESSAGE_COUNT
Deprecated.
|
static java.lang.Integer |
SORT_BY_ROOT_SUBJECT
Deprecated.
|
Constructor and Description |
---|
ThreadSummary()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer[] |
getAllowedActions()
Deprecated.
Get the actions that the user can do on this object.
|
java.lang.String |
getCreator()
Deprecated.
Get the user name of the creator of the thread.
|
GlobalId |
getForumId()
Deprecated.
Get the
GlobalId of the forum which contains this thread. |
java.lang.String |
getForumName()
Deprecated.
Get the name of the forum which contains this thread.
|
java.lang.Long |
getId()
Deprecated.
|
Message |
getLastMessage()
Deprecated.
|
java.sql.Timestamp |
getLastModified()
Deprecated.
Get the date-time this thread was last modified.
|
int |
getMessageCount()
Deprecated.
Get the count of messages in this thread.
|
Attachment[] |
getResources()
Deprecated.
Get the resources attached to a thread.
|
GlobalId |
getRootMessageId()
Deprecated.
Get the
GlobalId of the root message in this thread. |
java.lang.String |
getRootSubject()
Deprecated.
Get the subject of the root message in this thread.
|
GlobalId |
getThreadId()
Deprecated.
Get the
GlobalId of the thread being summarized. |
boolean |
isAnonymousCreator()
Deprecated.
Get whether the creator of the thread is anonymous.
|
boolean |
isSponsored()
Deprecated.
Checks if the Thread has been sponsored
|
boolean |
isUserSubscribed()
Deprecated.
|
void |
setAllowedActions(java.lang.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(java.lang.String creator_)
Deprecated.
Set the user name of the creator of the thread.
|
void |
setForumId(GlobalId forumId_)
Deprecated.
Set the
GlobalId of the forum which contains this thread. |
void |
setForumName(java.lang.String forumName_)
Deprecated.
Set the name of the forum which contains this thread.
|
void |
setLastMessage(Message lastMessage_)
Deprecated.
|
void |
setLastModified(java.sql.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 the
GlobalId of the root message in this thread. |
void |
setRootSubject(java.lang.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 the
GlobalId of the thread being summarized. |
void |
setUserSubscribed(boolean userSubscribed_)
Deprecated.
|
public static final java.lang.Integer SORT_BY_ANONYMOUS_CREATOR
public static final java.lang.Integer SORT_BY_CREATOR
public static final java.lang.Integer SORT_BY_ROOT_SUBJECT
public static final java.lang.Integer SORT_BY_LAST_MODIFIED
public static final java.lang.Integer SORT_BY_MESSAGE_COUNT
public static final java.lang.Integer SORT_BY_FORUM_NAME
public static final java.lang.Integer SORT_BY_LAST_MESSAGE_TIME
public GlobalId getThreadId()
GlobalId
of the thread being summarized.GlobalId
.public void setThreadId(GlobalId id_)
GlobalId
of the thread being summarized.id_
- public boolean isAnonymousCreator()
true
if the creator is anonymous;
false
otherwise.public void setAnonymousCreator(boolean anonymous_)
anonymous_
- public java.lang.String getCreator()
public void setCreator(java.lang.String creator_)
creator_
- public GlobalId getRootMessageId()
GlobalId
of the root message in this thread.GlobalId
.public void setRootMessageId(GlobalId rootMessageId_)
GlobalId
of the root message in this thread.rootMessageId_
- public java.lang.String getRootSubject()
public void setRootSubject(java.lang.String rootSubject_)
rootSubject_
- public java.sql.Timestamp getLastModified()
public void setLastModified(java.sql.Timestamp time_)
time_
- public int getMessageCount()
public void setMessageCount(int messageCount_)
messageCount_
- public GlobalId getForumId()
GlobalId
of the forum which contains this thread.GlobalId
.public void setForumId(GlobalId forumId_)
GlobalId
of the forum which contains this thread.forumId_
- public java.lang.String getForumName()
public void setForumName(java.lang.String forumName_)
forumName_
- public java.lang.Integer[] getAllowedActions()
public void setAllowedActions(java.lang.Integer[] allowedActions_)
ThreadSummary
object is returned by the API. It CANNOT be used to
update the allowed actions for a
ThreadSummary
allowedActions_
- An array of the actions.public Message getLastMessage()
public void setLastMessage(Message lastMessage_)
lastMessage_
- The _lastMessage to set.public boolean isSponsored()
public void setSponsored(boolean sponsored_)
sponsored_
- The _sponsored to set.public Attachment[] getResources()
public void setResources(Attachment[] attachments_)
attachments_
- Objects identifying the resources.public boolean isUserSubscribed()
public void setUserSubscribed(boolean userSubscribed_)
userSubscribed_
- The userSubscribed to set.public java.lang.Long getId()
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.