Package io.jmix.flowui.settings
Interface UserSettingsService
- All Known Implementing Classes:
UserSettingsServiceImpl
public interface UserSettingsService
Service providing settings functionality for the current user. An application can save/load
some "setting" (plain or JSON/XML string) for the current user.
It is usually used by UI Views and components.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Copies all settings to another user.void
Deletes setting by key for the current user.Loads setting for the current user.void
Saves value for the current user.
-
Method Details
-
load
Loads setting for the current user.- Parameters:
key
- the setting identifier- Returns:
- loaded setting value
-
save
Saves value for the current user.- Parameters:
key
- setting identifiervalue
- setting value
-
delete
Deletes setting by key for the current user. -
copy
Copies all settings to another user.
-