IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.jsf
Class BTTJSFUtil

java.lang.Object
  extended by com.ibm.btt.jsf.BTTJSFUtil

public class BTTJSFUtil
extends java.lang.Object

This class contains utility methods used frequently in this component.


Constructor Summary
BTTJSFUtil()
           
 
Method Summary
static java.lang.Object getConfigValue(java.lang.String aCompositeKey)
          get the value of the configuration property in the BTT configuration file(btt.xml).
static javax.servlet.http.HttpSession getHttpSeeesion()
          get HTTP Session with the default FacesContext.
static javax.servlet.http.HttpSession getHttpSeeesion(boolean create)
          get HTTP Session with the default FacesContext.
static javax.servlet.http.HttpSession getHttpSeeesion(javax.faces.context.FacesContext fContext)
          get HTTP Session with the specified FacesContext.
static javax.servlet.http.HttpSession getHttpSeeesion(javax.faces.context.FacesContext fContext, boolean create)
          get HTTP Session with the specified FacesContext.
static Context getSessionContext()
          Returns the current Context with the specified HttpSeesion.
static Context getSessionContext(javax.servlet.http.HttpSession aSession)
          Returns the current Context with the specified HttpSeesion.
static boolean isWorkAreaSupport()
          Check whether or not Supporting WorkArea
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BTTJSFUtil

public BTTJSFUtil()
Method Detail

getConfigValue

public static java.lang.Object getConfigValue(java.lang.String aCompositeKey)
get the value of the configuration property in the BTT configuration file(btt.xml).

Parameters:
aCompositeKey -
Returns:

isWorkAreaSupport

public static boolean isWorkAreaSupport()
Check whether or not Supporting WorkArea

Returns:

getHttpSeeesion

public static javax.servlet.http.HttpSession getHttpSeeesion()
get HTTP Session with the default FacesContext.

Returns:

getHttpSeeesion

public static javax.servlet.http.HttpSession getHttpSeeesion(boolean create)
get HTTP Session with the default FacesContext.

Parameters:
create - -- Flag indicating whether or not a new session should be created if there is no session associated with the current request.
Returns:

getHttpSeeesion

public static javax.servlet.http.HttpSession getHttpSeeesion(javax.faces.context.FacesContext fContext)
get HTTP Session with the specified FacesContext.

Parameters:
fContext -
Returns:

getHttpSeeesion

public static javax.servlet.http.HttpSession getHttpSeeesion(javax.faces.context.FacesContext fContext,
                                                             boolean create)
get HTTP Session with the specified FacesContext.

Parameters:
fContext -
create - -- Flag indicating whether or not a new session should be created if there is no session associated with the current request.
Returns:

getSessionContext

public static Context getSessionContext()
                                 throws DSEInvalidRequestException,
                                        DSEObjectNotFoundException
Returns the current Context with the specified HttpSeesion.

Parameters:
aSessionID -
Returns:
Context
Throws:
DSEInvalidRequestException
DSEObjectNotFoundException

getSessionContext

public static Context getSessionContext(javax.servlet.http.HttpSession aSession)
                                 throws DSEInvalidRequestException,
                                        DSEObjectNotFoundException
Returns the current Context with the specified HttpSeesion.

Parameters:
aSession -
Returns:
Context
Throws:
DSEInvalidRequestException
DSEObjectNotFoundException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010