com.ibm.commerce.catalog.beans
Class CompositeProductDataBean
java.lang.Object
com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.CompositeCatalogEntryAccessBean
com.ibm.commerce.catalog.beans.CompositeProductDataBean
- All Implemented Interfaces:
- CompositeCatalogEntryAccessBeanData
- public class CompositeProductDataBean
- extends CompositeCatalogEntryAccessBean
This bean represents a composite Product.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
Methods inherited from class com.ibm.commerce.catalog.objects.CompositeCatalogEntryAccessBean |
commitCopyHelper, defaultJNDIName, findBundleComponents, findPackageComponents, getCompositeCatalogEntry, getField1, getField2, getField2InEJBType, getField3, getField3InEJBType, getFromCatalogEntryReferenceNumber, getFromCatalogEntryReferenceNumberInEJBType, getGroupName, getOid, getQuantityInEJBType, getToCatalogEntryReferenceNumber, getToCatalogEntryReferenceNumberInEJBType, instantiateEJB, instantiateEJBByPrimaryKey, refreshCopyHelper, setField1, setField2, setField2, setField3, setField3, setFromCatalogEntryReferenceNumber, setFromCatalogEntryReferenceNumber, setGroupName, setInitKey_fromCatalogEntryReferenceNumber, setInitKey_relationship_type, setInitKey_toCatalogEntryReferenceNumber, setOid, setQuantity, setQuantity, setToCatalogEntryReferenceNumber, setToCatalogEntryReferenceNumber |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The internal copyright field.
- See Also:
- Constant Field Values
CompositeProductDataBean
public CompositeProductDataBean()
- Constructs an empty CompositeProductDataBean.
CompositeProductDataBean
public CompositeProductDataBean(CompositeCatalogEntryAccessBean abCompCatEntry)
throws java.rmi.RemoteException,
javax.ejb.FinderException,
javax.naming.NamingException,
javax.ejb.CreateException
- Constructs a CompositeProductDataBean from a CompositeCatalogEntryAccessBean.
- Parameters:
- abCompCatEntry - The CompositeCatalogEntryAccessBean.
- Throws:
- CreateException - In the execution of the method, a create exception occurs.
- FinderException - In the execution of the method, a finder exception occurs.
- NamingException - In the execution of the method, a naming exception occurs.
- RemoteException - In the execution of the method, a remote exception occurs.
CompositeProductDataBean
public CompositeProductDataBean(CompositeCatalogEntryAccessBean abCompCatEntry,
CommandContext aCommandContext)
throws java.rmi.RemoteException,
javax.ejb.FinderException,
javax.naming.NamingException,
javax.ejb.CreateException
- Constructs a CompositeProductDataBean from a CompositeCatalogEntryAccessBean and a command context.
- Parameters:
- abCompCatEntry - The CompositeCatalogEntryAccessBean.
- aCommandContext - The command context as CommandContext object.
- Throws:
- CreateException - In the execution of the method, a create exception occurs.
- FinderException - In the execution of the method, a finder exception occurs.
- NamingException - In the execution of the method, a naming exception occurs.
- RemoteException - In the execution of the method, a remote exception occurs.
getProduct
public ProductDataBean getProduct()
throws javax.ejb.FinderException,
javax.naming.NamingException,
javax.ejb.CreateException,
java.rmi.RemoteException
- Gets a bean that represents the composed product.
-
- Returns:
- The ProductDataBean.
- Throws:
- CreateException - In the execution of the method, a create exception occurs.
- FinderException - In the execution of the method, a finder exception occurs.
- NamingException - In the execution of the method, a naming exception occurs.
- RemoteException - In the execution of the method, a remote exception occurs.
getQuantity
public java.lang.String getQuantity()
throws javax.ejb.FinderException,
javax.naming.NamingException,
javax.ejb.CreateException,
java.rmi.RemoteException
- Gets the quantity of composite products.
-
- Specified by:
- getQuantity in interface CompositeCatalogEntryAccessBeanData
- Overrides:
- getQuantity in class CompositeCatalogEntryAccessBean
-
- Returns:
- The quantity of composite products.
- Throws:
- CreateException - In the execution of the method, a create exception occurs.
- FinderException - In the execution of the method, a finder exception occurs.
- NamingException - In the execution of the method, a naming exception occurs.
- RemoteException - In the execution of the method, a remote exception occurs.
- java.rmi.RemoteException
- javax.naming.NamingException
setCommandContext
protected void setCommandContext(CommandContext aCommandContext)
- Sets the command context passed in at run time.
-
- Parameters:
- aCommandContext - The command context as CommandContext object.
setProduct
public void setProduct(ProductDataBean abnProduct)
- Sets the composed product.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.