|
||||||||||
| 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 CategoryDAOblog - the owning Blog instance
PersistenceException - if categories cannot be loaded
public void addCategory(Category category,
Blog blog)
throws PersistenceException
addCategory in interface CategoryDAOcategory - the Category instance to be addedblog - the owning blog
PersistenceException - if something goes wrong storing the category
public void updateCategory(Category updatedCategory,
Blog blog)
throws PersistenceException
updateCategory in interface CategoryDAOupdatedCategory - the Category instance to be updatedblog - the owning blog
PersistenceException - if something goes wrong storing the category
public void deleteCategory(Category category,
Blog blog)
throws PersistenceException
deleteCategory in interface CategoryDAOcategory - 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 | |||||||||