Package com.atlassian.jira.user
Class PropertySetUserLocaleStore
java.lang.Object
com.atlassian.jira.user.PropertySetUserLocaleStore
- All Implemented Interfaces:
UserLocaleStore
- Since:
- v6.2.3
-
Constructor Summary
ConstructorsConstructorDescriptionPropertySetUserLocaleStore(ApplicationProperties applicationProperties, UserPropertyManager userPropertyManager) -
Method Summary
Modifier and TypeMethodDescriptionReturn theLocaleto use for a user without a locale.getLocale(ApplicationUser user) Return theLocaleassociated with the passed user.
-
Constructor Details
-
PropertySetUserLocaleStore
public PropertySetUserLocaleStore(ApplicationProperties applicationProperties, UserPropertyManager userPropertyManager)
-
-
Method Details
-
getDefaultLocale
Description copied from interface:UserLocaleStoreReturn theLocaleto use for a user without a locale.- Specified by:
getDefaultLocalein interfaceUserLocaleStore- Returns:
- the default locale of JIRA.
-
getLocale
Description copied from interface:UserLocaleStoreReturn theLocaleassociated with the passed user.- Specified by:
getLocalein interfaceUserLocaleStore- Parameters:
user- the user for the query.- Returns:
- the
Localeassociated with the passed user.
-