public abstract class AbstractAction extends Object implements Action
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractAction.ActionErrors |
| Modifier and Type | Field and Description |
|---|---|
static String |
ERR_CONCAT_STRING |
protected AbstractAction.ActionErrors |
errors |
static String |
PARAM_COMMAND_STACK |
| Constructor and Description |
|---|
AbstractAction() |
| Modifier and Type | Method and Description |
|---|---|
CommandStack |
getCommandStack() |
CommandTarget |
getCommandTarget(UUID uuid) |
CommandTarget |
getCommandTarget(UUID uuid,
Class<? extends JRDesignElement> elementType) |
JasperReportsContext |
getJasperReportsContext() |
String |
getMessagesBundle() |
ReportContext |
getReportContext() |
void |
init(JasperReportsContext jasperReportsContext,
ReportContext reportContext) |
abstract void |
performAction() |
boolean |
requiresRefill() |
void |
run() |
void |
setCommandStack(CommandStack commandStack) |
public static final String PARAM_COMMAND_STACK
public static final String ERR_CONCAT_STRING
protected AbstractAction.ActionErrors errors
public String getMessagesBundle()
public void init(JasperReportsContext jasperReportsContext, ReportContext reportContext)
public JasperReportsContext getJasperReportsContext()
public ReportContext getReportContext()
public void run()
throws ActionException
run in interface ActionActionExceptionpublic CommandStack getCommandStack()
public void setCommandStack(CommandStack commandStack)
public abstract void performAction()
throws ActionException
ActionExceptionpublic CommandTarget getCommandTarget(UUID uuid)
public CommandTarget getCommandTarget(UUID uuid, Class<? extends JRDesignElement> elementType)
public boolean requiresRefill()
requiresRefill in interface ActionCopyright © 2017. All rights reserved.