net.sf.jasperreports.web.actions
Class AbstractAction

java.lang.Object
  extended by net.sf.jasperreports.web.actions.AbstractAction
All Implemented Interfaces:
Action
Direct Known Subclasses:
AbstractVerifiableTableAction, FilterAction, MultiAction, RedoAction, SaveAction, SortAction, UndoAction, UndoAllAction

public abstract class AbstractAction
extends java.lang.Object
implements Action

Version:
$Id: AbstractAction.java 5331 2012-05-03 11:53:20Z teodord $
Author:
Narcis Marcu (narcism@users.sourceforge.net)

Nested Class Summary
static class AbstractAction.ActionErrors
           
 
Field Summary
protected  AbstractAction.ActionErrors errors
           
static java.lang.String PARAM_COMMAND_STACK
           
 
Constructor Summary
AbstractAction()
           
 
Method Summary
 CommandStack getCommandStack()
           
 CommandTarget getCommandTarget(java.util.UUID uuid)
           
 JasperReportsContext getJasperReportsContext()
           
 java.lang.String getMessagesBundle()
           
 ReportContext getReportContext()
           
 void init(JasperReportsContext jasperReportsContext, ReportContext reportContext)
           
abstract  void performAction()
           
 void run()
           
 void setCommandStack(CommandStack commandStack)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_COMMAND_STACK

public static final java.lang.String PARAM_COMMAND_STACK
See Also:
Constant Field Values

errors

protected AbstractAction.ActionErrors errors
Constructor Detail

AbstractAction

public AbstractAction()
Method Detail

getMessagesBundle

public java.lang.String getMessagesBundle()

init

public void init(JasperReportsContext jasperReportsContext,
                 ReportContext reportContext)

getJasperReportsContext

public JasperReportsContext getJasperReportsContext()

getReportContext

public ReportContext getReportContext()

run

public void run()
         throws ActionException
Specified by:
run in interface Action
Throws:
ActionException

getCommandStack

public CommandStack getCommandStack()

setCommandStack

public void setCommandStack(CommandStack commandStack)

performAction

public abstract void performAction()
                            throws ActionException
Throws:
ActionException

getCommandTarget

public CommandTarget getCommandTarget(java.util.UUID uuid)


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com