|
||||||||||
| 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 BlogEntryDAOblogEntryId - the blog entry ID
PersistenceException - if the specified blog entry cannot be loaded
public java.util.List<BlogEntry> loadBlogEntries(Blog blog)
throws PersistenceException
loadBlogEntries in interface BlogEntryDAOblog - the Blog to load all entries for
PersistenceException - if the blog entries cannot be loaded
public void storeBlogEntry(BlogEntry blogEntry)
throws PersistenceException
storeBlogEntry in interface BlogEntryDAOblogEntry - the blog entry to store
PersistenceException - if something goes wrong storing the entry
public void removeBlogEntry(BlogEntry blogEntry)
throws PersistenceException
removeBlogEntry in interface BlogEntryDAOblogEntry - the blog entry to remove
PersistenceException - if something goes wrong removing the entry
public 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 | |||||||||