|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.dao.file.FileCategoryDAO
public class FileCategoryDAO
Constructor Summary | |
---|---|
FileCategoryDAO()
|
Method Summary | |
---|---|
void |
addCategory(Category category,
Blog blog)
Adds the specified category. |
void |
deleteCategory(Category category,
Blog blog)
Removes the specified category. |
Category |
getCategories(Blog blog)
Gets the categories for a particular blog. |
void |
updateCategory(Category updatedCategory,
Blog blog)
Updates the specified category. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileCategoryDAO()
Method Detail |
---|
public Category getCategories(Blog blog) throws PersistenceException
getCategories
in interface CategoryDAO
blog
- the owning Blog instance
PersistenceException
- if categories cannot be loadedpublic void addCategory(Category category, Blog blog) throws PersistenceException
addCategory
in interface CategoryDAO
category
- the Category instance to be addedblog
- the owning blog
PersistenceException
- if something goes wrong storing the categorypublic void updateCategory(Category updatedCategory, Blog blog) throws PersistenceException
updateCategory
in interface CategoryDAO
updatedCategory
- the Category instance to be updatedblog
- the owning blog
PersistenceException
- if something goes wrong storing the categorypublic void deleteCategory(Category category, Blog blog) throws PersistenceException
deleteCategory
in interface CategoryDAO
category
- the Category instance to be removedblog
- the owning blog
PersistenceException
- if something goes wrong removing the category
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |