public class ProcSetCategory
extends atg.adc.pipeline.SetCategoryProcessor
categoryPages
property, the product category is taken from
a query parameter named in the categoryIdQueryArgs
property.
The page category is determined by atg.adc.pipeline.SetCategorProcessor
.
If the request page includes the <adc:setProductCategory category="something"/>
tag, then that value is always used instead.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
MADE_CHANGE, NO_CHANGE
SERVICE_INFO_KEY
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ProcSetCategory() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
findProductCategory(ADCPipelineArgs pArgs)
TODO Look up the category template by iterating down
the request uri.
|
int |
updateADCData(ADCPipelineArgs pArgs)
Store the product category in the ADCRequestData.
|
doStartService, findCategory, findCategoryId, findQueryArgument, getCategoryIdQueryArgs, getCategoryPagePatterns, getCategoryPages, getCategoryPagesCache, getDefaultCategory, getPageCategories, getPageCategoryCache, getPageCategoryPatternMappings, pathMatchesPattern, setCategoryIdQueryArgs, setCategoryPagePatterns, setCategoryPages, setCategoryPagesCache, setDefaultCategory, setPageCategories, setPageCategoryCache, setPageCategoryPatternMappings
createPatternMappings, findMappingForPath
getRetCodes, isEnabled, runProcess, setEnabled
addLogListener, createAdminServlet, 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, toString
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static final java.lang.String CLASS_VERSION
protected java.lang.String findProductCategory(ADCPipelineArgs pArgs)
pArgs
- The pipeline argspublic int updateADCData(ADCPipelineArgs pArgs)
<adc:setProductCategory category="something"/>
tag, then that value is used. Otherwise, the categoryIdQueryArgs are searched for.updateADCData
in class atg.adc.pipeline.SetCategoryProcessor
The
- pipeline args