IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.jsf
Class BTTJSFBaseBean

java.lang.Object
  extended by com.ibm.btt.jsf.BTTJSFBaseBean
All Implemented Interfaces:
java.io.Serializable

public abstract class BTTJSFBaseBean
extends java.lang.Object
implements java.io.Serializable

The superclass for JSF managed beans. It provides the utility method to invoke the server side business logic by BTT invoker framework.

See Also:
Serialized Form

Constructor Summary
BTTJSFBaseBean()
           
 
Method Summary
 Context createSessionContext(java.lang.String sessionContextName)
          Cteate the sesssion context which is a remote context and chain it to the BTT context tree.
 Context createSessionContext(java.lang.String sessionContextName, boolean isDistributed)
          Cteate the sesssion context with the specified context type and chain it to the BTT context tree.
 void execute(javax.faces.event.ActionEvent actionEvent)
          execute the request according to the actionEvent
 void execute(java.lang.String actionName, java.lang.String invokerId)
          execute the request according to the actionName and the invokerId
 java.lang.String getActionName()
          get the actionName
 Context getBeanContext()
          get the beanContext
 java.lang.String getBeanContextName()
          get the beanContextName
 java.lang.String getInvokerId()
          get the invokerId
 java.lang.String getOutcome()
          get the outcome
 java.lang.String outcome()
          get the outcome
abstract  void parseInvokerResult(java.lang.Object invokerResult)
          Parse the invoke result returned from the BTT invoker.
 void removeSessionContext()
          Unchain the session Context from the BTT context tree and destroy it.
 void setActionName(java.lang.String actionName)
          set the actionName
 void setBeanContext(Context beanContext)
          set the beanContext
 void setBeanContextName(java.lang.String beanContextName)
          set the beanContextName
 void setInvokerId(java.lang.String invokerId)
          set the invokerId
abstract  java.lang.Object[] setInvokerParameters()
          Set the parameters requested by the BTT invoker.
 void setOutcome(java.lang.String outcome)
          set the outcome
 void updateContext(Context newCtx)
          Update the Bean Contextthe with the specified context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BTTJSFBaseBean

public BTTJSFBaseBean()
Method Detail

getActionName

public java.lang.String getActionName()
get the actionName

Returns:
Returns the actionName.

setActionName

public void setActionName(java.lang.String actionName)
set the actionName

Parameters:
actionName - The actionName to set.

getBeanContext

public Context getBeanContext()
get the beanContext

Returns:
Returns the beanContext.

setBeanContext

public void setBeanContext(Context beanContext)
set the beanContext

Parameters:
beanContext - The beanContext to set.

getBeanContextName

public java.lang.String getBeanContextName()
get the beanContextName

Returns:
Returns the beanContextName.

setBeanContextName

public void setBeanContextName(java.lang.String beanContextName)
set the beanContextName

Parameters:
beanContextName - The beanContextName to set.

getInvokerId

public java.lang.String getInvokerId()
get the invokerId

Returns:
Returns the invokerId.

setInvokerId

public void setInvokerId(java.lang.String invokerId)
set the invokerId

Parameters:
invokerId - The invokerId to set.

getOutcome

public java.lang.String getOutcome()
get the outcome

Returns:
Returns the outcome.

setOutcome

public void setOutcome(java.lang.String outcome)
set the outcome

Parameters:
outcome - The outcome to set.

execute

public void execute(javax.faces.event.ActionEvent actionEvent)
execute the request according to the actionEvent

Parameters:
e -

outcome

public java.lang.String outcome()
get the outcome

Returns:

execute

public void execute(java.lang.String actionName,
                    java.lang.String invokerId)
             throws java.lang.Exception
execute the request according to the actionName and the invokerId

Parameters:
actionName -
invokerId -
Throws:
java.lang.Exception

updateContext

public void updateContext(Context newCtx)
                   throws DSEInvalidRequestException
Update the Bean Contextthe with the specified context.

Parameters:
newCtx -
Throws:
DSEInvalidRequestException

createSessionContext

public Context createSessionContext(java.lang.String sessionContextName,
                                    boolean isDistributed)
                             throws java.lang.Exception
Cteate the sesssion context with the specified context type and chain it to the BTT context tree.

Parameters:
sessionContextName -
isDistributed -
Throws:
java.lang.Exception

createSessionContext

public Context createSessionContext(java.lang.String sessionContextName)
                             throws java.lang.Exception
Cteate the sesssion context which is a remote context and chain it to the BTT context tree.

Parameters:
sessionContextName -
Throws:
java.lang.Exception

removeSessionContext

public void removeSessionContext()
                          throws java.lang.Exception
Unchain the session Context from the BTT context tree and destroy it.

Throws:
java.lang.Exception

setInvokerParameters

public abstract java.lang.Object[] setInvokerParameters()
Set the parameters requested by the BTT invoker.

Parameters:
params -

parseInvokerResult

public abstract void parseInvokerResult(java.lang.Object invokerResult)
Parse the invoke result returned from the BTT invoker.

Parameters:
invokerResult -

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009