public class CatalogEntryHelperDataBean extends java.lang.Object implements SmartDataBean, InputDataBean
This helper bean accepts a comma separated list of catalog entry ids and then can return the list of distinct attributes (defining, descriptive and features) for these products.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
protected CommandContext | iCommandContext
The command context.
|
protected TypedProperty | requestProperties
The request properties.
|
Constructor and Description |
---|
CatalogEntryHelperDataBean() |
Modifier and Type | Method and Description |
---|---|
java.util.HashMap | getAttributeValueHashMap()
Get a map of all the attribute values for the catalog entries set in the bean.
|
java.lang.String | getCatalogEntryId()
Get the catalog entry id comma separated list.
|
CommandContext | getCommandContext()
Gets the command context set within this bean.
|
java.lang.String[] | getDistinctDefiningAttributeNames()
Get the list of distinct defining attributes for the product.
|
java.lang.String[] | getDistinctDescriptiveAttributeNames()
Get the list of distinct descriptive attributes for the product.
|
java.lang.String[] | getDistinctFeatureNames()
Get the list of distinct feature attributes for the product.
|
TypedProperty | getRequestProperties()
Gets the request property set within this bean.
|
java.lang.Integer | getStoreId()
Get the store id.
|
void | populate()
Loads data into the data bean when the DataBeanManager.activate() runs.
|
void | setCatalogEntryId(java.lang.String inCatEntryId)
Set the list of catalog entry ids to retrieve the list of attributes for.
|
void | setCommandContext(CommandContext commandContext)
Sets the command context within this bean.
|
void | setRequestProperties(TypedProperty aRequestProperty)
Sets the request property within this bean.
|
void | setStoreId(java.lang.Integer integer)
Set the store id.
|
public static final java.lang.String COPYRIGHT
protected CommandContext iCommandContext
protected TypedProperty requestProperties
public void setRequestProperties(TypedProperty aRequestProperty) throws java.lang.Exception
public java.util.HashMap getAttributeValueHashMap()
public java.lang.Integer getStoreId()
public void setStoreId(java.lang.Integer integer)
public CommandContext getCommandContext()
public void populate() throws java.lang.Exception
public void setCommandContext(CommandContext commandContext)
public TypedProperty getRequestProperties()
public java.lang.String getCatalogEntryId()
public void setCatalogEntryId(java.lang.String inCatEntryId)
public java.lang.String[] getDistinctDefiningAttributeNames()
public java.lang.String[] getDistinctDescriptiveAttributeNames()
public java.lang.String[] getDistinctFeatureNames()