public class SearchModuleAction extends AbstractModuleAction
Constructor and Description |
---|
SearchModuleAction() |
Modifier and Type | Method and Description |
---|---|
protected static void |
addPage(ContentContext ctx,
Map<MenuElement,SearchResultBean> outResult,
MenuElement page,
String lg,
String authors) |
String |
getActionGroupName()
the group name of the action
|
static void |
main(String[] args) |
static String |
performDownloadxlsx(RequestService rs,
javax.servlet.http.HttpServletRequest request,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performSearch(RequestService rs,
javax.servlet.http.HttpServletRequest request,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
prepare(ContentContext ctx,
ModulesContext modulesContext)
method called before module rendering
|
static Collection<SearchResultBean> |
searchInPage(ContentContext ctx,
SearchFilter filter) |
static Collection<SearchResultBean> |
searchInResource(ContentContext ctx,
SearchFilter filter) |
getModuleContext, haveRight, haveRight, isLightInterface, performChangeRenderer, performSearch, performWizard
public String getActionGroupName()
IAction
protected static void addPage(ContentContext ctx, Map<MenuElement,SearchResultBean> outResult, MenuElement page, String lg, String authors) throws Exception
Exception
public static Collection<SearchResultBean> searchInPage(ContentContext ctx, SearchFilter filter) throws Exception
Exception
public static Collection<SearchResultBean> searchInResource(ContentContext ctx, SearchFilter filter) throws Exception
Exception
public String prepare(ContentContext ctx, ModulesContext modulesContext) throws Exception
IModuleAction
prepare
in interface IModuleAction
prepare
in class AbstractModuleAction
ctx
- the current context.modulesContext
- the context of the module. You can call getCurrentModule for recover the module.Exception
public static String performSearch(RequestService rs, javax.servlet.http.HttpServletRequest request, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performDownloadxlsx(RequestService rs, javax.servlet.http.HttpServletRequest request, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static void main(String[] args)
Copyright © 2012-2018. All Rights Reserved.