@Service(value="cuba_UserSettingService") public class UserSettingServiceBean extends java.lang.Object implements UserSettingService
NAME
Constructor and Description |
---|
UserSettingServiceBean() |
Modifier and Type | Method and Description |
---|---|
void |
copySettings(User fromUser,
User toUser)
Copy user settings to another user
|
void |
deleteSettings(ClientType clientType,
java.lang.String name)
Delete settings for the current user
|
java.lang.String |
loadSetting(ClientType clientType,
java.lang.String name)
Load settings for the current user.
|
java.lang.String |
loadSetting(java.lang.String name)
Load settings for the current user and null client type.
|
void |
saveSetting(ClientType clientType,
java.lang.String name,
java.lang.String value)
Save settings for the current user
|
void |
saveSetting(java.lang.String name,
java.lang.String value)
Save settings for the current user and null client type
|
public java.lang.String loadSetting(java.lang.String name)
UserSettingService
loadSetting
in interface UserSettingService
public java.lang.String loadSetting(ClientType clientType, java.lang.String name)
UserSettingService
loadSetting
in interface UserSettingService
public void saveSetting(java.lang.String name, java.lang.String value)
UserSettingService
saveSetting
in interface UserSettingService
public void saveSetting(ClientType clientType, java.lang.String name, java.lang.String value)
UserSettingService
saveSetting
in interface UserSettingService
public void deleteSettings(ClientType clientType, java.lang.String name)
UserSettingService
deleteSettings
in interface UserSettingService
public void copySettings(User fromUser, User toUser)
UserSettingService
copySettings
in interface UserSettingService