public interface MessageSocialComponent<T extends CommentCollectionConfiguration> extends Comment<T>
Comment.ModeratorActions, Comment.ModeratorStatus, Comment.Tag
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MESSAGE_RESOURCE_TYPE
Resource type for message.
|
static java.lang.String |
NT_MESSAGE_NODE_TYPE
node type for message Nodes.
|
static java.lang.String |
PN_MESSAGE_BASE
property to specify message base page path.
|
static java.lang.String |
PN_MESSAGE_CONTENT
property to specify message content.
|
static java.lang.String |
PN_MESSAGE_DELETED
property to specify trashed or not.
|
static java.lang.String |
PN_MESSAGE_ID
property to specify message id.
|
static java.lang.String |
PN_MESSAGE_READ
property to specify to specify read or unread.
|
static java.lang.String |
PN_MESSAGE_RECIPIENT_NAMES
property to specify recipients' names.
|
static java.lang.String |
PN_MESSAGE_RECIPIENTS
property to specify recipients.
|
static java.lang.String |
PN_MESSAGE_SELECTOR
property to specify message service selector.
|
static java.lang.String |
PN_MESSAGE_SENDER
property to specify sender id.
|
static java.lang.String |
PN_MESSAGE_SENDER_NAME
property to specify sender name.
|
static java.lang.String |
PN_MESSAGE_SIZE
property name for size of message.
|
static java.lang.String |
PN_MESSAGE_SUBJECT
property to specify message subject.
|
static java.lang.String |
PN_MESSAGE_TIMESTAMP
property to specify time stamp of message.
|
static java.lang.String |
PN_MESSAGE_URL
property to specify message url.
|
COMMENT_RESOURCETYPE, COMMENTCOLLECTION_RESOURCETYPE, JSON_EXTENSION, NODE_TYPE, PROP_APPROVED, PROP_REFERER, PROP_SPAM, PROP_USE_REFERRER_URL, SOCO_SELECTOR
CSV_SELECTOR, DEFAULT_SELECTOR, INDEX_SELECTOR, QUERY_SELECTOR, TRANSLATE_SELECTOR
Modifier and Type | Method and Description |
---|---|
java.util.List<Attachment> |
getAttachmentsList()
Retrieves a list, an entry of which represents
Attachment . |
java.util.Map<java.lang.String,java.lang.Object> |
getCustomProperties() |
java.lang.String |
getMessageBoxPath() |
java.lang.String |
getMessageBoxRelativePath()
Get the relative path of this message's message box from the user's node.
|
java.lang.String |
getMessageID() |
java.util.List<MessagingUser> |
getRecipients()
Get recipients of a message.
|
java.util.List<java.lang.String> |
getRecipientsNames()
Get the names of the recipients of a message
|
MessagingUser |
getSender()
Get message sender.
|
java.lang.String |
getSubject() |
java.util.Calendar |
getTimestamp() |
boolean |
isDeleted() |
boolean |
isRead() |
boolean |
setDeleted(boolean value)
mark the message as trashed or un-trashed.
|
boolean |
setRead(boolean value)
mark the message as read or unread.
|
getAttachment, getAttachments, getAuthor, getCanDelete, getCanEdit, getCanReply, getCanTranslate, getConfiguration, getCreated, getCurrentUserFlagText, getFlagReasons, getMessage, getModeratorActions, getModeratorStatus, getPageInfo, getParentId, getPublishDate, getReferrerUrl, getSourceComponentId, getState, getTags, getTranslationAttribution, getTranslationDescription, getTranslationDisplay, getTranslationTitle, getUseFlagReasons, getVotes, isApproved, isClosed, isDraft, isFeatured, isFlaggedByUser, isPinned, isScheduled, isTopLevel, isUserModerator, isVisible
getItems, getTotalSize, setPagination, setSortedOrder
getAsMap, getFriendlyUrl, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONString
static final java.lang.String MESSAGE_RESOURCE_TYPE
static final java.lang.String PN_MESSAGE_ID
static final java.lang.String PN_MESSAGE_BASE
static final java.lang.String PN_MESSAGE_SELECTOR
static final java.lang.String PN_MESSAGE_URL
static final java.lang.String PN_MESSAGE_RECIPIENTS
static final java.lang.String PN_MESSAGE_SENDER_NAME
static final java.lang.String PN_MESSAGE_RECIPIENT_NAMES
static final java.lang.String PN_MESSAGE_SUBJECT
static final java.lang.String PN_MESSAGE_CONTENT
static final java.lang.String PN_MESSAGE_SENDER
static final java.lang.String PN_MESSAGE_READ
static final java.lang.String PN_MESSAGE_DELETED
static final java.lang.String PN_MESSAGE_TIMESTAMP
static final java.lang.String NT_MESSAGE_NODE_TYPE
static final java.lang.String PN_MESSAGE_SIZE
@CheckForNull java.util.Map<java.lang.String,java.lang.Object> getCustomProperties()
@Nonnull java.lang.String getSubject()
@CheckForNull java.util.Calendar getTimestamp()
@CheckForNull java.lang.String getMessageBoxRelativePath()
@CheckForNull MessagingUser getSender()
MessagingUser
.@Nonnull java.util.List<MessagingUser> getRecipients()
MessagingUser
.@Nonnull java.util.List<java.lang.String> getRecipientsNames()
@Nonnull boolean isRead()
@Nonnull boolean isDeleted()
@CheckForNull java.lang.String getMessageID()
@CheckForNull java.lang.String getMessageBoxPath()
java.util.List<Attachment> getAttachmentsList()
Attachment
. The list contains all the attachments of the
message.List
representing the available attachments, or an empty list if no attachments are present.boolean setDeleted(boolean value)
value
- true if the message is to be trashed, false otherwise.boolean setRead(boolean value)
value
- true if the message is to be marked read, false otherwise.Copyright © 2010 - 2020 Adobe. All Rights Reserved