public interface OpenGraphAction extends GraphObject
GraphObject.Factory| Modifier and Type | Method and Description |
|---|---|
GraphObject |
getApplication()
Gets the application that created this action.
|
org.json.JSONObject |
getComments()
Gets the comments that have been made on this action.
|
Date |
getCreatedTime()
Gets the time the action was created.
|
Date |
getEndTime()
Gets the end time of the action.
|
Date |
getExpiresTime()
Gets the time the action expires at.
|
GraphUser |
getFrom()
Gets the from-user associated with the action.
|
String |
getId()
Gets the ID of the action.
|
List<org.json.JSONObject> |
getImage()
Gets the images that were associated with the action.
|
org.json.JSONObject |
getLikes()
Gets the 'likes' that have been performed on this action.
|
String |
getMessage()
Gets the message assoicated with the action.
|
GraphPlace |
getPlace()
Gets the place where the action took place.
|
Date |
getPublishTime()
Gets the time the action was published, if any.
|
String |
getRef()
Gets the unique string which will be passed to the OG Action owner's website
when a user clicks through this action on Facebook.
|
Date |
getStartTime()
Gets the start time of the action.
|
List<GraphObject> |
getTags()
Gets the list of profiles that were tagged in the action.
|
void |
setApplication(GraphObject application)
Sets the application that created this action.
|
void |
setComments(org.json.JSONObject comments)
Sets the comments that have been made on this action.
|
void |
setCreatedTime(Date createdTime)
Sets the time the action was created.
|
void |
setEndTime(Date endTime)
Sets the end time of the action.
|
void |
setExpiresTime(Date expiresTime)
Sets the time the action expires at.
|
void |
setFrom(GraphUser from)
Sets the from-user associated with the action.
|
void |
setId(String id)
Sets the ID of the action.
|
void |
setImage(List<org.json.JSONObject> image)
Sets the images that were associated with the action.
|
void |
setLikes(org.json.JSONObject likes)
Sets the 'likes' that have been performed on this action.
|
void |
setMessage(String message)
Sets the message associated with the action.
|
void |
setPlace(GraphPlace place)
Sets the place where the action took place.
|
void |
setPublishTime(Date publishTime)
Sets the time the action was published.
|
void |
setRef(String ref)
Sets the unique string which will be passed to the OG Action owner's website
when a user clicks through this action on Facebook.
|
void |
setStartTime(Date startTime)
Sets the start time of the action.
|
void |
setTags(List<? extends GraphObject> tags)
Sets the list of profiles that were tagged in the action.
|
asMap, cast, getInnerJSONObject, getProperty, removeProperty, setPropertyString getId()
void setId(String id)
id - the IDDate getStartTime()
void setStartTime(Date startTime)
startTime - the start timeDate getEndTime()
void setEndTime(Date endTime)
endTime - the end timeDate getPublishTime()
void setPublishTime(Date publishTime)
publishTime - the publish timeDate getCreatedTime()
void setCreatedTime(Date createdTime)
createdTime - the creation timeDate getExpiresTime()
void setExpiresTime(Date expiresTime)
expiresTime - the expiration timeString getRef()
void setRef(String ref)
ref - the ref stringString getMessage()
void setMessage(String message)
message - the messageGraphPlace getPlace()
void setPlace(GraphPlace place)
place - the placeList<GraphObject> getTags()
void setTags(List<? extends GraphObject> tags)
tags - the profiles that were tagged in the actionList<org.json.JSONObject> getImage()
void setImage(List<org.json.JSONObject> image)
image - the imagesGraphUser getFrom()
void setFrom(GraphUser from)
from - the from-userorg.json.JSONObject getLikes()
void setLikes(org.json.JSONObject likes)
likes - the likesGraphObject getApplication()
void setApplication(GraphObject application)
application - the applicationorg.json.JSONObject getComments()
void setComments(org.json.JSONObject comments)
comments - the commentsCopyright © 2013. All Rights Reserved.