public interface RatingService extends Service
Modifier and Type | Method and Description |
---|---|
int |
getLikeCount(Node node)
Retrieves the number of likes for the specified node
|
boolean |
isLiked(Node node)
Determine if the current user has liked this node.
|
void |
like(Node node)
Increases the like count for the specified node.
|
void |
unlike(Node node)
Removes a previous “like” of the specified node.
|
int getLikeCount(Node node)
node
- : Node object (Folder or Document).AlfrescoServiceException
- : if network or internal problems occur
during the process.void like(Node node)
node
- : Node object (Folder or Document).void unlike(Node node)
node
- : Node object (Folder or Document).AlfrescoServiceException
- : if network or internal problems occur
during the process.boolean isLiked(Node node)
node
- : Node object (Folder or Document).AlfrescoServiceException
- : if network or internal problems occur
during the process.Copyright © 2012-2018 Alfresco Software. All Rights Reserved.