Package net.sf.jasperreports.web.actions
Class AbstractAction
- java.lang.Object
-
- net.sf.jasperreports.web.actions.AbstractAction
-
- All Implemented Interfaces:
java.io.Serializable,Action
- Direct Known Subclasses:
AbstractVerifiableTableAction,FilterAction,MultiAction,RedoAction,SaveAction,SaveZoomAction,SearchAction,SortAction,SortByColumnAction,SortRowGroupAction,UndoAction,UndoAllAction
public abstract class AbstractAction extends java.lang.Object implements Action, java.io.Serializable
- Author:
- Narcis Marcu (narcism@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractAction.ActionErrors
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERR_CONCAT_STRINGprotected AbstractAction.ActionErrorserrorsstatic java.lang.StringPARAM_COMMAND_STACK
-
Constructor Summary
Constructors Constructor Description AbstractAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description CommandStackgetCommandStack()CommandTargetgetCommandTarget(java.util.UUID uuid)CommandTargetgetCommandTarget(java.util.UUID uuid, boolean markDirty)CommandTargetgetCommandTarget(java.util.UUID uuid, java.lang.Class<? extends JRDesignElement> elementType)CommandTargetgetCommandTarget(java.util.UUID uuid, java.lang.Class<? extends JRDesignElement> elementType, boolean markDirty)JasperReportsContextgetJasperReportsContext()java.lang.StringgetMessagesBundle()ReportContextgetReportContext()voidinit(JasperReportsContext jasperReportsContext, ReportContext reportContext)abstract voidperformAction()booleanrequiresRefill()voidrun()voidsetCommandStack(CommandStack commandStack)
-
-
-
Field Detail
-
PARAM_COMMAND_STACK
public static final java.lang.String PARAM_COMMAND_STACK
- See Also:
- Constant Field Values
-
ERR_CONCAT_STRING
public static final java.lang.String ERR_CONCAT_STRING
- See Also:
- Constant Field Values
-
errors
protected AbstractAction.ActionErrors errors
-
-
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:
runin interfaceAction- 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)
-
getCommandTarget
public CommandTarget getCommandTarget(java.util.UUID uuid, boolean markDirty)
-
getCommandTarget
public CommandTarget getCommandTarget(java.util.UUID uuid, java.lang.Class<? extends JRDesignElement> elementType)
-
getCommandTarget
public CommandTarget getCommandTarget(java.util.UUID uuid, java.lang.Class<? extends JRDesignElement> elementType, boolean markDirty)
-
requiresRefill
public boolean requiresRefill()
- Specified by:
requiresRefillin interfaceAction
-
-