Package com.atlassian.jira.user
Interface UserLocaleStore
- All Known Implementing Classes:
BootstrapUserLocaleStore,MockUserLocaleStore,PropertySetUserLocaleStore
public interface UserLocaleStore
Store that deals with an user's configured locale.
- Since:
- v6.2.3
-
Method Summary
Modifier and TypeMethodDescriptionReturn theLocaleto use for a user without a locale.getLocale(ApplicationUser user) Return theLocaleassociated with the passed user.
-
Method Details
-
getLocale
Return theLocaleassociated with the passed user.- Parameters:
user- the user for the query.- Returns:
- the
Localeassociated with the passed user.
-
getDefaultLocale
Return theLocaleto use for a user without a locale.- Returns:
- the default locale of JIRA.
-