|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.dao.file.FileStaticPageDAO
public class FileStaticPageDAO
Constructor Summary | |
---|---|
FileStaticPageDAO()
|
Method Summary | |
---|---|
StaticPage |
loadStaticPage(Blog blog,
java.lang.String pageId)
Loads a specific static page. |
java.util.Collection<StaticPage> |
loadStaticPages(Blog blog)
Loads the static pages for a given blog. |
void |
removeBlogEntry(BlogEntry blogEntry)
Removes the specified blog entry. |
void |
removeStaticPage(StaticPage staticPage)
Removes the specified static page. |
void |
storeBlogEntry(BlogEntry blogEntry)
Stores the specified blog entry. |
void |
storeStaticPage(StaticPage staticPage)
Stores the specified static page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileStaticPageDAO()
Method Detail |
---|
public java.util.Collection<StaticPage> loadStaticPages(Blog blog) throws PersistenceException
loadStaticPages
in interface StaticPageDAO
blog
- the owning Blog instance
PersistenceException
- if static pages cannot be loadedpublic StaticPage loadStaticPage(Blog blog, java.lang.String pageId) throws PersistenceException
loadStaticPage
in interface StaticPageDAO
blog
- the owning BlogpageId
- the page ID
PersistenceException
- if the static page cannot be loadedpublic void storeStaticPage(StaticPage staticPage) throws PersistenceException
storeStaticPage
in interface StaticPageDAO
staticPage
- the static page to store
PersistenceException
- if something goes wrong storing the static pagepublic void removeStaticPage(StaticPage staticPage) throws PersistenceException
removeStaticPage
in interface StaticPageDAO
staticPage
- the static page to remove
PersistenceException
- if something goes wrong removing the pagepublic void storeBlogEntry(BlogEntry blogEntry) throws PersistenceException
blogEntry
- the blog entry to store
PersistenceException
- if something goes wrong storing the entrypublic void removeBlogEntry(BlogEntry blogEntry) throws PersistenceException
blogEntry
- the blog entry to remove
PersistenceException
- if something goes wrong removing the entry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |