atg.projects.store.gifts
Class InternationalSearchFormHandler

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.droplet.EmptyFormHandler
              extended by atg.droplet.GenericFormHandler
                  extended by atg.commerce.gifts.SearchFormHandler
                      extended by atg.projects.store.gifts.StoreSearchFormHandler
                          extended by atg.projects.store.gifts.InternationalSearchFormHandler
All Implemented Interfaces:
atg.droplet.DropletFormHandler, atg.naming.NameContextBindingListener, atg.naming.NameContextElement, atg.naming.NameResolver, atg.nucleus.AdminableService, atg.nucleus.logging.ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, atg.nucleus.naming.ComponentNameResolver, atg.nucleus.Service, atg.nucleus.ServiceListener, java.util.EventListener

public class InternationalSearchFormHandler
extends StoreSearchFormHandler

Store extension of the SearchFormHandler from DCS. Filters giftslists with non-shippable addresses.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string.
protected  atg.projects.store.multisite.InternationalStoreSitePropertiesManager mStoreSitePropertiesManager
           
 
Fields inherited from class atg.projects.store.gifts.StoreSearchFormHandler
MSG_EMPTY_FIRST_LAST_NAME
 
Fields inherited from class atg.commerce.gifts.SearchFormHandler
ALL, CURRENT, mCurrentPage, mFirstNamePropertyName, mLastNamePropertyName, mResultsPerPage, mSearchErrorURL, mSearchSuccessURL, mSortCaseSensitive, mSortDirection, mSortField, mTotalItemCount, mUseContainsForNames, SORT_DIRECTION_ASCENDING, SORT_DIRECTION_DESCENDING
 
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
InternationalSearchFormHandler()
           
 
Method Summary
 atg.projects.store.multisite.InternationalStoreSitePropertiesManager getStoreSitePropertiesManager()
           
 void postSearch(atg.servlet.DynamoHttpServletRequest pDynamoHttpServletRequest, atg.servlet.DynamoHttpServletResponse pDynamoHttpServletResponse)
          Remove any giftlist whose shipping addresses are non-shippable from the current country store.
 void setStoreSitePropertiesManager(atg.projects.store.multisite.InternationalStoreSitePropertiesManager pStoreSitePropertiesManager)
           
 
Methods inherited from class atg.projects.store.gifts.StoreSearchFormHandler
formatUserMessage, handleClearForm, preSearch, validateSearchInput
 
Methods inherited from class atg.commerce.gifts.SearchFormHandler
buildQueryOptions, buildSortDirectives, calculateEndIndex, calculateStartIndex, doSearch, executeCountQuery, generateAdvancedSearchQuery, generateNameSearchQuery, generatePublishedSearchQuery, generateResultSet, generateSearchQuery, generateSearchValues, generateSiteConstrainedQuery, getAdvancedSearchPropertyNames, getCurrentPage, getFirstNamePropertyName, getGiftlistManager, getGiftlistRepository, getItemTypes, getLastNamePropertyName, getLoggingIdentifier, getNameSearchPropertyNames, getPropertyValues, getPropertyValuesByType, getPublishedSearchPropertyNames, getQueryOptions, getResultsPerPage, getSearchErrorURL, getSearchInput, getSearchResults, getSearchResultsByItemType, getSearchSuccessURL, getSiteGroupManager, getSiteIds, getSiteScope, getSortCaseSensitive, getSortDirection, getSortField, getStatePropertyName, getTotalItemCount, handleSearch, isDoAdvancedSearch, isDoNameSearch, isDoPagedSearch, isDoPublishedSearch, isUseContainsForNames, setAdvancedSearchPropertyNames, setCurrentPage, setDoAdvancedSearch, setDoNameSearch, setDoPagedSearch, setDoPublishedSearch, setFirstNamePropertyName, setGiftlistManager, setGiftlistRepository, setItemTypes, setLastNamePropertyName, setLoggingIdentifier, setNameSearchPropertyNames, setPropertyValues, setPublishedSearchPropertyNames, setQueryOptions, setResultsPerPage, setSearchErrorURL, setSearchInput, setSearchSuccessURL, setSiteGroupManager, setSiteIds, setSiteScope, setSortCaseSensitive, setSortDirection, setSortField, setStatePropertyName, setTotalItemCount, setUseContainsForNames
 
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

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string.

See Also:
Constant Field Values

mStoreSitePropertiesManager

protected atg.projects.store.multisite.InternationalStoreSitePropertiesManager mStoreSitePropertiesManager
Constructor Detail

InternationalSearchFormHandler

public InternationalSearchFormHandler()
Method Detail

getStoreSitePropertiesManager

public atg.projects.store.multisite.InternationalStoreSitePropertiesManager getStoreSitePropertiesManager()
Returns:
the InternationalStoreSitePropertiesManager

setStoreSitePropertiesManager

public void setStoreSitePropertiesManager(atg.projects.store.multisite.InternationalStoreSitePropertiesManager pStoreSitePropertiesManager)
Parameters:
pStoreSitePropertiesManager - the InternationalStoreSitePropertiesManager to set

postSearch

public void postSearch(atg.servlet.DynamoHttpServletRequest pDynamoHttpServletRequest,
                       atg.servlet.DynamoHttpServletResponse pDynamoHttpServletResponse)
                throws javax.servlet.ServletException,
                       java.io.IOException
Remove any giftlist whose shipping addresses are non-shippable from the current country store.

Overrides:
postSearch in class atg.commerce.gifts.SearchFormHandler
Parameters:
pDynamoHttpServletRequest - - http request
pDynamoHttpServletResponse - - http response
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io