java.lang.Object
org.apache.struts.action.Action
com.RuntimeCollective.sitemap.action.BySubsectionSearchAction
- public class BySubsectionSearchAction
- extends org.apache.struts.action.Action
Implementation of Action that performs a BySubsection search.
This allows the user to select one subsection to search into, or all.
It also allows to constrain searched to bboard topics, using the same form parameter.
- Version:
- $Id: BySubsectionSearchAction.java,v 1.5 2003/09/30 15:12:58 joe Exp $
| Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_NO_RESULTS
public static int MAX_NO_RESULTS
- Maximum number of results returned.
TOPIC_CLASS_NAME
public static final java.lang.String TOPIC_CLASS_NAME
- See Also:
- Constant Field Values
topicClass
public static java.lang.Class topicClass
SPACE
public static java.lang.String SPACE
BySubsectionSearchAction
public BySubsectionSearchAction()
perform
public org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Performs a search, based on the values in the associated SearchForm.
idArrayToString
private java.lang.String idArrayToString(java.lang.String[] array)
- Make a String of ids we search for.
The string is eg "i123di635d", i and d are used
as separator not to confuse eg id=123 and id=23.