Class DefaultSettingsFacade

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getSetting​(java.lang.String key)  
      java.util.Map<java.lang.String,​java.lang.Object> getSettings()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultSettingsFacade

        public DefaultSettingsFacade()
    • Method Detail

      • getSettings

        public java.util.Map<java.lang.String,​java.lang.Object> getSettings()
        Specified by:
        getSettings in interface SettingsFacade
        Returns:
        Values from the project.properties file for the following keys: - smartedit.validImageMimeTypeCodes - smartedit.sso.enabled - smartedit.globalBasePath - cms.components.allowUnsafeJavaScript
      • getSetting

        public java.lang.String getSetting​(java.lang.String key)
        Parameters:
        key - - the key of the desired property, from the project.properties file
        Returns:
        value - the value associated with the key