Package org.javlo.module.macro
Class MacroAction
- java.lang.Object
-
- org.javlo.actions.AbstractModuleAction
-
- org.javlo.module.macro.MacroAction
-
- All Implemented Interfaces:
IAction
,IModuleAction
public class MacroAction extends AbstractModuleAction
-
-
Constructor Summary
Constructors Constructor Description MacroAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActionGroupName()
the group name of the actionstatic 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-
Methods inherited from class org.javlo.actions.AbstractModuleAction
getModuleContext, haveRight, haveRight, isLightInterface, performChangeRenderer, performSearch, performWizard
-
-
-
-
Method Detail
-
getActionGroupName
public String getActionGroupName()
Description copied from interface:IAction
the group name of the action- Returns:
- a group name.
-
prepare
public String prepare(ContentContext ctx, ModulesContext moduleContext) throws Exception
Description copied from interface:IModuleAction
method called before module rendering- Specified by:
prepare
in interfaceIModuleAction
- Overrides:
prepare
in classAbstractModuleAction
- Parameters:
ctx
- the current context.moduleContext
- the context of the module. You can call getCurrentModule for recover the module.- Returns:
- eventually the error message
- Throws:
Exception
-
performExecuteMacro
public static final String performExecuteMacro(RequestService requestService, StaticConfig staticConfig, ContentContext ctx) throws Exception
- Throws:
Exception
-
performExecuteInteractiveMacro
public static String performExecuteInteractiveMacro(RequestService rs, ContentContext ctx, StaticConfig staticConfig, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
- Throws:
Exception
-
performCloseMacro
public static String performCloseMacro(RequestService rs, ContentContext ctx, EditContext editContext, MessageRepository messageRepository, I18nAccess i18nAccess) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
-
-