public static final class Module.EmptyAction extends Object implements IModuleAction
| Constructor and Description |
|---|
EmptyAction() |
| 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.
|
String |
performSearch(ContentContext ctx,
ModulesContext moduleContext,
String searchText)
method called when a seach in lauched from search form.
|
String |
prepare(ContentContext ctx,
ModulesContext moduleContext)
method called before module rendering
|
public String getActionGroupName()
IActiongetActionGroupName in interface IActionpublic String prepare(ContentContext ctx, ModulesContext moduleContext)
IModuleActionprepare in interface IModuleActionctx - the current context.moduleContext - the context of the module. You can call getCurrentModule for recover the module.public String performSearch(ContentContext ctx, ModulesContext moduleContext, String searchText) throws Exception
IModuleActionperformSearch in interface IModuleActionsearchText - the text entered in the search input field.Exceptionpublic Boolean haveRight(javax.servlet.http.HttpSession session, User user)
IModuleActionhaveRight in interface IModuleActionpublic boolean haveRight(ContentContext ctx, String action)
Copyright © 2012-2018. All Rights Reserved.