Interface IAnyUserSettingService
- All Superinterfaces:
IPentahoInitializer
,IUserSettingService
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteUserSettings
(String username) Deprecated.Deletes all user settings for a specified usernamegetUserSetting
(String username, String settingName, String defaultValue) Deprecated.Gets a particular user setting for a specified usernamegetUserSettings
(String username) Deprecated.Gets a list of all user settings for a specified usernamevoid
setUserSetting
(String username, String settingName, String settingValue) Deprecated.Sets a user setting for a specified usernameMethods inherited from interface org.pentaho.platform.api.engine.IPentahoInitializer
init
Methods inherited from interface org.pentaho.platform.api.usersettings.IUserSettingService
deleteUserSettings, getGlobalUserSetting, getGlobalUserSettings, getUserSetting, getUserSettings, setGlobalUserSetting, setUserSetting
-
Method Details
-
deleteUserSettings
Deprecated.Deletes all user settings for a specified username- Parameters:
username
- username to remove the setting from- Throws:
SecurityException
- if the active user does not have the appropriate credentials to perform this operation
-
getUserSettings
Deprecated.Gets a list of all user settings for a specified username- Parameters:
username
- username to get the setting for- Returns:
- Throws:
SecurityException
- if the active user does not have the appropriate credentials to perform this operation
-
getUserSetting
IUserSetting getUserSetting(String username, String settingName, String defaultValue) throws SecurityException Deprecated.Gets a particular user setting for a specified username- Parameters:
username
- username to get the setting forsettingName
- name of the interested settingdefaultValue
- default value if none found- Returns:
- Throws:
SecurityException
- if the active user does not have the appropriate credentials to perform this operation
-
setUserSetting
void setUserSetting(String username, String settingName, String settingValue) throws SecurityException Deprecated.Sets a user setting for a specified username- Parameters:
username
- username to get the setting forsettingName
- name of the settingsettingValue
- value of the setting- Throws:
SecurityException
- if the active user does not have the appropriate credentials to perform this operation
-