public interface

PrepareAction

webwork.action.PrepareAction
Known Indirect Subclasses

Class Overview

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
See Also

Summary

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

Public Methods

public void prepare ()

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
Exception thrown if a system level exception occurs.