Package org.javlo.actions
Class SearchActions
- java.lang.Object
-
- org.javlo.actions.SearchActions
-
-
Constructor Summary
Constructors Constructor Description SearchActions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActionGroupName()
the group name of the actionboolean
haveRight(ContentContext ctx, String action)
static String
performDefaultsearch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static String
performSearch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static String
performSearchdefaultresulthtml(ContentContext ctx)
static String
performSearchresulthtml(ContentContext ctx)
static String
performTemplate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
Field Detail
-
logger
protected static Logger logger
create a static logger.
-
-
Method Detail
-
performDefaultsearch
public static String performDefaultsearch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
performSearch
public static String performSearch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
performSearchresulthtml
public static String performSearchresulthtml(ContentContext ctx) throws Exception
- Throws:
Exception
-
performSearchdefaultresulthtml
public static String performSearchdefaultresulthtml(ContentContext ctx) throws Exception
- Throws:
Exception
-
performTemplate
public static String performTemplate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
- Throws:
Exception
-
getActionGroupName
public String getActionGroupName()
Description copied from interface:IAction
the group name of the action- Specified by:
getActionGroupName
in interfaceIAction
- Returns:
- a group name.
-
haveRight
public boolean haveRight(ContentContext ctx, String action)
-
-