public interface QnaPost extends Post
QnaPost
interface specifies the contract for a qnaforum question.Comment.ModeratorActions, Comment.ModeratorStatus, Comment.Tag
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PN_SELECTED_ANSWERS
The selected answers property name.
|
static java.lang.String |
POST_POSTFIX
The answer postfix.
|
static java.lang.String |
QNA_ANSWERED_TAG
The answered tag.
|
static java.lang.String |
QNA_CHOSEN_ANSWER_TAG
The chosen answer tag.
|
static java.lang.String |
QNA_MOVE_SELECTED_ANSWER_TO_TOP
The move selected answer to top property name.
|
static java.lang.String |
QNA_POST_CHOSEN_ANSWER
This prop is used to sort Qna Answers
|
static java.lang.String |
QNA_RESOURE_TYPE |
static java.lang.String |
RESOURCE_TYPE
The resource type.
|
static java.lang.String |
RESOURCE_TYPE_POST
The resource type qna post (answer).
|
static java.lang.String |
RESOURCE_TYPE_TOPIC
The resource type qna topic (question).
|
static java.lang.String |
TOPIC_POSTFIX
The question postfix.
|
LAST_SELF_MOD_BY, PN_COMPOSED_BY, PN_COMPOSED_FOR, PN_SUBJECT
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 |
---|---|
boolean |
canChooseAnswer()
Indicates whether this is chosen answer.
|
java.util.Iterator<java.lang.String> |
getSelectedAnswers()
Gets the list of answers in the property of the post resource.
|
boolean |
isAnswered()
Indicates whether this question is answered.
|
boolean |
isChosenAnswer()
Indicates whether this is chosen answer.
|
getForumId, getFriendlyUrl, getLastModifiedUser, getLatestPost, getPageInfo, getSubject, getViewCounts, isClosed, isForumClosed, isTopic, isTopicClosed, setLatestPost, setNumReplies
getAttachment, getAttachments, getAuthor, getCanDelete, getCanEdit, getCanReply, getCanTranslate, getConfiguration, getCreated, getCurrentUserFlagText, getFlagReasons, getMessage, getModeratorActions, getModeratorStatus, getParentId, getPublishDate, getReferrerUrl, getSourceComponentId, getState, getTags, getTranslationAttribution, getTranslationDescription, getTranslationDisplay, getTranslationTitle, getUseFlagReasons, getVotes, isApproved, isDraft, isFeatured, isFlaggedByUser, isPinned, isScheduled, isTopLevel, isUserModerator, isVisible
getItems, getTotalSize, setPagination, setSortedOrder
getAsMap, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONString
static final java.lang.String RESOURCE_TYPE
static final java.lang.String RESOURCE_TYPE_POST
static final java.lang.String RESOURCE_TYPE_TOPIC
static final java.lang.String POST_POSTFIX
static final java.lang.String TOPIC_POSTFIX
static final java.lang.String QNA_ANSWERED_TAG
static final java.lang.String QNA_CHOSEN_ANSWER_TAG
static final java.lang.String PN_SELECTED_ANSWERS
static final java.lang.String QNA_MOVE_SELECTED_ANSWER_TO_TOP
static final java.lang.String QNA_POST_CHOSEN_ANSWER
static final java.lang.String QNA_RESOURE_TYPE
boolean isAnswered()
true
if this question is answered.boolean isChosenAnswer()
true
if this is chosen answer.boolean canChooseAnswer()
true
if this is chosen answer.java.util.Iterator<java.lang.String> getSelectedAnswers()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"