Package energy.eddie.aiida.services
Class UserSettingsService
java.lang.Object
energy.eddie.aiida.services.UserSettingsService
-
Constructor Summary
ConstructorsConstructorDescriptionUserSettingsService(UserSettingsRepository userSettingsRepository, AuthService authService) -
Method Summary
Modifier and TypeMethodDescriptionfindContactEmail(UUID userId) Returns the settings of the current user, with null values if no configuration is present.updateUserSettings(String contactEmail)
-
Constructor Details
-
UserSettingsService
-
-
Method Details
-
getUserSettings
Returns the settings of the current user, with null values if no configuration is present.- Throws:
InvalidUserException
-
updateUserSettings
@Transactional(rollbackFor=java.lang.Exception.class) public UserSettings updateUserSettings(@Nullable String contactEmail) throws InvalidUserException - Throws:
InvalidUserException
-
findContactEmail
-