com.bankframe.fe.statemachine.ext.apps
Class View

java.lang.Object
  extended bycom.bankframe.fe.statemachine.ext.apps.View
All Implemented Interfaces:
IView, IView
Direct Known Subclasses:
JSPView, XSLTView

public abstract class View
extends java.lang.Object
implements IView


Field Summary
 
Fields inherited from interface com.bankframe.fe.statemachine.ext.apps.IView
PROCESSES_EXECUTION_RECORDS_ATTRIBUTE_NAME
 
Constructor Summary
View()
          Constructor for View.
 
Method Summary
 void build(RequestContext requestContext, IState currentState)
          Updates the user interface.
static void build(RequestContext requestContext, IState currentState, IView view)
          This is a convenience method for those classes that must implement IView but cannot extend this class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bankframe.fe.statemachine.ext.apps.IView
build, populateFromProperties
 

Constructor Detail

View

public View()
Constructor for View.

Method Detail

build

public void build(RequestContext requestContext,
                  IState currentState)
           throws StateMachineUserException
Description copied from interface: IView
Updates the user interface. This method is called by the statemachine to render the user interface for a given state.

Specified by:
build in interface IView
Parameters:
requestContext - the request context for the current request.
currentState - the state to be built.
Throws:
StateMachineUserException - can be thrown if an application exception occurs.
See Also:
IView.build(RequestContext, IState)

build

public static void build(RequestContext requestContext,
                         IState currentState,
                         IView view)
                  throws StateMachineUserException
This is a convenience method for those classes that must implement IView but cannot extend this class. (eg. Swing view panels).

Implement the build(RequestContext, IState) method as
View.build(requestContext, currentState, this);

Throws:
StateMachineUserException


Copyright © 2004 Siebel Systems, Inc. All rights reserved.