Package org.javlo.module.context
Class ContextAction
- java.lang.Object
-
- org.javlo.actions.AbstractModuleAction
-
- org.javlo.module.context.ContextAction
-
- All Implemented Interfaces:
IAction
,IModuleAction
public class ContextAction extends AbstractModuleAction
-
-
Constructor Summary
Constructors Constructor Description ContextAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActionGroupName()
the group name of the actionString
prepare(ContentContext ctx, ModulesContext modulesContext)
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 modulesContext) 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.modulesContext
- the context of the module. You can call getCurrentModule for recover the module.- Returns:
- eventually the error message
- Throws:
Exception
-
-