public class AbstractReview<C extends CommentCollectionConfiguration> extends AbstractComment<C> implements ReviewSocialComponent<C>
Comment.ModeratorActions, Comment.ModeratorStatus, Comment.Tag
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
Constructor and Description |
---|
AbstractReview(Resource resource,
ClientUtilities clientUtils,
CommentSocialComponentListProviderManager listProviderManager)
Construct a Review for the specified target resource.
|
AbstractReview(Resource resource,
ClientUtilities clientUtils,
QueryRequestInfo queryInfo,
CommentSocialComponentListProviderManager listProviderManager)
Constructor of a Review.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Long> |
getRatingResponses() |
VotingSocialComponent |
getVoting() |
boolean |
isCompositeRating()
Return true if the review has composite ratings.
|
getAttachment, getAttachments, getAuthor, getCanDelete, getCanEdit, getCanReply, getCanTranslate, getConfiguration, getCreated, getCurrentUserFlagText, getFlagReasons, getFriendlyUrl, getItems, getMessage, getModeratorActions, getModeratorStatus, getPageInfo, getParent, getParentComponent, getParentId, getPublishDate, getReferrerUrl, getResourceType, getSourceComponent, getSourceComponentId, getState, getTags, getTotalSize, getTranslationAttribution, getTranslationDescription, getTranslationDisplay, getTranslationTitle, getUseFlagReasons, getVotes, isApproved, isClosed, isDraft, isFeatured, isFlaggedByUser, isPinned, isScheduled, isTopLevel, isUserModerator, isVisible, setPagination, setSortedOrder, setSortFields, toString
buildJSONString, getAsMap, getId, getProperties, getProperty, getProperty, getResource, getUrl, toJSONString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
public AbstractReview(Resource resource, ClientUtilities clientUtils, CommentSocialComponentListProviderManager listProviderManager) throws RepositoryException
resource
- the specified resourceclientUtils
- the client utilities instancelistProviderManager
- list manager to use for listing contentRepositoryException
- if an error occurspublic AbstractReview(Resource resource, ClientUtilities clientUtils, QueryRequestInfo queryInfo, CommentSocialComponentListProviderManager listProviderManager) throws RepositoryException
resource
- the specified com.adobe.cq.social.commons.Comment
clientUtils
- the client utilities instancequeryInfo
- the query info.listProviderManager
- list manager to use for listing contentRepositoryException
- if an error occurspublic java.util.Map<java.lang.String,java.lang.Long> getRatingResponses() throws ReviewException
getRatingResponses
in interface ReviewSocialComponent<C extends CommentCollectionConfiguration>
ReviewException
public boolean isCompositeRating()
ReviewSocialComponent
isCompositeRating
in interface ReviewSocialComponent<C extends CommentCollectionConfiguration>
public VotingSocialComponent getVoting()
getVoting
in interface ReviewSocialComponent<C extends CommentCollectionConfiguration>
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"