public class ProcSetCategory
extends 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
|
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.
|
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.The
- pipeline args