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

java.lang.Object
  extended by fr.paris.lutece.portal.business.template.DatabaseTemplateHome

public final class DatabaseTemplateHome
extends Object

This class provides methods to access templates stored in the database.


Method Summary
static String getTemplateFromKey(String strKey)
          Get a template in the database from its key
static 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
 

Method Detail

getTemplateFromKey

public static String getTemplateFromKey(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

public static void updateTemplate(String strKey,
                                  String strValue)
Update a template in the database

Parameters:
strKey - The key of the template
strValue - The new value of the template


Copyright © 2014 Mairie de Paris. All Rights Reserved.