org.rometools.propono.blogclient.atomprotocol
Class AtomEntry
java.lang.Object
org.rometools.propono.blogclient.BaseBlogEntry
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.
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 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 |
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.