com.ibm.commerce.catalog.beans
Class DynamicKitDataBean

com.ibm.commerce.catalog.beans.DynamicKitDataBean

public class DynamicKitDataBean

This data bean represents a Dynamic Kit


Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
 
Constructor Summary
DynamicKitDataBean()
          Creates an empty DynamicKitDataBean.
DynamicKitDataBean(CatalogEntryAccessBean abCatentry)
          Creates a DynamicKitDataBean from a CatalogEntryAccessBean
DynamicKitDataBean(CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext)
          Creates a DynamicKitDataBean from a CatalogEntryAccessBean and a CommandContext
 
Method Summary
 com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleAccessories()
          Returns a list of beans that represent bundles that are accessories to this DynamicKit
 com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleCrossSells()
          Returns a list of beans that represent bundles that are cross-sells to this DynamicKit
 com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleUpSells()
          Returns a list of beans that represent bundles that are up-sells to this DynamicKit
 CommandContext getCommandContext()
          Returns the current command's context passed in at runtime
 CatalogEntryDescriptionAccessBean getDescription()
          Returns a bean representing descriptive information about this DynamicKit
 java.lang.String getDynamicKitID()
          Returns the DynamicKit Id that represents the primary key for this DynamicKit
 com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemAccessories()
          Returns a list of beans that represent items that are accessories to this DynamicKit
 com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemCrossSells()
          Returns a list of beans that represent items that are cross-sells to this DynamicKit
 com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemUpSells()
          Returns a list of beans that represent items that are up-sells to this DynamicKit
 com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageAccessories()
          Returns a list of beans that represent packages that are accessories to this DynamicKit
 com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageCrossSells()
          Returns a list of beans that represent packages that are cross-sells to this DynamicKit
 com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageUpSells()
          Returns a list of beans that represent packages that are up-sells to this DynamicKit
 java.lang.String getPartNumber()
          Returns the part (SKU) number of the DynamicKit
 com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductAccessories()
          Returns a list of beans that represent products that are accessories to this DynamicKit
 com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductCrossSells()
          Returns a list of beans that represent products that are cross-sells to this DynamicKit
 com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductUpSells()
          Returns a list of beans that represent products that are up-sells to this DynamicKit
 TypedProperty getRequestProperties()
          Returns the request properties
 void populate()
          Fetches and populates information needed by the bean.
 void setCommandContext(CommandContext aCommandContext)
          Sets the command context passed in at runtime
 void setDynamicKitID(java.lang.String astrDynamicKitId)
          Sets the item Id that represents the primary key for this DynamicKit
 void setPartNumber(java.lang.String astrDynamicKitPartNumber)
          Sets the DynamicKit part (SKU) number
 void setRequestProperties(TypedProperty aParam)
          Sets the request properties and populates the parameters that are needed by the bean
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.
Constructor Detail

DynamicKitDataBean

public DynamicKitDataBean()
Creates an empty DynamicKitDataBean.

DynamicKitDataBean

public DynamicKitDataBean(CatalogEntryAccessBean abCatentry)
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException,
                          javax.ejb.FinderException,
                          javax.naming.NamingException
Creates a DynamicKitDataBean from a CatalogEntryAccessBean
Parameters:
abCatentry - com.ibm.commerce.catalog.objects.CatalogEntryAccessBean

DynamicKitDataBean

public DynamicKitDataBean(CatalogEntryAccessBean abCatEntry,
                          CommandContext aCommandContext)
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException,
                          javax.ejb.FinderException,
                          javax.naming.NamingException
Creates a DynamicKitDataBean from a CatalogEntryAccessBean and a CommandContext
Parameters:
abCatEntry - com.ibm.commerce.catalog.objects.CatalogEntryAccessBean
aCommandContext - com.ibm.commerce.command.CommandContext
Method Detail

getBundleAccessories

public com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleAccessories()
                                                                            throws ECException
Returns a list of beans that represent bundles that are accessories to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedBundleDataBean[]

getBundleCrossSells

public com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleCrossSells()
                                                                           throws ECException
Returns a list of beans that represent bundles that are cross-sells to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedBundleDataBean[]

getBundleUpSells

public com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleUpSells()
                                                                        throws ECException
Returns a list of beans that represent bundles that are up-sells to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedBundleDataBean[]

getCommandContext

public CommandContext getCommandContext()
Returns the current command's context passed in at runtime
Returns:
com.ibm.commerce.command.CommandContext

getDescription

public CatalogEntryDescriptionAccessBean getDescription()
                                                 throws javax.ejb.CreateException,
                                                        javax.naming.NamingException,
                                                        java.rmi.RemoteException,
                                                        javax.ejb.FinderException
Returns a bean representing descriptive information about this DynamicKit
Returns:
com.ibm.commerce.catalog.objects.CatalogEntryDescriptionAccessBean

getDynamicKitID

public java.lang.String getDynamicKitID()
Returns the DynamicKit Id that represents the primary key for this DynamicKit
Returns:
java.lang.String

getItemAccessories

public com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemAccessories()
                                                                        throws ECException
Returns a list of beans that represent items that are accessories to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedItemDataBean[]

getItemCrossSells

public com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemCrossSells()
                                                                       throws ECException
Returns a list of beans that represent items that are cross-sells to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedItemDataBean[]

getItemUpSells

public com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemUpSells()
                                                                    throws ECException
Returns a list of beans that represent items that are up-sells to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedItemDataBean[]

getPackageAccessories

public com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageAccessories()
                                                                              throws ECException
Returns a list of beans that represent packages that are accessories to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedPackageDataBean[]

getPackageCrossSells

public com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageCrossSells()
                                                                             throws ECException
Returns a list of beans that represent packages that are cross-sells to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedPackageDataBean[]

getPackageUpSells

public com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageUpSells()
                                                                          throws ECException
Returns a list of beans that represent packages that are up-sells to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedPackageDataBean[]

getPartNumber

public java.lang.String getPartNumber()
Returns the part (SKU) number of the DynamicKit
Returns:
java.lang.String

getProductAccessories

public com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductAccessories()
                                                                              throws ECException
Returns a list of beans that represent products that are accessories to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedProductDataBean[]

getProductCrossSells

public com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductCrossSells()
                                                                             throws ECException
Returns a list of beans that represent products that are cross-sells to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedProductDataBean[]

getProductUpSells

public com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductUpSells()
                                                                          throws ECException
Returns a list of beans that represent products that are up-sells to this DynamicKit
Returns:
com.ibm.commerce.catalog.beans.RelatedProductDataBean[]

getRequestProperties

public TypedProperty getRequestProperties()
Returns the request properties
Returns:
com.ibm.commerce.datatype.TypedProperty

populate

public void populate()
              throws java.lang.Exception
Fetches and populates information needed by the bean.

setCommandContext

public void setCommandContext(CommandContext aCommandContext)
Sets the command context passed in at runtime
Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext

setDynamicKitID

public void setDynamicKitID(java.lang.String astrDynamicKitId)
Sets the item Id that represents the primary key for this DynamicKit
Parameters:
astrItemId - java.lang.String

setPartNumber

public void setPartNumber(java.lang.String astrDynamicKitPartNumber)
Sets the DynamicKit part (SKU) number
Parameters:
astrItemPartNumber - java.lang.String

setRequestProperties

public void setRequestProperties(TypedProperty aParam)
Sets the request properties and populates the parameters that are needed by the bean
Parameters:
aParam - com.ibm.commerce.datatype.TypedProperty