public class MacroAction extends AbstractModuleAction
Constructor and Description |
---|
MacroAction() |
Modifier and Type | Method and Description |
---|---|
String |
getActionGroupName()
the group name of the action
|
static String |
performCloseMacro(RequestService rs,
ContentContext ctx,
EditContext editContext,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performExecuteInteractiveMacro(RequestService rs,
ContentContext ctx,
StaticConfig staticConfig,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performExecuteMacro(RequestService requestService,
StaticConfig staticConfig,
ContentContext ctx) |
String |
prepare(ContentContext ctx,
ModulesContext moduleContext)
method called before module rendering
|
getModuleContext, haveRight, haveRight, isLightInterface, performChangeRenderer, performSearch, performWizard
public String getActionGroupName()
IAction
public String prepare(ContentContext ctx, ModulesContext moduleContext) throws Exception
IModuleAction
prepare
in interface IModuleAction
prepare
in class AbstractModuleAction
ctx
- the current context.moduleContext
- the context of the module. You can call getCurrentModule for recover the module.Exception
public static final String performExecuteMacro(RequestService requestService, StaticConfig staticConfig, ContentContext ctx) throws Exception
Exception
public static String performExecuteInteractiveMacro(RequestService rs, ContentContext ctx, StaticConfig staticConfig, MessageRepository messageRepository, I18nAccess i18nAccess) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
public static String performCloseMacro(RequestService rs, ContentContext ctx, EditContext editContext, MessageRepository messageRepository, I18nAccess i18nAccess) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
Copyright © 2012-2018. All Rights Reserved.