|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StaticPageDAO
Interface for the static page data access object.
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 |
removeStaticPage(StaticPage staticPage)
Removes the specified static page. |
void |
storeStaticPage(StaticPage staticPage)
Stores the specified static page. |
Method Detail |
---|
java.util.Collection<StaticPage> loadStaticPages(Blog blog) throws PersistenceException
blog
- the owning Blog instance
PersistenceException
- if static pages cannot be loadedStaticPage loadStaticPage(Blog blog, java.lang.String pageId) throws PersistenceException
blog
- the owning BlogpageId
- the page ID
PersistenceException
- if the static page cannot be loadedvoid storeStaticPage(StaticPage staticPage) throws PersistenceException
staticPage
- the static page to store
PersistenceException
- if something goes wrong storing the static pagevoid removeStaticPage(StaticPage staticPage) throws PersistenceException
staticPage
- the static page to remove
PersistenceException
- if something goes wrong removing the page
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |