Package io.jmix.flowuirestds.settings
Class UserSettingsServiceImpl
java.lang.Object
io.jmix.flowuirestds.settings.UserSettingsServiceImpl
- All Implemented Interfaces:
UserSettingsService
@Component("flowui_UserSettingsServiceImpl")
public class UserSettingsServiceImpl
extends Object
implements UserSettingsService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessManagerprotected CurrentAuthenticationprotected DataManagerprotected Metadata -
Constructor Summary
ConstructorsConstructorDescriptionUserSettingsServiceImpl(CurrentAuthentication authentication, Metadata metadata, AccessManager accessManager, DataManager dataManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidCopies all settings to another user.voidDeletes setting by key for the current user.protected UserSettingsItemfindUserSettings(String key) Loads setting for the current user.protected booleanvoidSaves value for the current user.
-
Field Details
-
authentication
-
metadata
-
accessManager
-
dataManager
-
-
Constructor Details
-
UserSettingsServiceImpl
public UserSettingsServiceImpl(CurrentAuthentication authentication, Metadata metadata, AccessManager accessManager, DataManager dataManager)
-
-
Method Details
-
load
Description copied from interface:UserSettingsServiceLoads setting for the current user.- Specified by:
loadin interfaceUserSettingsService- Parameters:
key- the setting identifier- Returns:
- loaded setting value
-
save
Description copied from interface:UserSettingsServiceSaves value for the current user.- Specified by:
savein interfaceUserSettingsService- Parameters:
key- setting identifiervalue- setting value
-
delete
Description copied from interface:UserSettingsServiceDeletes setting by key for the current user.- Specified by:
deletein interfaceUserSettingsService
-
copy
Description copied from interface:UserSettingsServiceCopies all settings to another user.- Specified by:
copyin interfaceUserSettingsService
-
findUserSettings
-
notAuthenticated
protected boolean notAuthenticated()
-