public interface GlobalizationContext extends Context
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CONTEXT_NAME
The name that will identify this context in the CTXDATA table.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | CURRENCY
The name of the currency URL parameter in ActivityData objects.
|
static java.lang.String | KEY_LANG_ID
The name of the langID URL parameter in ActivityData objects.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getCurrency()
Gets the currency to be used when this context is active.
|
java.lang.Integer | getLanguageId()
Gets the language to be used when this context is active.
|
java.util.Locale | getLocale()
Gets the locale to be used when this context is active.
|
java.lang.String | getPreferredCurrency()
Gets the preferred currency of the user associated with this context.
|
java.lang.Integer | getPreferredLanguageId()
Gets the preferred language of the user associated with this context.
|
void | setCurrency(java.lang.String strCurrency)
Gets the currency to be used when this context is active.
|
void | setLanguageId(java.lang.Integer nLanguageId)
Sets the language to be used when this context is active.
|
void | setLocale(java.util.Locale locale)
Sets the locale to be used when this context is active.
|
void | setPreferredCurrency(java.lang.String strCurrency)
Sets the preferred currency of the user associated with this context.
|
void | setPreferredLanguageId(java.lang.Integer nLanguageId)
Sets the preferred language of the user associated with this context.
|
static final java.lang.String COPYRIGHT
static final java.lang.String CONTEXT_NAME
static final java.lang.String KEY_LANG_ID
static final java.lang.String CURRENCY
java.lang.Integer getLanguageId()
java.lang.String getCurrency()
java.util.Locale getLocale()
java.lang.Integer getPreferredLanguageId()
java.lang.String getPreferredCurrency()
void setLanguageId(java.lang.Integer nLanguageId)
void setCurrency(java.lang.String strCurrency)
void setLocale(java.util.Locale locale)
void setPreferredLanguageId(java.lang.Integer nLanguageId)
void setPreferredCurrency(java.lang.String strCurrency)