org.rometools.propono.blogclient.atomprotocol
Class AtomEntry

java.lang.Object
  extended by org.rometools.propono.blogclient.BaseBlogEntry
      extended by org.rometools.propono.blogclient.atomprotocol.AtomEntry
All Implemented Interfaces:
BlogEntry
Direct Known Subclasses:
AtomResource

public class AtomEntry
extends BaseBlogEntry
implements BlogEntry

Atom protocol implementation of BlogEntry.


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 entry's token's 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
 
Methods inherited from interface org.rometools.propono.blogclient.BlogEntry
getAuthor, getBlog, getCategories, getContent, getDraft, getId, getModificationDate, getPermalink, getPublicationDate, getSummary, getTitle, setAuthor, setCategories, setContent, setDraft, setModificationDate, setPublicationDate, setSummary, setTitle
 

Method Detail

getToken

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

Specified by:
getToken in interface BlogEntry

equals

public boolean equals(Object o)
True if entry's token's 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.

Specified by:
save in interface BlogEntry
Throws:
BlogClientException

delete

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

Specified by:
delete in interface BlogEntry
Throws:
BlogClientException


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