public class FacebookStatusMessage extends java.lang.Object
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <statusMessage> <from>QveueNbeBnUjoFfpSCPKRiJsUHlCdRQkYWKJQZZpXQXGYyiZglYFStgExuKqODXz</from> <likeCount>1</likeCount> <commentList> <comment> <createdTimestamp>1991-05-25T14:37:34+0300</createdTimestamp> <from>tfvCelbuMapPossuodHwUWDhbpzdacvEkUwmdaaUSGfsSTASXrqFQDhDhVrbqfGK</from> <likeCount>6556936938293207246</likeCount> <message>QARwlMtGTsYUIEhJqUlyjOBlftywIXOqrKuoLGATFeRUgHqnwIRGNeBoiQadbvAL</message> </comment> </commentList> <updatedTimestamp>1999-12-24T02:36:26+0200</updatedTimestamp> <message>DcjcZSLtiFzKdHEigTdEQLUgACzoOquWsAAlodTHYZrwBXPiarBSwlvvsQHfmdzC</message> </statusMessage>
StatusMessage
Constructor and Description |
---|
FacebookStatusMessage() |
FacebookStatusMessage(com.restfb.types.StatusMessage statusMessage) |
Modifier and Type | Method and Description |
---|---|
boolean |
addLike(com.restfb.types.NamedFacebookType like) |
static java.util.List<FacebookStatusMessage> |
getFacebookStatusMessages(java.util.List<com.restfb.types.StatusMessage> statuses) |
java.lang.String |
getFromName() |
java.lang.Long |
getLikeCount() |
java.lang.String |
getMessage() |
java.util.List<FacebookComment> |
getMessageComments() |
java.lang.Integer |
getMessageWeight() |
java.util.Date |
getUpdatedTime() |
WeightedStringElement |
getWMessage() |
void |
setFromName(java.lang.String name) |
void |
setMessage(java.lang.String message) |
void |
setMessageComments(java.util.List<FacebookComment> comments) |
void |
setMessageWeight(java.lang.Integer messageWeight) |
void |
setUpdatedTime(java.util.Date date) |
public FacebookStatusMessage()
public FacebookStatusMessage(com.restfb.types.StatusMessage statusMessage) throws java.lang.IllegalArgumentException
statusMessage
- java.lang.IllegalArgumentException
public java.util.List<FacebookComment> getMessageComments()
StatusMessage.getComments()
,
setMessageComments(List)
public void setMessageComments(java.util.List<FacebookComment> comments)
comments
- getMessageComments()
public java.lang.Long getLikeCount()
StatusMessage.getLikes()
public java.lang.String getFromName()
StatusMessage.getFrom()
,
NamedFacebookType.getName()
,
setFromName(String)
public void setFromName(java.lang.String name)
name
- StatusMessage.setFrom(com.restfb.types.NamedFacebookType)
,
getFromName()
public WeightedStringElement getWMessage()
StatusMessage.getMessage()
,
getMessage()
public java.util.Date getUpdatedTime()
StatusMessage.getUpdatedTime()
,
setUpdatedTime(Date)
public java.lang.Integer getMessageWeight()
setMessageWeight(Integer)
public void setMessageWeight(java.lang.Integer messageWeight)
messageWeight
- getMessageWeight()
public boolean addLike(com.restfb.types.NamedFacebookType like)
like
- StatusMessage.addLike(com.restfb.types.NamedFacebookType)
,
getLikeCount()
public void setMessage(java.lang.String message)
message
- StatusMessage.setMessage(java.lang.String)
,
getMessage()
public void setUpdatedTime(java.util.Date date)
date
- StatusMessage.setUpdatedTime(java.util.Date)
,
getUpdatedTime()
public static java.util.List<FacebookStatusMessage> getFacebookStatusMessages(java.util.List<com.restfb.types.StatusMessage> statuses)
statuses
- public java.lang.String getMessage()
StatusMessage.getMessage()
,
setMessage(String)
Copyright © 2015 Tampere University of Technology, Pori Department.