org.rometools.propono.blogclient.metaweblog
Class MetaWeblogEntry

java.lang.Object
  extended by org.rometools.propono.blogclient.BaseBlogEntry
      extended by org.rometools.propono.blogclient.metaweblog.MetaWeblogEntry
All Implemented Interfaces:
BlogEntry
Direct Known Subclasses:
MetaWeblogResource

public class MetaWeblogEntry
extends BaseBlogEntry

MetaWeblog API implementation of an entry.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.rometools.propono.blogclient.BlogEntry
BlogEntry.Category, BlogEntry.Content, BlogEntry.Person
 
Field Summary
 
Fields inherited from class org.rometools.propono.blogclient.BaseBlogEntry
author, categories, content, draft, id, modificationDate, permalink, publicationDate, summary, title
 
Method Summary
 void delete()
          Delete this entry from blog server
 boolean equals(Object o)
          True if tokens are equal
 String getToken()
          Get token, which can be used to fetch the blog entry
 void save()
          Save this entry to it's collection.
 
Methods inherited from class org.rometools.propono.blogclient.BaseBlogEntry
getAuthor, getBlog, getCategories, getContent, getDraft, getId, getModificationDate, getPermalink, getPublicationDate, getSummary, getTitle, setAuthor, setCategories, setContent, setDraft, setModificationDate, setPublicationDate, setSummary, setTitle, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getToken

public String getToken()
Get token, which can be used to fetch the blog entry


equals

public boolean equals(Object o)
True if tokens are equal

Overrides:
equals in class Object

save

public void save()
          throws BlogClientException
Save this entry to it's collection. If this is a new entry and does not have a collection yet, then save() will save it to the primary collection.

Throws:
BlogClientException

delete

public void delete()
            throws BlogClientException
Delete this entry from blog server

Throws:
BlogClientException


Copyright © 2007-2013 ROME Project. All Rights Reserved.