Class DatabaseTemplateDAO
java.lang.Object
fr.paris.lutece.portal.business.template.DatabaseTemplateDAO
- All Implemented Interfaces:
IDatabaseTemplateDAO
Implementation of interface IDatabaseTemplateDAO
- Author:
- vbroussard
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTemplateFromKey(String strKey) Get a template in the database from its keyvoidupdateTemplate(String strKey, String strValue) Update a template in the database
-
Constructor Details
-
DatabaseTemplateDAO
public DatabaseTemplateDAO()
-
-
Method Details
-
getTemplateFromKey
Get a template in the database from its key- Specified by:
getTemplateFromKeyin interfaceIDatabaseTemplateDAO- Parameters:
strKey- The key of the template to get- Returns:
- The template loaded from the database
-
updateTemplate
Update a template in the database- Specified by:
updateTemplatein interfaceIDatabaseTemplateDAO- Parameters:
strKey- The key of the templatestrValue- The new value of the template
-