com.tumblr.jumblr.types
Class LinkPost

java.lang.Object
  extended by com.tumblr.jumblr.types.Resource
      extended by com.tumblr.jumblr.types.Post
          extended by com.tumblr.jumblr.types.LinkPost

public class LinkPost
extends Post

This class represents a Post of type "link"

Author:
jc

Field Summary
 
Fields inherited from class com.tumblr.jumblr.types.Resource
client
 
Constructor Summary
LinkPost()
           
 
Method Summary
 Map<String,Object> detail()
          Get the detail for this post (and the base detail)
 String getDescription()
          Get the description for this post
 String getLinkUrl()
          Get the link URL for this post
 String getTitle()
          Get the title for this post
 void save()
          save swallowing IOException (only for audio, video, photo)
 void setDescription(String description)
          Set the description for this post
 void setLinkUrl(String url)
          Set the link URL for this post
 void setTitle(String title)
          Set the title for this post
 
Methods inherited from class com.tumblr.jumblr.types.Post
addTag, delete, getBlogName, getDateGMT, getFormat, getId, getPostUrl, getRebloggedFromId, getRebloggedFromName, getReblogKey, getSourceUrl, getState, getTags, getTimestamp, getType, isBookmarklet, isLiked, isMobile, like, reblog, reblog, removeTag, setBlogName, setDate, setDate, setFormat, setId, setSlug, setState, setTags, toString, unlike
 
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, wait, wait, wait
 

Constructor Detail

LinkPost

public LinkPost()
Method Detail

getTitle

public String getTitle()
Get the title for this post

Returns:
the title

getLinkUrl

public String getLinkUrl()
Get the link URL for this post

Returns:
the link URL

getDescription

public String getDescription()
Get the description for this post

Returns:
the description

setTitle

public void setTitle(String title)
Set the title for this post

Parameters:
title - the title

setDescription

public void setDescription(String description)
Set the description for this post

Parameters:
description - the description

setLinkUrl

public void setLinkUrl(String url)
Set the link URL for this post

Parameters:
url - the link URL

detail

public Map<String,Object> detail()
Get the detail for this post (and the base detail)

Overrides:
detail in class Post
Returns:
the details

save

public void save()
save swallowing IOException (only for audio, video, photo)

Overrides:
save in class Post


Copyright © 2013. All Rights Reserved.