fr.paris.lutece.portal.business.template
Class DatabaseTemplateDAO
java.lang.Object
fr.paris.lutece.portal.business.template.DatabaseTemplateDAO
- All Implemented Interfaces:
- IDatabaseTemplateDAO
public class DatabaseTemplateDAO
- extends Object
- implements IDatabaseTemplateDAO
Implementation of interface IDatabaseTemplateDAO
- Author:
- vbroussard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseTemplateDAO
public DatabaseTemplateDAO()
getTemplateFromKey
public String getTemplateFromKey(String strKey)
- Get a template in the database from its key
- Specified by:
getTemplateFromKey
in interface IDatabaseTemplateDAO
- Parameters:
strKey
- The key of the template to get
- Returns:
- The template loaded from the database
updateTemplate
public void updateTemplate(String strKey,
String strValue)
- Update a template in the database
- Specified by:
updateTemplate
in interface IDatabaseTemplateDAO
- Parameters:
strKey
- The key of the templatestrValue
- The new value of the template
Copyright © 2014 Mairie de Paris. All Rights Reserved.