|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateDAO
Message template related database functions
Method Summary | |
---|---|
void |
createTemplate(Template template)
Create new template. |
void |
deleteTemplate(Template template)
Delete existing template. |
Template |
getTemplate(java.lang.Integer id)
Get message template by id |
java.util.List<Template> |
getTemplates()
Get all message templates |
java.util.List<Template> |
getTemplatesByName(java.lang.String name)
Get message template by name |
void |
updateTemplate(Template template)
Update existing template. |
Method Detail |
---|
java.util.List<Template> getTemplates() throws DAOException
DAOException
Template getTemplate(java.lang.Integer id) throws DAOException
id
- internal message template identifier
DAOException
java.util.List<Template> getTemplatesByName(java.lang.String name) throws DAOException
name
- message template name
DAOException
void createTemplate(Template template) throws DAOException
template
-
DAOException
void updateTemplate(Template template) throws DAOException
template
-
DAOException
void deleteTemplate(Template template) throws DAOException
template
-
DAOException
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |