webwork.action
Interface PrepareAction

All Known Implementing Classes:
CascadingSelectTest, NumberGuess

public interface PrepareAction

An Action wanting to prepare its state before receiving parameters should implement this interface. A common use is to get current state from a database, which then is overwritten partially by input parameters. The new state, including the old that was not overwritten, may then be sent back to the database

Version:
$Revision: 1.6 $
Author:
Rickard Öberg (rickard@middleware-company.com)
See Also:
Action

Method Summary
 void prepare()
          This method is called to allow the action to prepare itself before receiving parameters through its set-methods.
 

Method Detail

prepare

public void prepare()
             throws java.lang.Exception
This method is called to allow the action to prepare itself before receiving parameters through its set-methods. All *Aware interfaces are checked before this, so the action can rely on addition information to have been sent through the callbacks (e.g. the application session, or user session)

Throws:
java.lang.Exception - thrown if a system level exception occurs.


Copyright © 2001-2003 WebWork All Rights Reserved.