ch.odi.justblog.api.blogger
Class BloggerBlog

java.lang.Object
  extended bych.odi.justblog.api.blogger.BloggerBlog
All Implemented Interfaces:
Blog

public class BloggerBlog
extends java.lang.Object
implements Blog

A Blogger Blog.

Author:
oglueck

Constructor Summary
BloggerBlog(java.lang.String id)
           
 
Method Summary
 void authenticate(javax.security.auth.callback.CallbackHandler authCallback)
          Authenticates a user to this blog.
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.net.URL getUrl()
           
 void post(Entry entry)
          Posts a entry to this blog.
 void setName(java.lang.String name)
           
 void setUrl(java.net.URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BloggerBlog

public BloggerBlog(java.lang.String id)
Method Detail

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getUrl

public java.net.URL getUrl()
Returns:
Returns the url.

setUrl

public void setUrl(java.net.URL url)
Parameters:
url - The url to set.

getId

public java.lang.String getId()
Returns:
Returns the id.

authenticate

public void authenticate(javax.security.auth.callback.CallbackHandler authCallback)
                  throws AuthenticationFailedException
Description copied from interface: Blog
Authenticates a user to this blog. After a successful call, the user can perform privileged actions on the blog.

Specified by:
authenticate in interface Blog
Parameters:
authCallback - Provides the implementation with a callback handler to be used JAAS like to retrieve authentication data from the user.The handler will be set by Justblog before any other method is called.
Throws:
AuthenticationFailedException

post

public void post(Entry entry)
          throws ApiException
Description copied from interface: Blog
Posts a entry to this blog.

Specified by:
post in interface Blog
Parameters:
entry - either a new or an existing entry
Throws:
ApiException


Copyright © 2005 Ortwin Glück. All Rights Reserved.