Package io.jmix.flowuidata.settings
Class UserSettingsCacheImpl
java.lang.Object
io.jmix.flowuidata.settings.UserSettingsCacheImpl
- All Implemented Interfaces:
UserSettingsCache
@Component("flowui_UserSettingsCacheImpl")
public class UserSettingsCacheImpl
extends Object
implements UserSettingsCache
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
ATTRIBUTE_NAME
- See Also:
-
userSettingsService
-
-
Constructor Details
-
UserSettingsCacheImpl
-
-
Method Details
-
get
- Specified by:
get
in interfaceUserSettingsCache
- Parameters:
key
- setting identifier- Returns:
- setting from cache or if cache does not contain setting, loads it from store
-
put
Description copied from interface:UserSettingsCache
Adds a value associated with a key to the cache and store.- Specified by:
put
in interfaceUserSettingsCache
- Parameters:
key
- setting identifiervalue
- setting value
-
delete
Description copied from interface:UserSettingsCache
Deletes setting from cache and store.- Specified by:
delete
in interfaceUserSettingsCache
- Parameters:
key
- setting identifier
-
clear
public void clear()Description copied from interface:UserSettingsCache
Clears cache.- Specified by:
clear
in interfaceUserSettingsCache
-
getCache
-