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()
IAction
getActionGroupName
in interface IAction
public String prepare(ContentContext ctx, ModulesContext moduleContext)
IModuleAction
prepare
in interface IModuleAction
ctx
- 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
IModuleAction
performSearch
in interface IModuleAction
searchText
- the text entered in the search input field.Exception
public Boolean haveRight(javax.servlet.http.HttpSession session, User user)
IModuleAction
haveRight
in interface IModuleAction
public boolean haveRight(ContentContext ctx, String action)
Copyright © 2012-2018. All Rights Reserved.