public class Note extends FacebookType
FacebookType.Metadata
Constructor and Description |
---|
Note() |
Modifier and Type | Method and Description |
---|---|
boolean |
addComment(Comment comment) |
List<Comment> |
getComments()
Comments made on the note.
|
String |
getCommentsAsObject() |
Date |
getCreatedTime()
The time the note was initially published.
|
NamedFacebookType |
getFrom()
The ID of the user who posted the note.
|
String |
getIcon()
The note icon.
|
String |
getMessage()
The note content, an HTML string.
|
String |
getSubject()
The title of the note.
|
Date |
getUpdatedTime()
The time the note was last updated.
|
boolean |
removeComment(Comment comment) |
void |
setCommentsAsObject(String commentsAsObject) |
void |
setCreatedTime(Date createdTime)
The time the note was initially published.
|
void |
setFrom(NamedFacebookType from)
The ID of the user who posted the note.
|
void |
setIcon(String icon)
The note icon.
|
void |
setMessage(String message)
The note content, an HTML string.
|
void |
setSubject(String subject)
The title of the note.
|
void |
setUpdatedTime(Date updatedTime)
The time the note was last updated.
|
equals, getId, getMetadata, getType, hashCode, setId, setMetadata, setType, toString
public Note()
public List<Comment> getComments()
public boolean addComment(Comment comment)
public boolean removeComment(Comment comment)
public NamedFacebookType getFrom()
public void setFrom(NamedFacebookType from)
public String getSubject()
public void setSubject(String subject)
public String getMessage()
public void setMessage(String message)
public Date getCreatedTime()
public void setCreatedTime(Date createdTime)
public Date getUpdatedTime()
public void setUpdatedTime(Date updatedTime)
public String getCommentsAsObject()
public void setCommentsAsObject(String commentsAsObject)
RestFB 1.7.0. Copyright © 2010-2014 Mark Allen. All Rights Reserved.