public class UserInterestItemListDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
UserInterestItemListDataBean()
UserInterestItemListDataBean default constructor.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Gets the command context.
|
int |
getNumOfLists()
Gets the number of the interest items in the list.
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets the request properties.
|
com.ibm.commerce.catalog.beans.InterestItemListDataBean[] |
getUserInterestItemListDataBeans()
Gets the request properties.
|
void |
populate()
Retrieve the current interest list for the user.
|
void |
setCommandContext(com.ibm.commerce.command.CommandContext commandContext)
Sets the command context.
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
Sets the request properties.
|
void |
setStoreEntityId(java.lang.Integer storeEntityId)
Sets the store entity id on the bean.
|
public static final java.lang.String COPYRIGHT
public UserInterestItemListDataBean()
public com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
public int getNumOfLists()
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
public com.ibm.commerce.catalog.beans.InterestItemListDataBean[] getUserInterestItemListDataBeans()
public void populate() throws java.lang.Exception
Loads data into the data bean when the DataBeanManager.activate()
runs.
populate
in interface com.ibm.commerce.beans.SmartDataBean
java.lang.Exception
- The java.lang.Exception exception.public void setCommandContext(com.ibm.commerce.command.CommandContext commandContext)
setCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
commandContext
- The command contextpublic void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
setRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
param
- The request propertiespublic void setStoreEntityId(java.lang.Integer storeEntityId)
storeEntityId
- The store entity id that the list of interest items should be scoped to.