|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.droplet.EmptyFormHandler atg.droplet.GenericFormHandler atg.repository.servlet.SearchFormHandler atg.commerce.catalog.SearchFormHandler atg.commerce.catalog.custom.FilteringSearchFormHandler
public class FilteringSearchFormHandler
Overrides the custom catalog search form handler when in development mode to filter items by catalogs in post query processing
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected java.lang.String[] |
mCatalogs
Array of catalog ids |
Fields inherited from class atg.commerce.catalog.SearchFormHandler |
---|
INVALID_PRICE, mLastCatalogKey, PRICE_PROPERTY_NOT_SET |
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 | |
---|---|
FilteringSearchFormHandler()
|
Method Summary | |
---|---|
protected java.util.Collection |
generateResultSet(java.lang.String pItemType)
override of generateResultSet that calls the super methods, but then filters out items based on catalog |
java.lang.String[] |
getCatalogs()
Gets an array of catalog ids to filter the search by |
void |
setCatalogs(java.lang.String[] pCatalogs)
Sets an array of catalog ids to filter the search by |
Methods inherited from class atg.droplet.EmptyFormHandler |
---|
afterGet |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, 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
protected java.lang.String[] mCatalogs
Constructor Detail |
---|
public FilteringSearchFormHandler()
Method Detail |
---|
public java.lang.String[] getCatalogs()
public void setCatalogs(java.lang.String[] pCatalogs)
pCatalogs
- the array of catalog idsprotected java.util.Collection generateResultSet(java.lang.String pItemType)
generateResultSet
in class SearchFormHandler
pItemType
- the type of item to search for.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |