org.springframework.social.facebook.api
Class RatingActionMetadata

java.lang.Object
  extended by org.springframework.social.facebook.api.ActionMetadata
      extended by org.springframework.social.facebook.api.RatingActionMetadata

public class RatingActionMetadata
extends ActionMetadata

Carries metadata related to a rating action (such as rating a book or a movie).


Constructor Summary
RatingActionMetadata()
           
 
Method Summary
 RatingActionMetadata reviewLink(String reviewLink)
          Sets a link to a review that accompanies a rating.
 RatingActionMetadata reviewText(String reviewText)
          Sets review text to accompany a rating.
 MultiValueMap<String,Object> toParameters()
           
 
Methods inherited from class org.springframework.social.facebook.api.ActionMetadata
createdTime, endTime, expiresIn, explicitlyShared, message, noFeedStory, place, privacy, setDateIfNotNull, setIfBooleanNotNull, setIfNotNull, startTime, tag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingActionMetadata

public RatingActionMetadata()
Method Detail

reviewText

public RatingActionMetadata reviewText(String reviewText)
Sets review text to accompany a rating.

Parameters:
reviewText - Review text to go along with a rating.

reviewLink

public RatingActionMetadata reviewLink(String reviewLink)
Sets a link to a review that accompanies a rating.

Parameters:
reviewLink - A link to a review that accompanies a rating.

toParameters

public MultiValueMap<String,Object> toParameters()
Overrides:
toParameters in class ActionMetadata