Interface IDatabaseTemplateDAO
-
- All Known Implementing Classes:
DatabaseTemplateDAO
public interface IDatabaseTemplateDAOInterface of DAO allowing to manage templates stored in the database- Author:
- vbroussard
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetTemplateFromKey(java.lang.String strKey)Get a template in the database from its keyvoidupdateTemplate(java.lang.String strKey, java.lang.String strValue)Update a template in the database
-
-
-
Method Detail
-
getTemplateFromKey
java.lang.String getTemplateFromKey(java.lang.String strKey)
Get a template in the database from its key- Parameters:
strKey- The key of the template to get- Returns:
- The template loaded from the database
-
updateTemplate
void updateTemplate(java.lang.String strKey, java.lang.String strValue)Update a template in the database- Parameters:
strKey- The key of the templatestrValue- The new value of the template
-
-