public abstract class AbstractReviewCollection<R extends ReviewSocialComponent,C extends CommentCollectionConfiguration> extends AbstractCommentCollection<R,C> implements ReviewCollectionSocialComponent<R,C>
CSV_SELECTOR, DEFAULT_SELECTOR, INDEX_SELECTOR, PROP_REFERER, QUERY_SELECTOR, TRANSLATE_SELECTOR| Constructor and Description |
|---|
AbstractReviewCollection(Resource resource,
ClientUtilities clientUtils,
CommentSocialComponentListProviderManager listProviderManager)
Construct a
CommentCollection using the specified Resource which should be the root of the
collection. |
AbstractReviewCollection(Resource resource,
ClientUtilities clientUtils,
CommentSocialComponentListProviderManager listProviderManager,
UgcSearch search) |
AbstractReviewCollection(Resource resource,
ClientUtilities clientUtils,
QueryRequestInfo queryInfo,
CommentSocialComponentListProviderManager listProviderManager) |
AbstractReviewCollection(Resource resource,
ClientUtilities clientUtils,
QueryRequestInfo queryInfo,
CommentSocialComponentListProviderManager listProviderManager,
UgcSearch search)
Construct a
CommentCollection using the specified Resource which should be the root of the
collection with specified pagination for the children listing. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getAllowedRatings() |
java.util.Map<java.lang.String,ResponseValue> |
getCurrentUserResponse() |
java.lang.String |
getName() |
RatingSocialComponent |
getOverallRating() |
java.util.Map<java.lang.String,java.lang.String> |
getRatingAverages() |
java.util.Map<java.lang.String,RatingSocialComponent> |
getRatings() |
java.lang.Long |
getTotalNumberOfResponses() |
boolean |
isCompositeRating()
Return true if the review has composite ratings.
|
boolean |
isIncludeHistogram()
Return true if the review summary includes histogram.
|
getAsMap, getConfiguration, getCreated, getFriendlyUrl, getItems, getLastModified, getMayPost, getPageInfo, getTotalSize, isTaggingAllowed, setPagination, setSortedOrder, toJSONStringbuildJSONString, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrlequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfiguration, getCreated, getLastModified, getMayPost, getPageInfo, isTaggingAllowedgetItems, getTotalSize, setPagination, setSortedOrdergetAsMap, getFriendlyUrl, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringpublic AbstractReviewCollection(Resource resource, ClientUtilities clientUtils, CommentSocialComponentListProviderManager listProviderManager)
CommentCollection using the specified Resource which should be the root of the
collection.resource - the resource where the CommentCollection is locatedlistProviderManager - the list provider managerclientUtils - the clientUtilities instancepublic AbstractReviewCollection(Resource resource, ClientUtilities clientUtils, CommentSocialComponentListProviderManager listProviderManager, UgcSearch search)
public AbstractReviewCollection(Resource resource, ClientUtilities clientUtils, QueryRequestInfo queryInfo, CommentSocialComponentListProviderManager listProviderManager)
public AbstractReviewCollection(Resource resource, ClientUtilities clientUtils, QueryRequestInfo queryInfo, CommentSocialComponentListProviderManager listProviderManager, UgcSearch search)
CommentCollection using the specified Resource which should be the root of the
collection with specified pagination for the children listing.resource - the resource where the CommentCollection is locatedclientUtils - the clientUtilities instancequeryInfo - the query parameters, if anylistProviderManager - the list provider managersearch - the ugc search servicepublic RatingSocialComponent getOverallRating()
getOverallRating in interface ReviewCollectionSocialComponent<R extends ReviewSocialComponent,C extends CommentCollectionConfiguration>public java.lang.String getName()
getName in interface ReviewCollectionSocialComponent<R extends ReviewSocialComponent,C extends CommentCollectionConfiguration>public java.lang.Long getTotalNumberOfResponses()
getTotalNumberOfResponses in interface ReviewCollectionSocialComponent<R extends ReviewSocialComponent,C extends CommentCollectionConfiguration>public java.util.Map<java.lang.String,ResponseValue> getCurrentUserResponse() throws TallyException, RepositoryException
getCurrentUserResponse in interface ReviewCollectionSocialComponent<R extends ReviewSocialComponent,C extends CommentCollectionConfiguration>TallyException - if there was an error retrieving the current users response.RepositoryException - if there was an error retrieving the current users response.public java.util.Map<java.lang.String,RatingSocialComponent> getRatings()
getRatings in interface ReviewCollectionSocialComponent<R extends ReviewSocialComponent,C extends CommentCollectionConfiguration>public java.util.Map<java.lang.String,java.lang.String> getRatingAverages()
getRatingAverages in interface ReviewCollectionSocialComponent<R extends ReviewSocialComponent,C extends CommentCollectionConfiguration>public java.util.List<java.util.Map<java.lang.String,java.lang.String>> getAllowedRatings()
getAllowedRatings in interface ReviewCollectionSocialComponent<R extends ReviewSocialComponent,C extends CommentCollectionConfiguration>public boolean isCompositeRating()
ReviewCollectionSocialComponentisCompositeRating in interface ReviewCollectionSocialComponent<R extends ReviewSocialComponent,C extends CommentCollectionConfiguration>public boolean isIncludeHistogram()
ReviewCollectionSocialComponentisIncludeHistogram in interface ReviewCollectionSocialComponent<R extends ReviewSocialComponent,C extends CommentCollectionConfiguration>Copyright © 2010 - 2023 Adobe. All Rights Reserved