Package io.jmix.flowuidata.settings
Class UserSettingsServiceImpl
java.lang.Object
io.jmix.flowuidata.settings.UserSettingsServiceImpl
- All Implemented Interfaces:
- UserSettingsService
@Component("flowui_UserSettingsServiceImpl")
public class UserSettingsServiceImpl
extends Object
implements UserSettingsService
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected AccessManagerprotected CurrentAuthenticationprotected EntityEventManagerprotected jakarta.persistence.EntityManagerprotected Metadataprotected org.springframework.transaction.support.TransactionTemplate
- 
Constructor SummaryConstructorsConstructorDescriptionUserSettingsServiceImpl(CurrentAuthentication authentication, Metadata metadata, AccessManager accessManager, EntityEventManager entityEventManager, org.springframework.transaction.PlatformTransactionManager transactionManager) 
- 
Method SummaryModifier 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
- 
entityEventManager
- 
entityManagerprotected jakarta.persistence.EntityManager entityManager
- 
transactionprotected org.springframework.transaction.support.TransactionTemplate transaction
 
- 
- 
Constructor Details- 
UserSettingsServiceImplpublic UserSettingsServiceImpl(CurrentAuthentication authentication, Metadata metadata, AccessManager accessManager, EntityEventManager entityEventManager, org.springframework.transaction.PlatformTransactionManager transactionManager) 
 
- 
- 
Method Details- 
loadDescription copied from interface:UserSettingsServiceLoads setting for the current user.- Specified by:
- loadin interface- UserSettingsService
- Parameters:
- key- the setting identifier
- Returns:
- loaded setting value
 
- 
saveDescription copied from interface:UserSettingsServiceSaves value for the current user.- Specified by:
- savein interface- UserSettingsService
- Parameters:
- key- setting identifier
- value- setting value
 
- 
deleteDescription copied from interface:UserSettingsServiceDeletes setting by key for the current user.- Specified by:
- deletein interface- UserSettingsService
 
- 
copyDescription copied from interface:UserSettingsServiceCopies all settings to another user.- Specified by:
- copyin interface- UserSettingsService
 
- 
findUserSettings
- 
notAuthenticatedprotected boolean notAuthenticated()
 
-