public class CatalogEntryHelperDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.beans.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.
|
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.
|
com.ibm.commerce.command.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.
|
com.ibm.commerce.datatype.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(com.ibm.commerce.command.CommandContext commandContext)
Sets the command context within this bean.
|
void |
setRequestProperties(com.ibm.commerce.datatype.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
public java.util.HashMap getAttributeValueHashMap()
public java.lang.String getCatalogEntryId()
public com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
public java.lang.String[] getDistinctDefiningAttributeNames()
public java.lang.String[] getDistinctDescriptiveAttributeNames()
public java.lang.String[] getDistinctFeatureNames()
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
public java.lang.Integer getStoreId()
public void populate() throws java.lang.Exception
DataBeanManager.activate()
runs.populate
in interface com.ibm.commerce.beans.SmartDataBean
java.lang.Exception
- The java.lang.Exception exception.public void setCatalogEntryId(java.lang.String inCatEntryId)
inCatEntryId
- A comma separated list of catalog entry ids.public void setCommandContext(com.ibm.commerce.command.CommandContext commandContext)
setCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
commandContext
- The command context set within this bean.public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty) throws java.lang.Exception
setRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
aRequestProperty
- The request property set within this bean.java.lang.Exception
- The exception object.public void setStoreId(java.lang.Integer integer)
integer
- The store id.