com.ibm.commerce.catalog.beans
Class RelatedItemDataBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.catalog.objects.RelatedCatalogEntryAccessBean
              |
              +--com.ibm.commerce.catalog.beans.RelatedItemDataBean
All Implemented Interfaces:
RelatedCatalogEntryAccessBeanData

public class RelatedItemDataBean
extends RelatedCatalogEntryAccessBean

This bean represents a related Item.

See Also:
Serialized Form

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 com.ibm.commerce.catalog.objects. RelatedCatalogEntryAccessBean
commitCopyHelper, defaultJNDIName, findByCatalogEntryAccessories, findByCatalogEntryAccessoriesAndStore, findByCatalogEntryAccessory, findByCatalogEntryAccessoryAndStore, findByCatalogEntryAccessoryWithSemantic, findByCatalogEntryAccessoryWithSemanticAndStore, findByCatalogEntryAndMAssocTypeAndStore, findByCatalogEntryAndMAssocTypeAndStore, findByCatalogEntryAndStore, findByCatalogEntryCrossSell, findByCatalogEntryCrossSellAndStore, findByCatalogEntryCrossSells, findByCatalogEntryCrossSellsAndStore, findByCatalogEntryCrossSellWithSemantic, findByCatalogEntryCrossSellWithSemanticAndStore, findByCatalogEntryUpSell, findByCatalogEntryUpSellAndStore, findByCatalogEntryUpSells, findByCatalogEntryUpSellsAndStore, findByCatalogEntryUpSellWithSemantic, findByCatalogEntryUpSellWithSemanticAndStore, findByCatalogEntryWithSemanticAndMAssocTypeAndStore, findWithPushDownQuery, getAssociationReferenceNumber, getAssociationType, getDate1, getField1, getField2, getField2InEJBType, getField3, getField3InEJBType, getFromCatalogEntryReferenceNumber, getFromCatalogEntryReferenceNumberInEJBType, getGroupName, getOid, getQuantity, getQuantityInEJBType, getRank, getRankInEJBType, getRelatedCatalogEntry, getRule, getSemanticSpecifier, getStoreId, getToCatalogEntryReferenceNumber, getToCatalogEntryReferenceNumberInEJBType, instantiateEJB, instantiateEJBByPrimaryKey, refreshCopyHelper, setAssociationType, setDate1, setField1, setField2, setField2, setField3, setField3, setFromCatalogEntryReferenceNumber, setFromCatalogEntryReferenceNumber, setGroupName, setInitKey_associationReferenceNumber, setOid, setQuantity, setQuantity, setRank, setRank, setRule, setSemanticSpecifier, setStoreId, setToCatalogEntryReferenceNumber, setToCatalogEntryReferenceNumber
 
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
The internal copyright field.
See Also:
Constant Field Values
Constructor Detail

RelatedItemDataBean

public RelatedItemDataBean()
Creates an empty RelatedItemDataBean.

RelatedItemDataBean

public RelatedItemDataBean(RelatedCatalogEntryAccessBean abRelCatEntry)
                    throws java.rmi.RemoteException,
                           javax.ejb.FinderException,
                           javax.naming.NamingException,
                           javax.ejb.CreateException
Creates a RelatedItemDataBean from a RelatedCatalogEntryAccessBean.
Parameters:
abRelCatEntry - the related catalog entry access bean.
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

RelatedItemDataBean

public RelatedItemDataBean(RelatedCatalogEntryAccessBean abRelCatEntry,
CommandContext aCommandContext)
                    throws java.rmi.RemoteException,
                           javax.ejb.FinderException,
                           javax.naming.NamingException,
                           javax.ejb.CreateException
Creates a RelatedItemDataBean from a RelatedCatalogEntryAccessBean and a command context.
Parameters:
abRelCatEntry - the related catalog entry access bean.
aCommandContext - the command context.
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
Method Detail

getItem

public ItemDataBean getItem()
                     throws javax.ejb.FinderException,
                            javax.naming.NamingException,
                            javax.ejb.CreateException,
                            java.rmi.RemoteException
Returns a bean that represents the related Item.
Returns:
the related Item.
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCommandContext

protected void setCommandContext(CommandContext aCommandContext)
Sets the command context.
Parameters:
aCommandContext - the command context.

setItem

public void setItem(ItemDataBean abnItem)
Sets the related Item.
Parameters:
abnItem - the related Item.