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, performWizardpublic String getActionGroupName()
IActionpublic String prepare(ContentContext ctx, ModulesContext moduleContext)
IModuleActionprepare in interface IModuleActionprepare in class AbstractModuleActionctx - 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
IModuleActionhaveRight in interface IModuleActionhaveRight in class AbstractModuleActionModuleExceptionpublic boolean haveRight(ContentContext ctx, String action)
haveRight in interface IActionhaveRight in class AbstractModuleActionCopyright © 2012-2018. All Rights Reserved.