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

E22562-04

oracle.apps.fnd.applcore.common.bipPrefs
Class BIPPreferencesWrapperImpl

java.lang.Object
  extended by oracle.apps.fnd.applcore.common.bipPrefs.BIPPreferencesWrapperImpl
All Implemented Interfaces:
BIPPreferencesWrapper

public class BIPPreferencesWrapperImpl
extends java.lang.Object
implements BIPPreferencesWrapper


Constructor Summary
BIPPreferencesWrapperImpl()
           
 
Method Summary
 java.util.HashMap<java.lang.String,java.lang.String> getUserPreferences(java.lang.String userName)
          This method will return the ldap user attributes corresponding to a user
 java.util.HashMap<java.lang.String,java.lang.String> getUserPreferences(java.lang.String SessionId, java.lang.String SessionCookie, java.sql.Connection conn)
          Deprecated. - Do not use.
 java.util.HashMap<java.lang.String,java.lang.String> getUserPreferences(java.lang.String SessionId, java.lang.String SessionCookie, java.sql.Connection conn, javax.servlet.http.Cookie[] cookies)
           
 java.lang.Boolean initSession(java.sql.Connection conn)
          create an ApplSession and initialize the passed in connection with that session.
 java.util.HashMap<java.lang.String,java.lang.String> lastAccessedPillarAndCookie(javax.servlet.http.Cookie[] cookies)
          we can get the sessionCookie and lastAccessedPillarName
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BIPPreferencesWrapperImpl

public BIPPreferencesWrapperImpl()
Method Detail

getUserPreferences

public java.util.HashMap<java.lang.String,java.lang.String> getUserPreferences(java.lang.String userName)
Description copied from interface: BIPPreferencesWrapper
This method will return the ldap user attributes corresponding to a user

Specified by:
getUserPreferences in interface BIPPreferencesWrapper
Returns:

getUserPreferences

public java.util.HashMap<java.lang.String,java.lang.String> getUserPreferences(java.lang.String SessionId,
                                                                               java.lang.String SessionCookie,
                                                                               java.sql.Connection conn)
Deprecated. - Do not use.

Description copied from interface: BIPPreferencesWrapper
returns user preferences based on a given session Cookie and the connection If cookie is not avaiable, Session Id can be passed. In case of ESS, UI is not available and BIPAgentAPI can't get the SessionCookie. But, BIPAgentAPI can get ATG appl session id.

Specified by:
getUserPreferences in interface BIPPreferencesWrapper
Parameters:
SessionId -
SessionCookie -
conn -
Returns:

getUserPreferences

public java.util.HashMap<java.lang.String,java.lang.String> getUserPreferences(java.lang.String SessionId,
                                                                               java.lang.String SessionCookie,
                                                                               java.sql.Connection conn,
                                                                               javax.servlet.http.Cookie[] cookies)

initSession

public java.lang.Boolean initSession(java.sql.Connection conn)
                              throws java.lang.Exception
Description copied from interface: BIPPreferencesWrapper
create an ApplSession and initialize the passed in connection with that session. ApplSession should not be put on ThreadLocal. ApplSession object should not be made available, as it may not have conn details to do any gets/sets/synchronize.

Specified by:
initSession in interface BIPPreferencesWrapper
Returns:
Throws:
java.lang.Exception

lastAccessedPillarAndCookie

public java.util.HashMap<java.lang.String,java.lang.String> lastAccessedPillarAndCookie(javax.servlet.http.Cookie[] cookies)
Description copied from interface: BIPPreferencesWrapper
we can get the sessionCookie and lastAccessedPillarName

Specified by:
lastAccessedPillarAndCookie in interface BIPPreferencesWrapper
Returns:

main

public static void main(java.lang.String[] args)

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

E22562-04

Copyright © 2012 Oracle. All Rights Reserved.