com.ibm.commerce.catalog.beans
Class RelatedProductDataBean

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

public class RelatedProductDataBean
extends RelatedCatalogEntryAccessBean

This bean represents a related Product.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
 
Constructor Summary
RelatedProductDataBean()
          Creates an empty RelatedProductDataBean.
RelatedProductDataBean( RelatedCatalogEntryAccessBean abRelCatEntry)
          Creates a RelatedProductDataBean from a RelatedCatalogEntryAccessBean.
RelatedProductDataBean( RelatedCatalogEntryAccessBean abRelCatEntry, CommandContext aCommandContext)
          Creates a RelatedProductDataBean from a RelatedCatalogEntryAccessBean and a command context.
 
Method Summary
  ProductDataBean getProduct()
          Returns a bean that represents the related Product.
protected  void setCommandContext( CommandContext aCommandContext)
          Sets the command context.
 void setProduct( ProductDataBean abnProduct)
          Sets the related Product.
 
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

RelatedProductDataBean

public RelatedProductDataBean()
Creates an empty RelatedProductDataBean.

RelatedProductDataBean

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

RelatedProductDataBean

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

getProduct

public ProductDataBean getProduct()
                           throws javax.ejb.FinderException,
                                  javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  java.rmi.RemoteException
Returns a bean that represents the related Product.
Returns:
the related Product.
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.

setProduct

public void setProduct(ProductDataBean abnProduct)
Sets the related Product.
Parameters:
abnProduct - the related Product.