fr.paris.lutece.portal.business.template
Class DatabaseTemplateDAO

java.lang.Object
  extended by fr.paris.lutece.portal.business.template.DatabaseTemplateDAO
All Implemented Interfaces:
IDatabaseTemplateDAO

public class DatabaseTemplateDAO
extends Object
implements IDatabaseTemplateDAO

Implementation of interface IDatabaseTemplateDAO

Author:
vbroussard

Constructor Summary
DatabaseTemplateDAO()
           
 
Method Summary
 String getTemplateFromKey(String strKey)
          Get a template in the database from its key
 void updateTemplate(String strKey, String strValue)
          Update a template in the database
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseTemplateDAO

public DatabaseTemplateDAO()
Method Detail

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 template
strValue - The new value of the template


Copyright © 2014 Mairie de Paris. All Rights Reserved.