public class BootstrapUserLocaleStore extends Object implements UserLocaleStore
| Constructor and Description | 
|---|
BootstrapUserLocaleStore(ApplicationProperties properties)  | 
| Modifier and Type | Method and Description | 
|---|---|
Locale | 
getDefaultLocale()
Return the  
Locale to use for a user without a locale. | 
Locale | 
getLocale(ApplicationUser user)
Return the  
Locale associated with the passed user. | 
public BootstrapUserLocaleStore(ApplicationProperties properties)
@Nonnull public Locale getLocale(ApplicationUser user)
UserLocaleStoreLocale associated with the passed user.getLocale in interface UserLocaleStoreuser - the user for the query.Locale associated with the passed user.@Nonnull public Locale getDefaultLocale()
UserLocaleStoreLocale to use for a user without a locale.getDefaultLocale in interface UserLocaleStoreCopyright © 2002-2024 Atlassian. All Rights Reserved.