|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CategoryDAO
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)
Loads the categories. |
void |
updateCategory(Category category,
Blog blog)
Updates the specified category. |
Method Detail |
---|
Category getCategories(Blog blog) throws PersistenceException
blog
- the owning blog
PersistenceException
- if categories cannot be loadedvoid addCategory(Category category, Blog blog) throws PersistenceException
category
- the Category instance to be addedblog
- the owning blog
PersistenceException
- if something goes wrong storing the categoryvoid updateCategory(Category category, Blog blog) throws PersistenceException
category
- the Category instance to be updatedblog
- the owning blog
PersistenceException
- if something goes wrong storing the categoryvoid deleteCategory(Category category, Blog blog) throws PersistenceException
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 |