java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.RelatedCatalogEntryAccessBean | +--com.ibm.commerce.catalog.beans.RelatedItemDataBean
This bean represents a related Item.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
Constructor Summary | |
---|---|
RelatedItemDataBean() Creates an empty RelatedItemDataBean . | |
RelatedItemDataBean(
RelatedCatalogEntryAccessBean abRelCatEntry) Creates a RelatedItemDataBean from a
RelatedCatalogEntryAccessBean . | |
RelatedItemDataBean(
RelatedCatalogEntryAccessBean abRelCatEntry,
CommandContext aCommandContext) Creates a RelatedItemDataBean from a
RelatedCatalogEntryAccessBean and a command
context. |
Method Summary | |
---|---|
ItemDataBean |
getItem() Returns a bean that represents the related Item. |
protected
void |
setCommandContext(
CommandContext aCommandContext) Sets the command context. |
void |
setItem(
ItemDataBean abnItem) Sets the related Item. |
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 RelatedItemDataBean()
RelatedItemDataBean
.
public RelatedItemDataBean(RelatedCatalogEntryAccessBean abRelCatEntry) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
RelatedItemDataBean
from a
RelatedCatalogEntryAccessBean
.
abRelCatEntry
- the related catalog entry access bean.java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public RelatedItemDataBean(RelatedCatalogEntryAccessBean abRelCatEntry, CommandContext aCommandContext) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
RelatedItemDataBean
from a
RelatedCatalogEntryAccessBean
and a command context.
abRelCatEntry
- the related catalog entry access bean.aCommandContext
- the command context.java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
Method Detail |
---|
public ItemDataBean getItem() throws javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
protected void setCommandContext(CommandContext aCommandContext)
aCommandContext
- the command context.public void setItem(ItemDataBean abnItem)
abnItem
- the related Item.