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 String |
PN_SELECTED_ANSWERS
The selected answers property name.
|
static String |
POST_POSTFIX
The answer postfix.
|
static String |
QNA_ANSWERED_TAG
The answered tag.
|
static String |
QNA_CHOSEN_ANSWER_TAG
The chosen answer tag.
|
static String |
QNA_MOVE_SELECTED_ANSWER_TO_TOP
The move selected answer to top property name.
|
static String |
QNA_RESOURE_TYPE |
static String |
RESOURCE_TYPE
The resource type.
|
static String |
RESOURCE_TYPE_POST
The resource type qna post (answer).
|
static String |
RESOURCE_TYPE_TOPIC
The resource type qna topic (question).
|
static String |
TOPIC_POSTFIX
The question postfix.
|
LAST_SELF_MOD_BY, PN_SUBJECT
COMMENT_RESOURCETYPE, COMMENTCOLLECTION_RESOURCETYPE, JSON_EXTENSION, NODE_TYPE, PROP_APPROVED, PROP_SPAM, SOCO_SELECTOR
DEFAULT_SELECTOR, INDEX_SELECTOR, QUERY_SELECTOR, TRANSLATE_SELECTOR
Modifier and Type | Method and Description |
---|---|
boolean |
canChooseAnswer()
Indicates whether this is chosen answer.
|
Iterator<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, isClosed, isForumClosed, isPinned, isTopic, isTopicClosed, setLatestPost, setNumReplies
getAttachment, getAttachments, getAuthor, getCanDelete, getCanEdit, getCanReply, getCanTranslate, getConfiguration, getCreated, getCurrentUserFlagText, getFlagReasons, getMessage, getModeratorActions, getModeratorStatus, getParentId, getSourceComponentId, getTags, getTranslationAttribution, getTranslationDescription, getTranslationDisplay, getTranslationTitle, getUseFlagReasons, getVotes, isApproved, isFlaggedByUser, isTopLevel, isUserModerator, isVisible
getItems, getTotalSize, setPagination, setSortedOrder
getAsMap, getId, getParentComponent, getProperties, getResource, getResourceType, getSourceComponent, getUrl, toJSONString
static final String RESOURCE_TYPE
static final String RESOURCE_TYPE_POST
static final String RESOURCE_TYPE_TOPIC
static final String POST_POSTFIX
static final String TOPIC_POSTFIX
static final String QNA_ANSWERED_TAG
static final String QNA_CHOSEN_ANSWER_TAG
static final String PN_SELECTED_ANSWERS
static final String QNA_MOVE_SELECTED_ANSWER_TO_TOP
static final 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."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"