public class Rating extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Rating.Aggregate
An object with properties specific to the rating scheme.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
LIKES
Rating Type: Likes
|
static String |
STARS
Rating Type: Five Stars
|
| Constructor and Description |
|---|
Rating() |
| Modifier and Type | Method and Description |
|---|---|
Rating.Aggregate |
getAggregate() |
String |
getId() |
Object |
getMyRating() |
Date |
getRatedAt() |
void |
setAggregate(Rating.Aggregate aggregate)
Set Aggregate object with properties specific to the rating scheme
|
void |
setId(String id)
Set the rating scheme id.
|
void |
setMyRating(Object myRating)
Set the value of the rating.
|
void |
setRatedAt(Date ratedAt)
Set the date time the current authenticated user rated the item of content.
|
public static final String STARS
public static final String LIKES
public String getId()
public void setId(String id)
id - public Rating.Aggregate getAggregate()
public void setAggregate(Rating.Aggregate aggregate)
aggregate - public Date getRatedAt()
public void setRatedAt(Date ratedAt)
ratedAt - public void setMyRating(Object myRating)
myRating - public Object getMyRating()
Copyright © 2015 Alfresco Software Inc.. All Rights Reserved.