|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.dao.file.FileBlogEntryDAO
public class FileBlogEntryDAO
Constructor Summary | |
---|---|
FileBlogEntryDAO()
|
Method Summary | |
---|---|
java.lang.String |
getPath(Blog blog,
java.lang.String blogEntryId,
java.util.TimeZone timeZone)
Given a blog and blog entry ID, this method determines the path where that blog entry is stored. |
java.util.List<BlogEntry> |
loadBlogEntries(Blog blog)
Loads all blog entries. |
BlogEntry |
loadBlogEntry(Blog blog,
java.lang.String blogEntryId)
Loads a specific blog entry. |
void |
removeBlogEntry(BlogEntry blogEntry)
Removes the specified blog entry. |
void |
storeBlogEntry(BlogEntry blogEntry)
Stores the specified blog entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileBlogEntryDAO()
Method Detail |
---|
public BlogEntry loadBlogEntry(Blog blog, java.lang.String blogEntryId) throws PersistenceException
loadBlogEntry
in interface BlogEntryDAO
blogEntryId
- the blog entry ID
PersistenceException
- if the specified blog entry cannot be loadedpublic java.util.List<BlogEntry> loadBlogEntries(Blog blog) throws PersistenceException
loadBlogEntries
in interface BlogEntryDAO
blog
- the Blog to load all entries for
PersistenceException
- if the blog entries cannot be loadedpublic void storeBlogEntry(BlogEntry blogEntry) throws PersistenceException
storeBlogEntry
in interface BlogEntryDAO
blogEntry
- the blog entry to store
PersistenceException
- if something goes wrong storing the entrypublic void removeBlogEntry(BlogEntry blogEntry) throws PersistenceException
removeBlogEntry
in interface BlogEntryDAO
blogEntry
- the blog entry to remove
PersistenceException
- if something goes wrong removing the entrypublic java.lang.String getPath(Blog blog, java.lang.String blogEntryId, java.util.TimeZone timeZone)
blog
- the owning BlogblogEntryId
- the ID of the blog entry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |