Package org.apache.turbine.modules
Interface Action
-
- All Superinterfaces:
Assembler
- All Known Implementing Classes:
AccessController,ActionEvent,DefaultAction,DefaultSessionValidator,InitContextsAction,LegacyVelocityAction,LegacyVelocitySecureAction,LoginUser,LogoutUser,SessionValidator,TemplateSecureSessionValidator,TemplateSessionValidator,VelocityAction,VelocityActionEvent,VelocitySecureAction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Action extends Assembler
Generic Action interface.- Version:
- $Id$
- Author:
- Dave Bryson, Peter Courcoux
-
-
Field Summary
Fields Modifier and Type Field Description static intCACHE_SIZE_DEFAULTThe default size for the action cachestatic StringCACHE_SIZE_KEYProperty for the size of the module cache if caching is onstatic StringNAMERepresents Action Objectsstatic StringPREFIXPrefix for action related classes and templates
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voiddoPerform(PipelineData pipelineData)A subclass must implement this method to perform itself.default voidperform(PipelineData pipelineData)Subclasses can override this method to add additional functionality.
-
-
-
Field Detail
-
PREFIX
static final String PREFIX
Prefix for action related classes and templates- See Also:
- Constant Field Values
-
CACHE_SIZE_KEY
static final String CACHE_SIZE_KEY
Property for the size of the module cache if caching is on- See Also:
- Constant Field Values
-
CACHE_SIZE_DEFAULT
static final int CACHE_SIZE_DEFAULT
The default size for the action cache- See Also:
- Constant Field Values
-
NAME
static final String NAME
Represents Action Objects- See Also:
- Constant Field Values
-
-
Method Detail
-
doPerform
void doPerform(PipelineData pipelineData) throws Exception
A subclass must implement this method to perform itself. The Action can also set the screen that is associated withPipelineData.- Parameters:
pipelineData- Turbine information.- Throws:
Exception- a generic exception.
-
perform
default void perform(PipelineData pipelineData) throws Exception
Subclasses can override this method to add additional functionality.- Parameters:
pipelineData- Turbine information.- Throws:
Exception- a generic exception.
-
-