public interface CustomRatingsService extends RatingService
Modifier and Type | Method and Description |
---|---|
void |
applyStarRating(Node node,
float rating)
Apply 5 star rating to the specified node.
|
StarRating |
getStarRating(Node node)
Get the star ratings value for the specified node (Document or Folder)
|
float |
getUserStarRatingValue(Node node)
Get the user star ratings value for the specified node (Document or
Folder)
|
getLikeCount, isLiked, like, unlike
void applyStarRating(Node node, float rating)
node
- : Node object (Folder or Document).rating
- : Scale 0 to 5 stars.AlfrescoServiceException
- : If comment is not defined or If
network problems occur during the process.StarRating getStarRating(Node node)
node
- : Node object (Folder or Document).AlfrescoServiceException
- : If comment is not defined or If
network problems occur during the process.float getUserStarRatingValue(Node node)
node
- : Node object (Folder or Document).AlfrescoServiceException
- : If comment is not defined or If
network problems occur during the process.Copyright © 2012-2018 Alfresco Software. All Rights Reserved.