Package org.javlo.module.error
Class ErrorAction
- java.lang.Object
-
- org.javlo.actions.AbstractModuleAction
-
- org.javlo.module.error.ErrorAction
-
- All Implemented Interfaces:
IAction
,IModuleAction
public class ErrorAction extends AbstractModuleAction
-
-
Constructor Summary
Constructors Constructor Description ErrorAction()
-
Method Summary
-
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
-
performDelete
public static String performDelete(RequestService rs, ContentContext ctx, MessageRepository messageRepository, User user)
-
performDeleteForward
public static String performDeleteForward(RequestService rs, ContentContext ctx, MessageRepository messageRepository, User user)
-
performPage404
public static String performPage404(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess, Module module) throws IOException
- Throws:
IOException
-
performPageForward
public static String performPageForward(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess, Module module) throws IOException
- Throws:
IOException
-
performReset404
public static String performReset404(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess, User user)
-
performForward
public static String performForward(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess, User user) throws Exception
- Throws:
Exception
-
-