|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JiraAuthenticationContext
The JiraAuthenticationContext is used for tracking a user's session in JIRA and all it's custom parameters, such as Locale and I18n.
Method Summary | |
---|---|
I18nBean |
getI18nBean()
Useful for I18n |
I18nBean |
getI18nBean(String additionalBundle)
This method may be used to inject additional messagebundles into the I18nBean. |
Locale |
getLocale()
Get the users locale. |
OutlookDate |
getOutlookDate()
Method used to get a nice representation of a date using a user's locale. |
String |
getText(String key)
Deprecated. Use getText() method on getI18nBean() . |
User |
getUser()
Returns the currently logged in User. |
void |
setUser(User user)
This comes to use in places like Jelly where we need to switch the identity of a user during execution. |
Method Detail |
---|
User getUser()
Locale getLocale()
OutlookDate getOutlookDate()
OutlookDate
String getText(String key)
getI18nBean()
.
I18nBean getI18nBean()
I18nBean
I18nBean getI18nBean(String additionalBundle)
additionalBundle
-
I18nBean
with additional message bundles.void setUser(User user)
user
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |