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 Type
    Method
    Description
    Return the Locale to use for a user without a locale.
    Return the Locale associated with the passed user.
  • Method Details

    • getLocale

      @Nonnull Locale getLocale(@Nullable ApplicationUser user)
      Return the Locale associated with the passed user.
      Parameters:
      user - the user for the query.
      Returns:
      the Locale associated with the passed user.
    • getDefaultLocale

      @Nonnull Locale getDefaultLocale()
      Return the Locale to use for a user without a locale.
      Returns:
      the default locale of JIRA.