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_SPAM, SOCO_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 |
---|---|
Map<String,Long> |
getRatingResponses() |
VotingSocialComponent |
getVoting() |
boolean |
isCompositeRating()
Return true if the review has composite ratings.
|
createConfiguration, getAttachment, getAttachments, getAuthor, getCanDelete, getCanEdit, getCanReply, getCanTranslate, getConfiguration, getCreated, getCurrentUserFlagText, getFlagReasons, getItems, getMessage, getModeratorActions, getModeratorStatus, getPageInfo, getParent, getParentId, getResourceType, getTags, getTotalSize, getUseFlagReasons, getVotes, isApproved, isClosed, isFlaggedByUser, isTopLevel, isUserModerator, isVisible, setPagination, setSortedOrder, toString
getAsMap, getId, getProperties, getResource, getUrl, toJSONString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
createConfiguration, getAttachment, getAttachments, getAuthor, getCanDelete, getCanEdit, getCanReply, getCanTranslate, getConfiguration, getCreated, getCurrentUserFlagText, getFlagReasons, getMessage, getModeratorActions, getModeratorStatus, getPageInfo, getParentId, getTags, getUseFlagReasons, getVotes, isApproved, isClosed, isFlaggedByUser, isTopLevel, isUserModerator, isVisible
getItems, getTotalSize, setPagination, setSortedOrder
getAsMap, getId, getProperties, getResource, getResourceType, getUrl, toJSONString
public AbstractReview(Resource resource, ClientUtilities clientUtils, CommentSocialComponentListProviderManager listProviderManager) throws RepositoryException
resource
- the specified resourceclientUtils
- the client utilities instancecommentListProviderManager
- 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 Comment
clientUtils
- the client utilities instancequeryInfo
- the query info.commentListProviderManager
- list manager to use for listing contentRepositoryException
- if an error occurspublic Map<String,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 © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"