Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.common
Class PreferencesBean

java.lang.Object
  extended by oracle.apps.fnd.applcore.common.PreferencesBean

public class PreferencesBean
extends java.lang.Object

Preferences Bean to get user preferences at run time for formatting/NLS. This gets called directly by the oracle.apps.fnd.applcore.common.ui.PreferencesBean class, which exists primarily for backwards compatibility, but also does include two api's (get/setAccessibilityProfile) which are not available in this class because they include a view-only dependency on the trinidad library.


Constructor Summary
PreferencesBean()
           
 
Method Summary
 java.lang.String getAccessibilityMode()
           
 java.lang.Boolean getAnimationEnabled()
          Fetch the user preference attribute - AnimationEnabled.
 java.lang.String getColorContrast()
          Fetch the user preference attribute - ColorContrast.
 java.lang.String getCurrency()
          Fetch the user preference attribute - currency.
 java.lang.String getDateFormatPattern()
           
 char getDecimalSeparator()
           
 java.lang.String getDisplayNameLanguage()
           
 java.lang.Boolean getEmbeddedHelpEnabled()
          Fetch the user preference attribute - EmbeddedHelpEnabled.
 java.lang.String getFontSize()
          Fetch the user preference attribute - FontSize.
 java.lang.String getFormattingLocale()
           
 java.lang.String getIntegerFormatPattern()
           
 java.util.TimeZone getLETZ()
           
 java.lang.String getLETZPattern()
           
 java.lang.Object getLocale()
          Get the locale.
 java.lang.String getNumberFormatPattern()
           
 char getNumberGroupingSeparator()
           
 java.lang.String getNumericCodeFormatPattern()
          Returns a hardcoded format to use for numeric codes.
 java.lang.String getSkinFamily()
           
 java.lang.String getTimeFormatPattern()
           
 java.lang.String getTimeFormatPatternWithoutSeconds()
          Returns the value of 'getTimeFormatPattern()', removing the seconds portion if specified.
 java.lang.String getTimeFormatPatternWithSeconds()
          Returns the value of 'getTimeFormatPattern()', appending an 'ss' to the format if it does not contain seconds already.
 java.lang.String getTimeFormatWithoutSecondsPattern()
           
 java.lang.String getTimeFormatWithSecondsPattern()
           
 java.util.TimeZone getUPTZ()
           
 java.lang.String getUPTZPattern()
           
 java.lang.String getUserDisplayName()
           
 java.lang.String getUserName()
           
 void setAccessibilityMode(java.lang.String accessibilityMode)
           
 void setAnimationEnabled(java.lang.Boolean animationEnabled)
           
 void setColorContrast(java.lang.String colorContrast)
           
 void setCurrency(java.lang.String currency)
           
 void setDateFormatPattern(java.lang.String dateFormatPattern)
           
 void setDecimalSeparator(char param)
           
 void setDisplayNameLanguage(java.lang.String displayNameLanguage)
           
 void setEmbeddedHelpEnabled(java.lang.Boolean embeddedHelpEnabled)
           
 void setFontSize(java.lang.String fontSize)
           
 void setFormattingLocale(java.lang.String formattingLocale)
           
 void setLETZ(java.util.TimeZone LETZ)
           
 void setLETZPattern(java.lang.String LETZPattern)
           
 void setLocale(java.lang.Object locale)
          Set the Locale.
 void setNumberFormatPattern(java.lang.String numberFormatPattern)
           
 void setNumberGroupingSeparator(char param)
           
 void setSkinFamily(java.lang.String skinFamily)
           
 void setTimeFormatPattern(java.lang.String timeFormatPattern)
           
 void setUPTZ(java.util.TimeZone UPTZ)
           
 void setUPTZPattern(java.lang.String UPTZPattern)
           
 void setUserDisplayName(java.lang.String userDisplayName)
           
 void setUserName(java.lang.String userName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferencesBean

public PreferencesBean()
Method Detail

getUPTZ

public java.util.TimeZone getUPTZ()

getLETZ

public java.util.TimeZone getLETZ()

getUPTZPattern

public java.lang.String getUPTZPattern()

getLETZPattern

public java.lang.String getLETZPattern()

setUPTZ

public void setUPTZ(java.util.TimeZone UPTZ)

setLETZ

public void setLETZ(java.util.TimeZone LETZ)

setUPTZPattern

public void setUPTZPattern(java.lang.String UPTZPattern)

setLETZPattern

public void setLETZPattern(java.lang.String LETZPattern)

setDecimalSeparator

public void setDecimalSeparator(char param)

getDecimalSeparator

public char getDecimalSeparator()

setNumberGroupingSeparator

public void setNumberGroupingSeparator(char param)

getNumberGroupingSeparator

public char getNumberGroupingSeparator()

getDateFormatPattern

public java.lang.String getDateFormatPattern()

getTimeFormatPattern

public java.lang.String getTimeFormatPattern()

getTimeFormatWithSecondsPattern

public java.lang.String getTimeFormatWithSecondsPattern()

getTimeFormatPatternWithSeconds

public java.lang.String getTimeFormatPatternWithSeconds()
Returns the value of 'getTimeFormatPattern()', appending an 'ss' to the format if it does not contain seconds already.

Returns:
the time format with seconds as a String

getTimeFormatWithoutSecondsPattern

public java.lang.String getTimeFormatWithoutSecondsPattern()

getTimeFormatPatternWithoutSeconds

public java.lang.String getTimeFormatPatternWithoutSeconds()
Returns the value of 'getTimeFormatPattern()', removing the seconds portion if specified.

Returns:
the time format without seconds as a String

getNumberFormatPattern

public java.lang.String getNumberFormatPattern()

getIntegerFormatPattern

public java.lang.String getIntegerFormatPattern()

getNumericCodeFormatPattern

public java.lang.String getNumericCodeFormatPattern()
Returns a hardcoded format to use for numeric codes.

Returns:
the numericcode format as a String

setDateFormatPattern

public void setDateFormatPattern(java.lang.String dateFormatPattern)

setTimeFormatPattern

public void setTimeFormatPattern(java.lang.String timeFormatPattern)

setNumberFormatPattern

public void setNumberFormatPattern(java.lang.String numberFormatPattern)

getUserName

public java.lang.String getUserName()

setUserName

public void setUserName(java.lang.String userName)

getUserDisplayName

public java.lang.String getUserDisplayName()

setUserDisplayName

public void setUserDisplayName(java.lang.String userDisplayName)

getDisplayNameLanguage

public java.lang.String getDisplayNameLanguage()

setDisplayNameLanguage

public void setDisplayNameLanguage(java.lang.String displayNameLanguage)

setLocale

public void setLocale(java.lang.Object locale)
Set the Locale. The Locale is expected to be a java Locale object, or a String that may be interpreted as a Locale, example "en_US".

Parameters:
locale - locale.

getLocale

public java.lang.Object getLocale()
Get the locale. The Locale is expected to be a java Locale object, or a String that may be interpreted as a Locale, example "en_US".

Returns:

setAccessibilityMode

public void setAccessibilityMode(java.lang.String accessibilityMode)

getAccessibilityMode

public java.lang.String getAccessibilityMode()

getAnimationEnabled

public java.lang.Boolean getAnimationEnabled()
Fetch the user preference attribute - AnimationEnabled.

Returns:
the current users AnimationEnabled flag as Boolean

setAnimationEnabled

public void setAnimationEnabled(java.lang.Boolean animationEnabled)

getEmbeddedHelpEnabled

public java.lang.Boolean getEmbeddedHelpEnabled()
Fetch the user preference attribute - EmbeddedHelpEnabled.

Returns:
the current users EmbeddedHelpEnabled flag as Boolean

setEmbeddedHelpEnabled

public void setEmbeddedHelpEnabled(java.lang.Boolean embeddedHelpEnabled)

getColorContrast

public java.lang.String getColorContrast()
Fetch the user preference attribute - ColorContrast.

Returns:
the current users ColorContrast flag as String

setColorContrast

public void setColorContrast(java.lang.String colorContrast)

getFontSize

public java.lang.String getFontSize()
Fetch the user preference attribute - FontSize.

Returns:
the current users FontSize flag as String

setFontSize

public void setFontSize(java.lang.String fontSize)

getCurrency

public java.lang.String getCurrency()
Fetch the user preference attribute - currency.

Returns:
the current users currency

setCurrency

public void setCurrency(java.lang.String currency)

setFormattingLocale

public void setFormattingLocale(java.lang.String formattingLocale)

getFormattingLocale

public java.lang.String getFormattingLocale()

getSkinFamily

public java.lang.String getSkinFamily()

setSkinFamily

public void setSkinFamily(java.lang.String skinFamily)

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.