public class CategoryRelatedProductsContentItem
extends com.endeca.infront.assembler.BasicContentItem
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CATEGORY_ID
The cartridge categoryId property name
|
protected static java.lang.String |
CLASS_VERSION
Class version string.
|
static int |
DEFAULT_NUMBER_OF_RECORDS
The default value for the numberOfRecords property.
|
static java.lang.String |
NUMBER_OF_RECORDS
The cartridge numberOfRecords property name
|
static java.lang.String |
RELATED_PRODUCTS
The cartridge relatedProducts property name
|
Constructor and Description |
---|
CategoryRelatedProductsContentItem(com.endeca.infront.assembler.ContentItem pConfig)
Construct a CategoryRelatedProductsContentItem from the pConfig passed in.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategoryId() |
int |
getNumberOfRecords() |
java.util.List<atg.repository.RepositoryItem> |
getRelatedProducts() |
void |
setCategoryId(java.lang.String pCategoryId) |
void |
setNumberOfRecords(int pNumberOfRecords) |
void |
setRelatedProducts(java.util.List<atg.repository.RepositoryItem> pRelatedProducts) |
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty, setType
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
protected static final java.lang.String CLASS_VERSION
public static final java.lang.String NUMBER_OF_RECORDS
public static final java.lang.String CATEGORY_ID
public static final java.lang.String RELATED_PRODUCTS
public static final int DEFAULT_NUMBER_OF_RECORDS
public CategoryRelatedProductsContentItem(com.endeca.infront.assembler.ContentItem pConfig)
pConfig
- ContentItem content item configuration.public int getNumberOfRecords()
public void setNumberOfRecords(int pNumberOfRecords)
pNumberOfRecords
- - The number of records to display in the cartridge.public java.lang.String getCategoryId()
public void setCategoryId(java.lang.String pCategoryId)
pCategoryId
- - The category ID for which the related products should be displayed.public java.util.List<atg.repository.RepositoryItem> getRelatedProducts()
public void setRelatedProducts(java.util.List<atg.repository.RepositoryItem> pRelatedProducts)
pRelatedProducts
- - The list of category's related products.