public class AbstractReview<C extends CommentCollectionConfiguration> extends AbstractComment<C> implements ReviewSocialComponent<C>
Comment.ModeratorActions, Comment.ModeratorStatus, Comment.TagCOMMENT_RESOURCETYPE, COMMENTCOLLECTION_RESOURCETYPE, JSON_EXTENSION, NODE_TYPE, PROP_APPROVED, PROP_REFERER, PROP_SPAM, PROP_USE_REFERRER_URL, SOCO_SELECTORCSV_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, toStringbuildJSONString, getAsMap, getId, getProperties, getProperty, getProperty, getResource, getUrl, toJSONStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttachment, 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, isVisiblegetItems, getTotalSize, setPagination, setSortedOrdergetAsMap, getFriendlyUrl, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringpublic 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 CommentclientUtils - 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>ReviewExceptionpublic boolean isCompositeRating()
ReviewSocialComponentisCompositeRating in interface ReviewSocialComponent<C extends CommentCollectionConfiguration>public VotingSocialComponent getVoting()
getVoting in interface ReviewSocialComponent<C extends CommentCollectionConfiguration>Copyright © 2010 - 2023 Adobe. All Rights Reserved