@DiscussionMessageDataType @Deprecated public class Message extends java.lang.Object implements GlobalId
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
SORT_BY_ANONYMOUS_AUTHOR
Deprecated.
|
static java.lang.Integer |
SORT_BY_AUTHOR
Deprecated.
|
static java.lang.Integer |
SORT_BY_AVERAGE_RATING
Deprecated.
|
static java.lang.Integer |
SORT_BY_BODY_LOCATION
Deprecated.
|
static java.lang.Integer |
SORT_BY_DATE_POSTED
Deprecated.
|
static java.lang.Integer |
SORT_BY_DEPTH
Deprecated.
|
static java.lang.Integer |
SORT_BY_ID
Deprecated.
|
static java.lang.Integer |
SORT_BY_PARENT_ID
Deprecated.
|
static java.lang.Integer |
SORT_BY_RATING_COUNT
Deprecated.
|
static java.lang.Integer |
SORT_BY_SUBJECT
Deprecated.
|
static java.lang.Integer |
SORT_BY_THREAD_ID
Deprecated.
|
Constructor and Description |
---|
Message()
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 |
getAuthor()
Deprecated.
Get the user name of the author of this message.
|
double |
getAverageRating()
Deprecated.
Get the rating of this message.
|
java.lang.String |
getBody()
Deprecated.
Get the body of this message.
|
java.lang.String |
getBodyLocation()
Deprecated.
Get the location of the body.
|
java.sql.Timestamp |
getDatePosted()
Deprecated.
Get the date-time this message was posted.
|
int |
getDepth()
Deprecated.
Get the depth of this message.
|
java.lang.Long |
getId()
Deprecated.
Returns this object's local identifier,
null if the object
was not identified locally using a Long Id. |
java.lang.Long |
getParentId()
Deprecated.
Get the local id of the message that is the parent to this message.
|
int |
getRatingCount()
Deprecated.
Get the count of ratings that have been submitted for this messaage.
|
RemoteId |
getRemoteId()
Deprecated.
Returns the
RemoteId of this object's instance identifier,
null if the object is only locally identified. |
java.lang.String |
getSubject()
Deprecated.
Get the subject for this message.
|
java.lang.Long |
getThreadId()
Deprecated.
Get the local id of the thread which contains this message.
|
boolean |
isAnonymousAuthor()
Deprecated.
Determine if the author of this message is anonymous.
|
void |
setAllowedActions(java.lang.Integer[] allowedActions_)
Deprecated.
Set the actions that the user can do on this object.
|
void |
setAnonymousAuthor(boolean anonymous_)
Deprecated.
Set whether the author of this message is anonymous.
|
void |
setAuthor(java.lang.String author_)
Deprecated.
Set the user name of the author of this message.
|
void |
setAverageRating(double averageRating_)
Deprecated.
Set the rating of this message.
|
void |
setBody(java.lang.String body_)
Deprecated.
Set the body of this message.
|
void |
setBodyLocation(java.lang.String filename_)
Deprecated.
Set the location of the body.
|
void |
setDatePosted(java.sql.Timestamp time_)
Deprecated.
Set the date-time this message was posted.
|
void |
setDepth(int depth_)
Deprecated.
Set the depth of this message.
|
void |
setId(java.lang.Long id_)
Deprecated.
Sets this object's local identifier.
|
void |
setParentId(java.lang.Long parentId_)
Deprecated.
Set the local id of the message that is the parent to this message.
|
void |
setRatingCount(int ratingCount_)
Deprecated.
Set the count of ratings that have been submitted for this messaage.
|
void |
setRemoteId(RemoteId remoteId_)
Deprecated.
Sets this object's remote identifier.
|
void |
setSubject(java.lang.String subject_)
Deprecated.
Set the subject for this message.
|
void |
setThreadId(java.lang.Long threadId_)
Deprecated.
Set the local id of the thread which contains this message.
|
public static final java.lang.Integer SORT_BY_ID
public static final java.lang.Integer SORT_BY_PARENT_ID
public static final java.lang.Integer SORT_BY_AUTHOR
public static final java.lang.Integer SORT_BY_DATE_POSTED
public static final java.lang.Integer SORT_BY_THREAD_ID
public static final java.lang.Integer SORT_BY_SUBJECT
public static final java.lang.Integer SORT_BY_BODY_LOCATION
public static final java.lang.Integer SORT_BY_DEPTH
public static final java.lang.Integer SORT_BY_AVERAGE_RATING
public static final java.lang.Integer SORT_BY_RATING_COUNT
public static final java.lang.Integer SORT_BY_ANONYMOUS_AUTHOR
public boolean isAnonymousAuthor()
true
if anonymous, false
if not.public void setAnonymousAuthor(boolean anonymous_)
anonymous_
- public java.lang.String getAuthor()
public void setAuthor(java.lang.String author_)
author_
- The user namepublic double getAverageRating()
public void setAverageRating(double averageRating_)
averageRating_
- The rating.public java.lang.String getBody()
public void setBody(java.lang.String body_)
body_
- The body.public java.sql.Timestamp getDatePosted()
public void setDatePosted(java.sql.Timestamp time_)
time_
- The timestamppublic int getDepth()
public void setDepth(int depth_)
depth_
- The depth.public java.lang.String getBodyLocation()
public void setBodyLocation(java.lang.String filename_)
filename_
- The location.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 java.lang.Long getParentId()
public void setParentId(java.lang.Long parentId_)
parentId_
- The message local id.public int getRatingCount()
public void setRatingCount(int ratingCount_)
ratingCount_
- The count.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 java.lang.String getSubject()
public void setSubject(java.lang.String subject_)
subject_
- The subject.public java.lang.Long getThreadId()
public void setThreadId(java.lang.Long threadId_)
threadId_
- The thread local id.public java.lang.Integer[] getAllowedActions()
public void setAllowedActions(java.lang.Integer[] allowedActions_)
Message
object is returned by the API. It CANNOT be used to
update the allowed actions for a
Message
allowedActions_
- An array of the actions.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.