Package com.restfb.types
Class StatusMessage
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.NamedFacebookType
com.restfb.types.StatusMessage
- All Implemented Interfaces:
HasFrom
,HasMessage
,Serializable
Deprecated.
removed after Graph API 2.0
Represents the Status Message Graph API type.
- Since:
- 1.6
- Author:
- Mark Allen
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addComment(Comment comment)
Deprecated.boolean
addLike(NamedFacebookType like)
Deprecated.Deprecated.All of the comments on this message.getFrom()
Deprecated.The user who posted the message.getLikes()
Deprecated.The users that have liked this message.Deprecated.The status message content.getPlace()
Deprecated.The place where status message is attached.getType()
Deprecated.The object type which is set to status.Deprecated.The time the message was published.boolean
removeComment(Comment comment)
Deprecated.boolean
removeLike(NamedFacebookType like)
Deprecated.void
setFrom(NamedFacebookType from)
Deprecated.The user who posted the message.void
setMessage(String message)
Deprecated.The status message content.void
Deprecated.The place where status message is attached.void
Deprecated.The object type which is set to status.void
setUpdatedTime(Date updatedTime)
Deprecated.The time the message was published.Methods inherited from class com.restfb.types.NamedFacebookType
getName, setName
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, setId, setMetadata
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
StatusMessage
public StatusMessage()Deprecated.
-
-
Method Details
-
getLikes
Deprecated.The users that have liked this message.- Returns:
- The users that have liked this message.
-
addLike
Deprecated. -
removeLike
Deprecated. -
getComments
Deprecated.All of the comments on this message.- Returns:
- All of the comments on this message.
-
addComment
Deprecated. -
removeComment
Deprecated. -
getFrom
Deprecated.The user who posted the message. -
setFrom
Deprecated.The user who posted the message. -
getMessage
Deprecated.The status message content.- Specified by:
getMessage
in interfaceHasMessage
- Returns:
- The status message content.
-
setMessage
Deprecated.The status message content. -
getPlace
Deprecated.The place where status message is attached.- Returns:
- The place where the status message posted.
- Since:
- 1.6.15
-
setPlace
Deprecated.The place where status message is attached.- Since:
- 1.6.15
-
getType
Deprecated.The object type which is set to status.- Overrides:
getType
in classFacebookType
- Returns:
- The object type which is set to status.
-
setType
Deprecated.The object type which is set to status.- Overrides:
setType
in classFacebookType
-
getUpdatedTime
Deprecated.The time the message was published.- Returns:
- The time the message was published.
-
setUpdatedTime
Deprecated.The time the message was published.
-