Class DefaultSettingsFacade

java.lang.Object
de.hybris.smartedit.facade.impl.DefaultSettingsFacade
All Implemented Interfaces:
SettingsFacade

public class DefaultSettingsFacade extends Object implements SettingsFacade
Implementation of SettingsFacade
  • Constructor Details

    • DefaultSettingsFacade

      public DefaultSettingsFacade()
  • Method Details

    • getSettings

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

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