|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.droplet.EmptyFormHandler
atg.droplet.GenericFormHandler
atg.search.formhandlers.BaseSearchFormHandler
atg.search.formhandlers.PagedRequestFormHandler
atg.search.formhandlers.TreeQueryFormHandler
atg.svc.agent.ui.formhandlers.SearchFormHandler
atg.commerce.csr.search.OrderSearchTreeQueryFormHandler
public class OrderSearchTreeQueryFormHandler
This class performs pre-processing on the request object before a search. Also stores the state of the address radio button, and the advanced search area
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.droplet.GenericFormHandler |
---|
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
OrderSearchTreeQueryFormHandler()
|
Method Summary | |
---|---|
protected atg.search.routing.command.search.SearchResponse |
afterSearch(atg.search.routing.command.search.SearchRequest pRequest,
atg.search.routing.command.search.SearchResponse pResults,
atg.search.client.SearchSession pSession)
As this form handler is request scoped, the state of any UI properties need to be saved in a window scoped component. |
java.lang.String |
getAddressPicker()
Returns the value of the address picker radio button on the Order Search UI. |
java.lang.String |
getAdvancedAddressLine1Property()
Returns the mAdvancedAddressLine1Property |
java.lang.String |
getAdvancedAddressLine2Property()
Returns the mAdvancedAddressLine2Property |
java.lang.String |
getAdvancedCityProperty()
Returns the mAdvancedCityProperty |
java.lang.String |
getAdvancedCountryProperty()
Returns the mAdvancedCountryProperty |
java.lang.String |
getAdvancedFirstNameProperty()
Returns the mAdvancedFirstNameProperty |
java.lang.String |
getAdvancedLastNameProperty()
Returns the mAdvancedLastNameProperty |
java.lang.String |
getAdvancedPhoneProperty()
Returns the mAdvancedPhoneProperty |
java.lang.String |
getAdvancedPostalCodeProperty()
Returns the mAdvancedPostalCodeProperty |
java.lang.String |
getAdvancedStateProperty()
Returns the mAdvancedStateProperty |
java.lang.String |
getContainsSKUProperty()
Returns the mContainsSKUProperty |
java.lang.String |
getEmailProperty()
Returns the mEmailProperty |
java.lang.String |
getFirstNameProperty()
Returns the mFirstNameProperty |
java.lang.String |
getLastNameProperty()
Returns the mLastNameProperty |
java.lang.String |
getLoginProperty()
Returns the mLoginProperty |
java.lang.String |
getMaxSearchResults()
Returns the mMaxSearchResults |
java.lang.String |
getMaxSearchResultsPerPage()
Returns the mMaxSearchResultsPerPage |
java.lang.String |
getOrderIdProperty()
Returns the mOrderIdProperty |
java.lang.String |
getOrderStatusProperty()
Returns the mOrderStatusProperty |
java.lang.String |
getPaymentGroupsProperty()
Returns the mPaymentGroupsProperty |
java.lang.String |
getShippingGroupsProperty()
Returns the mShippingGroupsProperty |
java.lang.String |
getSubmittedDateProperty()
Returns the mSubmittedDate |
boolean |
handleClearForm(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Over rides the super clearForm method so that the search response and request can be cleared out of the AgentSearchRequestTracker |
boolean |
isAdvancedSearch()
Returns the mIsAdvancedSearch |
void |
setAddressPicker(java.lang.String pAddressPicker)
This will store the value of the address picker radio button on the order search UI Sets the mAddressPicker |
void |
setAdvancedAddressLine1Property(java.lang.String pAdvancedAddressLine1Property)
Sets the mAdvancedAddressLine1Property |
void |
setAdvancedAddressLine2Property(java.lang.String pAdvancedAddressLine2Property)
Sets the mAdvancedAddressLine2Property |
void |
setAdvancedCityProperty(java.lang.String pAdvancedCityProperty)
Sets the mAdvancedCityProperty |
void |
setAdvancedCountryProperty(java.lang.String pAdvancedCountryProperty)
Sets the mAdvancedCountryProperty |
void |
setAdvancedFirstNameProperty(java.lang.String pAdvancedFirstNameProperty)
Sets the mAdvancedFirstNameProperty |
void |
setAdvancedLastNameProperty(java.lang.String pAdvancedLastNameProperty)
Sets the mAdvancedLastNameProperty |
void |
setAdvancedPhoneProperty(java.lang.String pAdvancedPhoneProperty)
Sets the mAdvancedPhoneProperty |
void |
setAdvancedPostalCodeProperty(java.lang.String pAdvancedPostalCodeProperty)
Sets the mAdvancedPostalCodeProperty |
void |
setAdvancedSearch(boolean pIsAdvancedSearch)
Sets the mIsAdvancedSearch |
void |
setAdvancedStateProperty(java.lang.String pAdvancedStateProperty)
Sets the mAdvancedStateProperty |
void |
setContainsSKUProperty(java.lang.String pContainsSKUProperty)
Sets the mContainsSKUProperty |
void |
setEmailProperty(java.lang.String pEmailProperty)
Sets the mEmailProperty |
void |
setFirstNameProperty(java.lang.String pFirstNameProperty)
Sets the mFirstNameProperty |
void |
setLastNameProperty(java.lang.String pLastNameProperty)
Sets the mLastNameProperty |
void |
setLoginProperty(java.lang.String pLoginProperty)
Sets the mLoginProperty |
void |
setMaxSearchResults(java.lang.String pMaxSearchResults)
Sets the mMaxSearchResults |
void |
setMaxSearchResultsPerPage(java.lang.String pMaxSearchResultsPerPage)
Sets the mMaxSearchResultsPerPage |
void |
setOrderIdProperty(java.lang.String pOrderIdProperty)
Sets the mOrderIdProperty |
void |
setOrderStatusProperty(java.lang.String pOrderStatusProperty)
Sets the mOrderStatusProperty |
void |
setPaymentGroupsProperty(java.lang.String pPaymentGroupsProperty)
Sets the mPaymentGroupsProperty |
void |
setShippingGroupsProperty(java.lang.String pShippingGroupsProperty)
Sets the mShippingGroupsProperty |
void |
setSubmittedDateProperty(java.lang.String pSubmittedDateProperty)
Sets the mSubmittedDate |
Methods inherited from class atg.svc.agent.ui.formhandlers.SearchFormHandler |
---|
getAgentSearchRequestTrackerPath, setAgentSearchRequestTrackerPath |
Methods inherited from class atg.search.formhandlers.TreeQueryFormHandler |
---|
getPreviousSearchRequest, stringToRequest |
Methods inherited from class atg.search.formhandlers.PagedRequestFormHandler |
---|
beforeSearch, getGoToPage, getPagesAvailable, handleGoToPage, setGoToPage |
Methods inherited from class atg.search.formhandlers.BaseSearchFormHandler |
---|
createSearchSession, doRedirect, doRedirect, getClearFormURL, getEnvironmentTargets, getErrorURL, getLogicalPartitionNames, getRedirect, getRedirects, getRequestFile, getResultsFetcher, getSearchAssetTools, getSearchClient, getSearchContext, getSearchException, getSearchExceptions, getSearchRedirectProcessors, getSearchRequest, getSearchRequestProcessors, getSearchResponse, getSearchResponseProcessors, getSearchSession, getSuccessURL, getSuccessURLDynamicParams, getUserProfile, handleConnect, handleErrorCondition, handleLoad, handleLoadAndSearch, handleSearch, isForceDeployedOnlyAssets, isLoggingVerboseResponseXML, isPageRequest, isRedirectEnabled, isShowDetailedResults, isShowXml, search, setClearFormURL, setErrorURL, setForceDeployedOnlyAssets, setLoggingVerboseResponseXML, setPageRequest, setRedirectEnabled, setRequestFile, setResultsFetcher, setSearchAssetTools, setSearchContext, setSearchExceptions, setSearchRedirectProcessors, setSearchRequest, setSearchRequestProcessors, setSearchResponse, setSearchResponseProcessors, setShowDetailedResults, setShowXml, setSuccessURL, setSuccessURLDynamicParams, setUserProfile |
Methods inherited from class atg.droplet.GenericFormHandler |
---|
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, setUseForwards |
Methods inherited from class atg.droplet.EmptyFormHandler |
---|
afterGet, beforeGet |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, 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, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public OrderSearchTreeQueryFormHandler()
Method Detail |
---|
public java.lang.String getMaxSearchResults()
public void setMaxSearchResults(java.lang.String pMaxSearchResults)
public java.lang.String getMaxSearchResultsPerPage()
public void setMaxSearchResultsPerPage(java.lang.String pMaxSearchResultsPerPage)
public java.lang.String getAddressPicker()
public void setAddressPicker(java.lang.String pAddressPicker)
public boolean isAdvancedSearch()
public void setAdvancedSearch(boolean pIsAdvancedSearch)
public java.lang.String getFirstNameProperty()
public void setFirstNameProperty(java.lang.String pFirstNameProperty)
public java.lang.String getLastNameProperty()
public void setLastNameProperty(java.lang.String pLastNameProperty)
public java.lang.String getLoginProperty()
public void setLoginProperty(java.lang.String pLoginProperty)
public java.lang.String getEmailProperty()
public void setEmailProperty(java.lang.String pEmailProperty)
public java.lang.String getOrderIdProperty()
public void setOrderIdProperty(java.lang.String pOrderIdProperty)
public java.lang.String getContainsSKUProperty()
public void setContainsSKUProperty(java.lang.String pContainsSKUProperty)
public java.lang.String getOrderStatusProperty()
public void setOrderStatusProperty(java.lang.String pOrderStatusProperty)
public java.lang.String getSubmittedDateProperty()
public void setSubmittedDateProperty(java.lang.String pSubmittedDateProperty)
public java.lang.String getAdvancedFirstNameProperty()
public void setAdvancedFirstNameProperty(java.lang.String pAdvancedFirstNameProperty)
public java.lang.String getAdvancedLastNameProperty()
public void setAdvancedLastNameProperty(java.lang.String pAdvancedLastNameProperty)
public java.lang.String getAdvancedCountryProperty()
public void setAdvancedCountryProperty(java.lang.String pAdvancedCountryProperty)
public java.lang.String getAdvancedAddressLine1Property()
public void setAdvancedAddressLine1Property(java.lang.String pAdvancedAddressLine1Property)
public java.lang.String getAdvancedAddressLine2Property()
public void setAdvancedAddressLine2Property(java.lang.String pAdvancedAddressLine2Property)
public java.lang.String getAdvancedCityProperty()
public void setAdvancedCityProperty(java.lang.String pAdvancedCityProperty)
public java.lang.String getAdvancedStateProperty()
public void setAdvancedStateProperty(java.lang.String pAdvancedStateProperty)
public java.lang.String getAdvancedPostalCodeProperty()
public void setAdvancedPostalCodeProperty(java.lang.String pAdvancedPostalCodeProperty)
public java.lang.String getAdvancedPhoneProperty()
public void setAdvancedPhoneProperty(java.lang.String pAdvancedPhoneProperty)
public java.lang.String getPaymentGroupsProperty()
public void setPaymentGroupsProperty(java.lang.String pPaymentGroupsProperty)
public java.lang.String getShippingGroupsProperty()
public void setShippingGroupsProperty(java.lang.String pShippingGroupsProperty)
protected atg.search.routing.command.search.SearchResponse afterSearch(atg.search.routing.command.search.SearchRequest pRequest, atg.search.routing.command.search.SearchResponse pResults, atg.search.client.SearchSession pSession)
afterSearch
in class atg.svc.agent.ui.formhandlers.SearchFormHandler
pRequest
- the client query requestpResults
- the search resultspSession
- the search session
public boolean handleClearForm(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
handleClearForm
in class atg.search.formhandlers.BaseSearchFormHandler
pRequest
- the dynamo requestpResponse
- the dynamo response
javax.servlet.ServletException
java.io.IOException
BaseSearchFormHandler.setClearFormURL(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |