public class FiveStarRatingScheme extends AbstractRatingScheme
activityService, dictionaryService, nodeRatingSchemeRegistry, nodeService, ratingSchemeId, ratingSchemeName, ratingService, siteService
Constructor and Description |
---|
FiveStarRatingScheme() |
Modifier and Type | Method and Description |
---|---|
void |
applyRating(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Object rating) |
Object |
getApiRating(Float rating) |
DocumentRatingSummary |
getDocumentRatingSummary(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Float |
getRatingServiceRating(Object rating) |
void |
removeRating(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
afterPropertiesSet, getNodeRating, getRatingSchemeId, getRatingServiceName, getRepoRatingScheme, postActivity, setActivityService, setDictionaryService, setNodeRatingSchemeRegistry, setNodeService, setRatingService, setSiteService, validateRating
public Object getApiRating(Float rating)
getApiRating
in class AbstractRatingScheme
public DocumentRatingSummary getDocumentRatingSummary(org.alfresco.service.cmr.repository.NodeRef nodeRef)
getDocumentRatingSummary
in class AbstractRatingScheme
public void applyRating(org.alfresco.service.cmr.repository.NodeRef nodeRef, Object rating)
public void removeRating(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Copyright © 2005–2017 Alfresco Software. All rights reserved.