public class Action extends AbstractModuleAction
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
String |
getActionGroupName()
the group name of the action
|
boolean |
haveRight(ContentContext ctx,
String action) |
Boolean |
haveRight(javax.servlet.http.HttpSession session,
User user)
check if a specific user can use the module.
|
static String |
performTest(ContentContext ctx) |
String |
prepare(ContentContext ctx,
ModulesContext moduleContext)
method called before module rendering
|
getModuleContext, isLightInterface, performChangeRenderer, performSearch, performWizard
public String getActionGroupName()
IAction
public String prepare(ContentContext ctx, ModulesContext moduleContext)
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.public static final String performTest(ContentContext ctx)
public Boolean haveRight(javax.servlet.http.HttpSession session, User user) throws ModuleException
IModuleAction
haveRight
in interface IModuleAction
haveRight
in class AbstractModuleAction
ModuleException
public boolean haveRight(ContentContext ctx, String action)
haveRight
in interface IAction
haveRight
in class AbstractModuleAction
Copyright © 2012-2018. All Rights Reserved.