public class NodeRatingsImpl extends Object implements NodeRatings
Constructor and Description |
---|
NodeRatingsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addRating(String nodeId,
String ratingSchemeId,
Object rating) |
NodeRating |
getNodeRating(String nodeId,
String ratingSchemeId) |
CollectionWithPagingInfo<NodeRating> |
getNodeRatings(String nodeId,
Paging paging) |
void |
removeRating(String nodeId,
String ratingSchemeId) |
void |
setNodeRatingSchemeRegistry(org.alfresco.util.registry.NamedObjectRegistry<RatingScheme> nodeRatingSchemeRegistry) |
void |
setNodes(Nodes nodes) |
void |
setRatingService(RatingService ratingService) |
void |
setTypeConstraint(TypeConstraint typeConstraint) |
RatingScheme |
validateRatingScheme(String ratingSchemeId) |
public void setTypeConstraint(TypeConstraint typeConstraint)
public void setRatingService(RatingService ratingService)
public void setNodes(Nodes nodes)
public void setNodeRatingSchemeRegistry(org.alfresco.util.registry.NamedObjectRegistry<RatingScheme> nodeRatingSchemeRegistry)
public RatingScheme validateRatingScheme(String ratingSchemeId)
validateRatingScheme
in interface NodeRatings
public NodeRating getNodeRating(String nodeId, String ratingSchemeId)
getNodeRating
in interface NodeRatings
public CollectionWithPagingInfo<NodeRating> getNodeRatings(String nodeId, Paging paging)
getNodeRatings
in interface NodeRatings
public void addRating(String nodeId, String ratingSchemeId, Object rating)
addRating
in interface NodeRatings
public void removeRating(String nodeId, String ratingSchemeId)
removeRating
in interface NodeRatings
Copyright © 2005–2017 Alfresco Software. All rights reserved.