Class DatabaseTemplateHome
java.lang.Object
fr.paris.lutece.portal.business.template.DatabaseTemplateHome
This class provides methods to access templates stored in the database.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetTemplateFromKey(String strKey) Get a template in the database from its keystatic voidupdateTemplate(String strKey, String strValue) Update a template in the database
-
Method Details
-
getTemplateFromKey
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
Update a template in the database- Parameters:
strKey- The key of the templatestrValue- The new value of the template
-