Package org.javlo.module.roles
Class RolesAction
- java.lang.Object
-
- org.javlo.actions.AbstractModuleAction
-
- org.javlo.module.roles.RolesAction
-
- All Implemented Interfaces:
IAction
,IModuleAction
public class RolesAction extends AbstractModuleAction
-
-
Constructor Summary
Constructors Constructor Description RolesAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActionGroupName()
the group name of the actionstatic String
performChangeRole(RequestService rs, ContentContext ctx, javax.servlet.http.HttpSession session, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performUpdate(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
String
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
-
performChangeRole
public static String performChangeRole(RequestService rs, ContentContext ctx, javax.servlet.http.HttpSession session, MessageRepository messageRepository, I18nAccess i18nAccess)
-
performUpdate
public static String performUpdate(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
- Throws:
IOException
-
-