org.pentaho.platform.repository.usersettings
Class UserSettingService

java.lang.Object
  extended by org.pentaho.platform.repository.usersettings.UserSettingService
All Implemented Interfaces:
IPentahoInitializer, IUserSettingService

public class UserSettingService
extends Object
implements IUserSettingService


Field Summary
static String GLOBAL_SETTING
           
 
Constructor Summary
UserSettingService()
           
 
Method Summary
 void deleteUserSettings()
           
 IUserSetting getGlobalUserSetting(String settingName, String defaultValue)
           
 List<IUserSetting> getGlobalUserSettings()
           
 IUserSetting getUserSetting(String settingName, String defaultValue)
           
 List<IUserSetting> getUserSettings()
           
 void init(IPentahoSession session)
          Simplifier for initialization of objects from the PentahoSystem object
 void setGlobalUserSetting(String settingName, String settingValue)
           
 void setUserSetting(String settingName, String settingValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOBAL_SETTING

public static final String GLOBAL_SETTING
See Also:
Constant Field Values
Constructor Detail

UserSettingService

public UserSettingService()
Method Detail

init

public void init(IPentahoSession session)
Description copied from interface: IPentahoInitializer
Simplifier for initialization of objects from the PentahoSystem object

Specified by:
init in interface IPentahoInitializer

deleteUserSettings

public void deleteUserSettings()
Specified by:
deleteUserSettings in interface IUserSettingService

getUserSettings

public List<IUserSetting> getUserSettings()
Specified by:
getUserSettings in interface IUserSettingService

getUserSetting

public IUserSetting getUserSetting(String settingName,
                                   String defaultValue)
Specified by:
getUserSetting in interface IUserSettingService

setUserSetting

public void setUserSetting(String settingName,
                           String settingValue)
Specified by:
setUserSetting in interface IUserSettingService

getGlobalUserSetting

public IUserSetting getGlobalUserSetting(String settingName,
                                         String defaultValue)
Specified by:
getGlobalUserSetting in interface IUserSettingService

getGlobalUserSettings

public List<IUserSetting> getGlobalUserSettings()
Specified by:
getGlobalUserSettings in interface IUserSettingService

setGlobalUserSetting

public void setGlobalUserSetting(String settingName,
                                 String settingValue)
Specified by:
setGlobalUserSetting in interface IUserSettingService