Interface PrepareAction

All Known Implementing Classes:
PreparedReferenceAction

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:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called to allow the action to prepare itself before receiving parameters through its set-methods.
  • Method Details

    • prepare

      void prepare() throws 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:
      Exception - thrown if a system level exception occurs.