org.springframework.social.facebook.api
Class ActionMetadata

java.lang.Object
  extended by org.springframework.social.facebook.api.ActionMetadata
Direct Known Subclasses:
ListenActionMetadata, RatingActionMetadata, WatchActionMetadata

public class ActionMetadata
extends Object


Constructor Summary
ActionMetadata()
           
 
Method Summary
 ActionMetadata createdTime(Date createdTime)
           
 ActionMetadata endTime(Date endTime)
           
 ActionMetadata expiresIn(int expiresIn)
           
 ActionMetadata explicitlyShared(boolean explicitlyShared)
           
 ActionMetadata message(String message)
           
 ActionMetadata noFeedStory(boolean noFeedStory)
           
 ActionMetadata place(String place)
           
 ActionMetadata privacy(String privacy)
           
protected  void setDateIfNotNull(MultiValueMap<String,Object> params, String key, Date value)
           
protected  void setIfBooleanNotNull(MultiValueMap<String,Object> params, String key, Boolean value)
           
protected  void setIfNotNull(MultiValueMap<String,Object> params, String key, Object value)
           
 ActionMetadata startTime(Date startTime)
           
 ActionMetadata tag(String user)
           
 MultiValueMap<String,Object> toParameters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionMetadata

public ActionMetadata()
Method Detail

startTime

public ActionMetadata startTime(Date startTime)

endTime

public ActionMetadata endTime(Date endTime)

createdTime

public ActionMetadata createdTime(Date createdTime)

expiresIn

public ActionMetadata expiresIn(int expiresIn)

place

public ActionMetadata place(String place)

tag

public ActionMetadata tag(String user)

message

public ActionMetadata message(String message)

noFeedStory

public ActionMetadata noFeedStory(boolean noFeedStory)

explicitlyShared

public ActionMetadata explicitlyShared(boolean explicitlyShared)

privacy

public ActionMetadata privacy(String privacy)

toParameters

public MultiValueMap<String,Object> toParameters()

setIfNotNull

protected void setIfNotNull(MultiValueMap<String,Object> params,
                            String key,
                            Object value)

setIfBooleanNotNull

protected void setIfBooleanNotNull(MultiValueMap<String,Object> params,
                                   String key,
                                   Boolean value)

setDateIfNotNull

protected void setDateIfNotNull(MultiValueMap<String,Object> params,
                                String key,
                                Date value)