@DiscussionThreadDataType @Deprecated public class DiscussionThread extends java.lang.Object implements GlobalId
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
SORT_BY_CREATOR
Deprecated.
|
static java.lang.Integer |
SORT_BY_DATE_CREATED
Deprecated.
|
static java.lang.Integer |
SORT_BY_DATE_MODIFIED
Deprecated.
|
static java.lang.Integer |
SORT_BY_ID
Deprecated.
|
static java.lang.Integer |
SORT_BY_MESSAGE_COUNT
Deprecated.
|
static java.lang.Integer |
SORT_BY_ROOT_MESSAGE_ID
Deprecated.
|
static java.lang.Integer |
SORT_BY_SPONSORED
Deprecated.
|
Constructor and Description |
---|
DiscussionThread()
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 user who created this thread by posting
the first message.
|
java.sql.Timestamp |
getDateCreated()
Deprecated.
Get the date-time when this thread was created.
|
java.sql.Timestamp |
getDateModified()
Deprecated.
Get this date-time when this thread was last modified.
|
GlobalId |
getForumId()
Deprecated.
Get the
GlobalId of the forum to which this thread belongs. |
java.lang.Long |
getId()
Deprecated.
Returns this object's local identifier,
null if the object
was not identified locally using a Long Id. |
RemoteId |
getRemoteId()
Deprecated.
Returns the
RemoteId of this object's instance identifier,
null if the object is only locally identified. |
Attachment[] |
getResources()
Deprecated.
Get the resources attached to a thread.
|
boolean |
isSponsored()
Deprecated.
Determine whether this thread is sponsored.
|
void |
setAllowedActions(java.lang.Integer[] allowedActions_)
Deprecated.
Set the actions that the user can do on this object.
|
void |
setCreator(java.lang.String creator_)
Deprecated.
Set the user name of the user who created this thread by posting
the first message.
|
void |
setDateCreated(java.sql.Timestamp time_)
Deprecated.
Set the date-time when this thread was created.
|
void |
setDateModified(java.sql.Timestamp time_)
Deprecated.
Set this date-time when this thread was last modified.
|
void |
setForumId(GlobalId forumId_)
Deprecated.
Set the
GlobalId of the forum to which this thread belongs. |
void |
setId(java.lang.Long id_)
Deprecated.
Sets this object's local identifier.
|
void |
setRemoteId(RemoteId remoteId_)
Deprecated.
Sets this object's remote identifier.
|
void |
setResources(Attachment[] attachments_)
Deprecated.
Set the resources attached to a thread.
|
void |
setSponsored(boolean sponsored_)
Deprecated.
Set whether this thread is sponsored.
|
public static final java.lang.Integer SORT_BY_ID
public static final java.lang.Integer SORT_BY_ROOT_MESSAGE_ID
public static final java.lang.Integer SORT_BY_MESSAGE_COUNT
public static final java.lang.Integer SORT_BY_DATE_CREATED
public static final java.lang.Integer SORT_BY_CREATOR
public static final java.lang.Integer SORT_BY_SPONSORED
public static final java.lang.Integer SORT_BY_DATE_MODIFIED
public java.lang.String getCreator()
public void setCreator(java.lang.String creator_)
creator_
- The user name.public java.sql.Timestamp getDateCreated()
public void setDateCreated(java.sql.Timestamp time_)
time_
- The timestamppublic java.sql.Timestamp getDateModified()
public void setDateModified(java.sql.Timestamp time_)
time_
- The timestamp.public GlobalId getForumId()
GlobalId
of the forum to which this thread belongs.GlobalId
.public void setForumId(GlobalId forumId_)
GlobalId
of the forum to which this thread belongs.forumId_
- public java.lang.Long getId()
LocalId
null
if the object
was not identified locally using a Long
Id.getId
in interface LocalId
LocalId.setId(Long)
public void setId(java.lang.Long id_)
LocalId
setId
in interface LocalId
id_
- Id to setLocalId.getId()
public RemoteId getRemoteId()
GlobalId
RemoteId
of this object's instance identifier,
null
if the object is only locally identified.getRemoteId
in interface GlobalId
GlobalId.setRemoteId(RemoteId)
public void setRemoteId(RemoteId remoteId_)
GlobalId
setRemoteId
in interface GlobalId
remoteId_
- remove Id to setGlobalId.getRemoteId()
public boolean isSponsored()
true
if the thread is sponsored,
false
if not.public void setSponsored(boolean sponsored_)
sponsored_
- true
if the thread should be sponsored,
false
if not.public Attachment[] getResources()
public void setResources(Attachment[] attachments_)
attachments_
- Objects identifying the resources.public java.lang.Integer[] getAllowedActions()
public void setAllowedActions(java.lang.Integer[] allowedActions_)
DiscussionThread
object is returned by the API. It CANNOT be used to
update the allowed actions for a
DiscussionThread
allowedActions_
- An array of the actions.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.