public class InterestItemListDataBean
extends com.ibm.commerce.catalog.beansrc.InterestItemListDataBeanBase
implements com.ibm.commerce.catalog.beans.InterestItemListInputDataBean, com.ibm.commerce.catalog.beans.InterestItemListSmartDataBean
You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.
Access Beans: InterestItemList
Some hints and tips for using this data bean are:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
emptyString
Constructor and Description |
---|
InterestItemListDataBean()
InterestItemListDataBean default constructor.
|
InterestItemListDataBean(InterestItemListAccessBean abList,
CommandContext c)
InterestItemListDataBean constructor.
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
Gets the command context.
|
InterestItemDataBean[] |
getInterestItemDataBeans()
Returns the array of InterestItemDataBeans
|
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 CIITEMLIST database table.
|
void |
populate()
Loads data into the data bean when the
DataBeanManager.activate() runs. |
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.
|
void |
setStoreEntityId(java.lang.Integer storeEntityId)
Sets the store entity id on the bean.
|
getDelegate
addInterestItem, addToCurrentUserList, findByMaximumDisplaySequenceNumber, findCurrentListsForUser, findListsForUser, findNewestListForUser, findWithPushDownQuery, fulfills, getDescription, getDisplaySequenceNumber, getDisplaySequenceNumberInEntityType, getEntity, getInterestItems, getInterestListNumber, getInterestListNumberInEntityType, getLastChangeTime, getLastChangeTimeInEntityType, getOwner, getUserReferenceNumber, getUserReferenceNumberInEntityType, instantiateEntity, removeFromCurrentUserList, removeInterestItem, setDescription, setDisplaySequenceNumber, setDisplaySequenceNumber, setInitKey_interestListNumber, setInitKey_interestListNumber, setInterestListNumber, setInterestListNumber, setLastChangeTime, setLastChangeTime, setUserReferenceNumber, setUserReferenceNumber
createAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public InterestItemListDataBean()
public InterestItemListDataBean(InterestItemListAccessBean abList, CommandContext c)
abList
- the primary key of the interest item listc
- the command contextpublic CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public InterestItemDataBean getItem(int index)
getItem
in interface com.ibm.commerce.catalog.beans.InterestItemListSmartDataBean
public java.lang.String getListId()
getListId
in interface com.ibm.commerce.catalog.beans.InterestItemListSmartDataBean
public int getNumOfItems()
getNumOfItems
in interface com.ibm.commerce.catalog.beans.InterestItemListSmartDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public boolean isCurrentList()
isCurrentList
in interface com.ibm.commerce.catalog.beans.InterestItemListSmartDataBean
public void populate()
DataBeanManager.activate()
runs.populate
in interface SmartDataBean
java.lang.Exception
public void setCommandContext(CommandContext commandContext)
setCommandContext
in interface SmartDataBean
commandContext
- the command contextpublic void setItem(int index, InterestItemDataBean item)
setItem
in interface com.ibm.commerce.catalog.beans.InterestItemListInputDataBean
index
- the position of insertionitem
- the interest item to be insertedpublic void setListId(java.lang.String newList_rn)
setListId
in interface com.ibm.commerce.catalog.beans.InterestItemListInputDataBean
newList_rn
- the primary key of the listpublic void setRequestProperties(TypedProperty param)
setRequestProperties
in interface InputDataBean
param
- the request propertiespublic InterestItemDataBean[] getInterestItemDataBeans()
public void setStoreEntityId(java.lang.Integer storeEntityId)
storeEntityId
- the store entity id that the list of interest items should be applied to.