org.apache.turbine.modules
Class Action

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Action
Direct Known Subclasses:
AccessController, ActionEvent, DefaultAction, InitContextsAction, LoginUser, LogoutUser, SessionValidator

public abstract class Action
extends Assembler

Generic Action class.

Version:
$Id: Action.java,v 1.5 2004/08/02 08:57:32 epugh Exp $
Author:
Dave Bryson, Peter Courcoux

Constructor Summary
Action()
           
 
Method Summary
 void doPerform(PipelineData pipelineData)
          A subclass must override this method to perform itself.
abstract  void doPerform(RunData data)
          Deprecated. Use PipelineData version instead.
protected  void perform(PipelineData pipelineData)
          Subclasses can override this method to add additional functionality.
protected  void perform(RunData data)
          Deprecated. Use PipelineData version instead.
 
Methods inherited from class org.apache.turbine.modules.Assembler
getRunData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action

public Action()
Method Detail

doPerform

public abstract void doPerform(RunData data)
                        throws java.lang.Exception
Deprecated. Use PipelineData version instead.

A subclass must override this method to perform itself. The Action can also set the screen that is associated with RunData.

Parameters:
data - Turbine information.
Throws:
java.lang.Exception - a generic exception.

perform

protected void perform(RunData data)
                throws java.lang.Exception
Deprecated. Use PipelineData version instead.

Subclasses can override this method to add additional functionality. This method is protected to force clients to use ActionLoader to perform an Action.

Parameters:
data - Turbine information.
Throws:
java.lang.Exception - a generic exception.

doPerform

public void doPerform(PipelineData pipelineData)
               throws java.lang.Exception
A subclass must override this method to perform itself. The Action can also set the screen that is associated with RunData.

Throws:
java.lang.Exception - a generic exception.

perform

protected void perform(PipelineData pipelineData)
                throws java.lang.Exception
Subclasses can override this method to add additional functionality. This method is protected to force clients to use ActionLoader to perform an Action.

Throws:
java.lang.Exception - a generic exception.


Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.