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)
UserLocaleStore
Locale
associated with the passed user.getLocale
in interface UserLocaleStore
user
- the user for the query.Locale
associated with the passed user.@Nonnull public Locale getDefaultLocale()
UserLocaleStore
Locale
to use for a user without a locale.getDefaultLocale
in interface UserLocaleStore
Copyright © 2002-2019 Atlassian. All Rights Reserved.