|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tumblr.jumblr.types.Resource
com.tumblr.jumblr.types.Blog
public class Blog
This class represents an individual Tumbelog
| Field Summary |
|---|
| Fields inherited from class com.tumblr.jumblr.types.Resource |
|---|
client |
| Constructor Summary | |
|---|---|
Blog()
|
|
| Method Summary | ||
|---|---|---|
String |
avatar()
|
|
String |
avatar(Integer size)
Get the avatar for this blog (of a given size |
|
boolean |
canAsk()
Can we ask questions on this blog? |
|
boolean |
canAskAnonymously()
Can we ask questions on this blog anonymously? |
|
List<Post> |
draftPosts()
|
|
List<Post> |
draftPosts(Map<String,?> options)
Get the draft posts for this blog |
|
void |
follow()
Follow this blog |
|
List<User> |
followers()
|
|
List<User> |
followers(Map<String,?> options)
Get followers for this blog |
|
String |
getDescription()
Get the description of this blog |
|
Integer |
getLikeCount()
Get the number of likes for this blog |
|
String |
getName()
Get the name of this blog |
|
Post |
getPost(Long postId)
Get an individual post by id |
|
Integer |
getPostCount()
Get the number of posts for this blog |
|
String |
getTitle()
Get the title of this blog |
|
Long |
getUpdated()
Get the time of the most recent post (in seconds since epoch) |
|
List<Post> |
likedPosts()
|
|
List<Post> |
likedPosts(Map<String,?> options)
Get likes posts for this blog |
|
|
newPost(Class<T> klass)
Create a new post of a given type for this blog |
|
List<Post> |
posts()
|
|
List<Post> |
posts(Map<String,?> options)
Get the posts for this blog |
|
List<Post> |
queuedPosts()
|
|
List<Post> |
queuedPosts(Map<String,?> options)
Get the queued posts for this blog |
|
void |
setName(String name)
Set the name of this blog |
|
List<Post> |
submissions()
|
|
List<Post> |
submissions(Map<String,?> options)
Get the submissions for this blog |
|
void |
unfollow()
Unfollow this blog |
|
| Methods inherited from class com.tumblr.jumblr.types.Resource |
|---|
getClient, setClient |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Blog()
| Method Detail |
|---|
public String getDescription()
public boolean canAsk()
public boolean canAskAnonymously()
public Integer getPostCount()
public Integer getLikeCount()
public Long getUpdated()
public String getTitle()
public String getName()
public String avatar(Integer size)
size - the size to get the avatar for
public String avatar()
public List<User> followers(Map<String,?> options)
options - a map of options (or null)
public List<User> followers()
public List<Post> posts(Map<String,?> options)
options - a map of options (or null)
public List<Post> posts()
public Post getPost(Long postId)
postId - the id of the post to retrieve
public List<Post> likedPosts(Map<String,?> options)
options - a map of options (or null)
public List<Post> likedPosts()
public void follow()
public void unfollow()
public List<Post> queuedPosts(Map<String,?> options)
options - the options (or null)
public List<Post> queuedPosts()
public List<Post> draftPosts(Map<String,?> options)
options - the options (or null)
public List<Post> draftPosts()
public List<Post> submissions(Map<String,?> options)
options - the options (or null)
public List<Post> submissions()
public <T extends Post> T newPost(Class<T> klass)
throws IllegalAccessException,
InstantiationException
klass - the class of the post to make
IllegalAccessException
InstantiationExceptionpublic void setName(String name)
name - the name to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||