|
||||||||||
| 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 StaticPageDAOblog - the owning Blog instance
PersistenceException - if static pages cannot be loaded
public StaticPage loadStaticPage(Blog blog,
java.lang.String pageId)
throws PersistenceException
loadStaticPage in interface StaticPageDAOblog - the owning BlogpageId - the page ID
PersistenceException - if the static page cannot be loaded
public void storeStaticPage(StaticPage staticPage)
throws PersistenceException
storeStaticPage in interface StaticPageDAOstaticPage - the static page to store
PersistenceException - if something goes wrong storing the static page
public void removeStaticPage(StaticPage staticPage)
throws PersistenceException
removeStaticPage in interface StaticPageDAOstaticPage - the static page to remove
PersistenceException - if something goes wrong removing the page
public void storeBlogEntry(BlogEntry blogEntry)
throws PersistenceException
blogEntry - the blog entry to store
PersistenceException - if something goes wrong storing the entry
public 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 | |||||||||