public class LikesRatingScheme extends AbstractRatingScheme
activityService, dictionaryService, nodeRatingSchemeRegistry, nodeService, ratingSchemeId, ratingSchemeName, ratingService, siteService
Constructor and Description |
---|
LikesRatingScheme() |
Modifier and Type | Method and Description |
---|---|
void |
applyRating(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Object rating) |
protected Object |
getApiRating(Float rating) |
protected 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 void applyRating(org.alfresco.service.cmr.repository.NodeRef nodeRef, Object rating)
public void removeRating(org.alfresco.service.cmr.repository.NodeRef nodeRef)
protected Object getApiRating(Float rating)
getApiRating
in class AbstractRatingScheme
protected DocumentRatingSummary getDocumentRatingSummary(org.alfresco.service.cmr.repository.NodeRef nodeRef)
getDocumentRatingSummary
in class AbstractRatingScheme
Copyright © 2005–2017 Alfresco Software. All rights reserved.