public class SearchFormHandler
extends atg.droplet.GenericFormHandler
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CLASS_VERSION
Class version string
|
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS| Constructor and Description |
|---|
SearchFormHandler() |
| Modifier and Type | Method and Description |
|---|---|
SearchedSites |
getSearchedSites() |
java.lang.String[] |
getSiteIds() |
java.lang.String |
getSiteScope() |
boolean |
handleSearch(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Contains logic that will be executed when a search is performed.
|
void |
setSearchedSites(SearchedSites pSearchedSites) |
void |
setSiteIds(java.lang.String[] pSiteIds) |
void |
setSiteScope(java.lang.String pSiteScope) |
addFormException, addUncheckedFormException, afterSet, beforeSet, checkFormRedirect, createFormSubmissionMessage, getCancelURL, getCheckForValidSession, getFormError, getFormExceptions, getFormName, getMessagePort, getMessageSource, getMessageType, getPropertyExceptions, getSendMessages, getUncheckedFormExceptions, handleCancel, handleFormException, handleUncheckedFormException, hasUncheckedFormExceptions, isDeferForwardsAndRedirects, isRestorableForm, isUseForwards, isValidSession, redirectOrForward, resetFormExceptions, setCancelURL, setCheckForValidSession, setDeferForwardsAndRedirects, setFormName, setMessagePort, setMessageSource, setMessageType, setRestorableForm, setSendMessages, setUseForwardsaddLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningprotected static final java.lang.String CLASS_VERSION
public java.lang.String[] getSiteIds()
public void setSiteIds(java.lang.String[] pSiteIds)
pSiteIds - - The site IDs which are used as search constraints.public SearchedSites getSearchedSites()
public void setSearchedSites(SearchedSites pSearchedSites)
pSearchedSites - - A bean thats used to indicate the scope of the current search.public java.lang.String getSiteScope()
public void setSiteScope(java.lang.String pSiteScope)
pSiteScope - - A parameter used to indicate the current scope of the search is correct.
Set by the form invoking the handler.public boolean handleSearch(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
throws java.io.IOException,
javax.servlet.ServletException
pRequest - The current HTTP request.pResponse - The current HTTP response.java.io.IOExceptionjavax.servlet.ServletException