|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.user.BootstrapUserLocaleStore
public class BootstrapUserLocaleStore
Used when JIRA has no access to the database. At that stage each user will be using the JIRA default locale. The implementation will be replaced with a complete implementation once JIRA is in a state to do so.
Constructor Summary | |
---|---|
BootstrapUserLocaleStore(ApplicationProperties properties)
|
Method Summary | |
---|---|
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. |
Locale |
getLocale(com.atlassian.crowd.embedded.api.User user)
Return the Locale associated with the passed user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BootstrapUserLocaleStore(ApplicationProperties properties)
Method Detail |
---|
@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 getLocale(com.atlassian.crowd.embedded.api.User 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |