Class DatabaseTemplateHome


  • public final class DatabaseTemplateHome
    extends Object
    This class provides methods to access templates stored in the database.
    • 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