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

E22562-01

oracle.apps.fnd.applcore.common.prefs
Class UserPreferencesImpl

java.lang.Object
  extended by oracle.apps.fnd.applcore.common.prefs.UserPreferencesImpl
All Implemented Interfaces:
UserPreferences

public class UserPreferencesImpl
extends java.lang.Object
implements UserPreferences


Field Summary
 
Fields inherited from interface oracle.apps.fnd.applcore.common.prefs.UserPreferences
ACCESSIBILITY_MODE, ACTION, ADDITIONAL_CUSTOMIZATION_LEVEL, APPLICATION_ID, APPLICATION_SHORT_NAME, CLIENT_ENCODING, CURRENCY, DATE_FORMAT, DECIMAL_SEPARATOR, DISPLAY_NAME_LANGUAGE, FROM_LDAP, GLOBAL, GROUPING_SEPARATOR, HISTORY_OVERRIDE_USER_NAME, IMPERSONATE, INDUSTRY, INDUSTRY_IN_TERRITORY, LANGUAGE, LAST_ACCESSED_TIME, MODULE, NLS_LANG, NLS_LANGUAGE, NLS_SORT, NUMBER_FORMAT, PILLAR_NAME, PRODUCT, PRODUCT_FAMILY, SESSION_COOKIE, SESSION_ID, SITE, TERRITORY, TIME_FORMAT, TIMEZONE, TRACE_LEVEL, USER_GUID, USER_NAME
 
Constructor Summary
UserPreferencesImpl()
           
 
Method Summary
 java.lang.String getCacheKey()
          This returns a cache key which is supposed to contain all necessary information to capture the last update by any pillar.
 java.util.Map<java.lang.String,java.lang.String> getSessionProperties()
          This returns the actual preferences fetched from a combination of LDAP plus pillar updates.
 void setSessionProperties(java.util.Map<java.lang.String,java.lang.String> sessionProperties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPreferencesImpl

public UserPreferencesImpl()
Method Detail

getCacheKey

public java.lang.String getCacheKey()
Description copied from interface: UserPreferences
This returns a cache key which is supposed to contain all necessary information to capture the last update by any pillar. The intent is that BI can use this cache key to store the state of preferences (much like the ApplCore session cookie) and pass this key back to ApplCore APIs when querying for preferences again. This is required in order to avoid fetching preferences on every single call into BI as BI will need to implement this functionality as a filter. Currently it is expected that this key will consist of LastAccessPillar, LastAccessTime and LastAccessPillarSessionId. However in order to isolate BI from changes to these details, it is proposed that this be made an opaque entity which BI is only responsible for associating with BI session state. The cache key should not be too long. In particular, it needs to fit into an HTTP cookie, so length limits should be observed.

Specified by:
getCacheKey in interface UserPreferences

getSessionProperties

public java.util.Map<java.lang.String,java.lang.String> getSessionProperties()
Description copied from interface: UserPreferences
This returns the actual preferences fetched from a combination of LDAP plus pillar updates.

Specified by:
getSessionProperties in interface UserPreferences

setSessionProperties

public void setSessionProperties(java.util.Map<java.lang.String,java.lang.String> sessionProperties)
Specified by:
setSessionProperties in interface UserPreferences

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

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.