|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Template Data Access Object (DAO) interface.
| Method Summary | |
Template |
getTemplate(Long id)
Get a template based on its primary key. |
void |
removeTemplate(Template template)
Removes a template from the database. |
void |
saveTemplate(Template template)
Saves a template to the database. |
| Method Detail |
public Template getTemplate(Long id)
throws DAOException
id - the template's primary key
DAOException - data access exception (fatal)
public void saveTemplate(Template template)
throws DAOException
template - the modified template
DAOException
public void removeTemplate(Template template)
throws DAOException
template - the template to delete
DAOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||