Package org.cyclos.services.users
Interface UserRegionalSettingsService
-
- All Superinterfaces:
Service
- All Known Subinterfaces:
UserRegionalSettingsServiceLocal
public interface UserRegionalSettingsService extends Service
Service used to manage a user's regional settings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegionalSettingsDTOget()Returns the regional settings for the current userLocalesDatagetLocalesData()Returns the currently selected locale, as well as the allowed onesvoidsave(@NotNull RegionalSettingsDTO settings)Saves the regional settings for the current user
-
-
-
Method Detail
-
get
RegionalSettingsDTO get() throws FrameworkException
Returns the regional settings for the current user- Throws:
FrameworkException
-
getLocalesData
LocalesData getLocalesData() throws FrameworkException
Returns the currently selected locale, as well as the allowed ones- Throws:
FrameworkException
-
save
void save(@NotNull @NotNull RegionalSettingsDTO settings) throws FrameworkExceptionSaves the regional settings for the current user- Throws:
FrameworkException
-
-