java.lang.Object | +--com.ibm.commerce.catalog.beansrc.InterestItemListDataBeanBase | +--com.ibm.commerce.catalog.beans.InterestItemListDataBean
The bean represents an interest list for a user. This bean maps to the table IITEMLIST.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
Constructor Summary | |
---|---|
InterestItemListDataBean() InterestItemListDataBean default constructor. | |
InterestItemListDataBean(
InterestItemListAccessBean abList,
CommandContext c) InterestItemListDataBean constructor. |
Method Summary | |
---|---|
CommandContext |
getCommandContext() Gets the command context. |
InterestItemDataBean |
getItem(int index) Gets the interest item at the specified index. |
java.lang.String |
getListId() Gets the list ID of the InterestItemList. |
int |
getNumOfItems() Gets the number of the interest items in the list. |
TypedProperty |
getRequestProperties() Gets the request properties. |
boolean |
isCurrentList() Checks if this list is the current list for the user as defined in table CIITEMLIST. |
void |
populate() Populates the bean with data. |
void |
setCommandContext(
CommandContext commandContext) Sets the command context. |
void |
setItem(int index,
InterestItemDataBean item) Sets the specified interest item at the specified position in the list. |
void |
setListId(java.lang.String newList_rn) Sets the primary key for the list. |
void |
setRequestProperties(
TypedProperty param) Sets the request properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public InterestItemListDataBean()
public InterestItemListDataBean(InterestItemListAccessBean abList, CommandContext c) throws java.lang.Exception
abList
- the primary key of the interest item listc
- the command contextMethod Detail |
---|
public CommandContext getCommandContext()
public InterestItemDataBean getItem(int index)
public java.lang.String getListId()
public int getNumOfItems()
public TypedProperty getRequestProperties()
public boolean isCurrentList() throws java.lang.Exception
java.lang.Exception
public void populate() throws java.lang.Exception
java.lang.Exception
public void setCommandContext(CommandContext commandContext)
commandContext
- the command contextpublic void setItem(int index, InterestItemDataBean item)
index
- the position of insertionitem
- the interest item to be insertedpublic void setListId(java.lang.String newList_rn)
newList_rn
- the primary key of the listpublic void setRequestProperties(TypedProperty param)
param
- the request properties