org.springframework.social.alfresco.api.entities
Class Rating.Aggregate
java.lang.Object
org.springframework.social.alfresco.api.entities.Rating.Aggregate
- Enclosing class:
- Rating
public static class Rating.Aggregate
- extends Object
An object with properties specific to the rating scheme. For likes this will contain a single property numberOfRatings . For
fiveStar this will contain numberOfRatings and average .
- Author:
- jottley
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rating.Aggregate
public Rating.Aggregate()
getNumberOfRatings
public long getNumberOfRatings()
- Returns:
- The number of ratings received
setNumberOfRatings
public void setNumberOfRatings(long numberOfRatings)
- Set the number of ratings received
- Parameters:
numberOfRatings -
Copyright © 2012 Alfresco Software Inc.. All Rights Reserved.