|
||||||||||
| 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 loaded
void addCategory(Category category,
Blog blog)
throws PersistenceException
category - the Category instance to be addedblog - the owning blog
PersistenceException - if something goes wrong storing the category
void updateCategory(Category category,
Blog blog)
throws PersistenceException
category - the Category instance to be updatedblog - the owning blog
PersistenceException - if something goes wrong storing the category
void 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 | |||||||||