Class DatabaseTemplateDAO

    • 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