com.ibm.commerce.catalog.beans
Class DynamicKitDataBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.catalog.objects.DynamicKitAccessBean
              |
              +--com.ibm.commerce.catalog.beans.DynamicKitDataBean
All Implemented Interfaces:
DynamicKitAccessBeanData

public class DynamicKitDataBean
extends DynamicKitAccessBean

This data bean represents a Dynamic Kit.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
 
Constructor Summary
DynamicKitDataBean()
          Constructs an empty DynamicKitDataBean.
DynamicKitDataBean( CatalogEntryAccessBean abCatentry)
          Constructs a DynamicKitDataBean from a CatalogEntryAccessBean.
DynamicKitDataBean( CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext)
          Contructs a DynamicKitDataBean from a CatalogEntryAccessBean and a command context.
 
Method Summary
  AttributeAccessBean[] getAttributes()
          Gets a list of beans that represent attributes of the dynamic kit.
  RelatedBundleDataBean[] getBundleAccessories()
          Gets a list of beans that represent bundles that are accessories to this dynamic kit.
  RelatedBundleDataBean[] getBundleCrossSells()
          Gets a list of beans that represent bundles that are cross-sells to this dynamic kit.
  RelatedBundleDataBean[] getBundleUpSells()
          Gets a list of beans that represent bundles that are up-sells to this dynamic kit.
  CommandContext getCommandContext()
          Gets the current command's context passed in at run time.
  CompositeItemDataBean[] getComponentItems()
          Gets a list of beans that represent items that are components of this dynamic kit.
  CatalogEntryDescriptionAccessBean getDescription()
          Gets a bean representing descriptive information about this dynamic kit.
  AttributeAccessBean[] getDescriptiveAttributes()
          Gets a list of beans that represent descriptive attributes of the dynamic kit.
 RelatedDynamicKitDataBean[] getDynamicKitAccessories()
          Gets a list of beans that represent dynamic kits that are accessories to this dynamic kit.
 RelatedDynamicKitDataBean[] getDynamicKitCrossSells()
          Gets a list of beans that represent dynamic kits that are cross sells to this dynamic kit.
 java.lang.String getDynamicKitID()
          Gets the dynamic kit ID that represents the primary key for this dynamic kit.
 RelatedDynamicKitDataBean[] getDynamicKitReplacements()
          Gets a list of beans that represent dynamic kits that are replacements to this dynamic kit.
 RelatedDynamicKitDataBean[] getDynamicKitUpSells()
          Gets a list of beans that represent dynamic kits that are up sells to this dynamic kit.
  RelatedItemDataBean[] getItemAccessories()
          Gets a list of beans that represent items that are accessories to this dynamic kit.
  RelatedItemDataBean[] getItemCrossSells()
          Gets a list of beans that represent items that are cross-sells to this dynamic kit.
  RelatedItemDataBean[] getItemUpSells()
          Gets a list of beans that represent items that are up-sells to this dynamic kit.
 java.lang.String getObjectPath()
          Gets the path to objects such as images in the context of the current store.
  RelatedPackageDataBean[] getPackageAccessories()
          Gets a list of beans that represent packages that are accessories to this dynamic kit.
  RelatedPackageDataBean[] getPackageCrossSells()
          Gets a list of beans that represent packages that are cross-sells to this dynamic kit.
  RelatedPackageDataBean[] getPackageUpSells()
          Gets a list of beans that represent packages that are up-sells to this dynamic kit.
 java.lang.String getPartNumber()
          Gets the part (SKU) number of the dynamic kit.
  RelatedProductDataBean[] getProductAccessories()
          Gets a list of beans that represent products that are accessories to this dynamic kit.
  RelatedProductDataBean[] getProductCrossSells()
          Gets a list of beans that represent products that are cross-sells to this dynamic kit.
  RelatedProductDataBean[] getProductUpSells()
          Gets a list of beans that represent products that are up-sells to this dynamic kit.
  TypedProperty getRequestProperties()
          Gets the request property.
 boolean isAdminMode()
          Gets if the bean is running in administrative mode.
 void populate()
          Fetches and populates information needed by the bean.
 void setAdminMode(boolean aboolAdminMode)
          Sets the administrative mode of the bean.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context passed in at run time.
 void setDescription( CatalogEntryDescriptionAccessBean aabDescription)
          Sets the descriptive information about this dynamic kit.
 void setDynamicKitID(java.lang.String astrDynamicKitId)
          Sets the 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.
 
Methods inherited from class com.ibm.commerce.catalog.objects. DynamicKitAccessBean
commitCopyHelper, defaultJNDIName, findByCatalog, findByCatalogAndGroup, findByCatalogAndGroupAndStore, findByCatalogAndStore, findByChildCatalogEntry, findByChildCatalogEntryAndStore, findByMemberId, findByMemberIdAndSKUNumber, findEntitledCatalogEntryByCatalogAndGroup, findEntitledCatalogEntryByCatalogAndGroupAndStore, findWithPushDownQuery, fulfills, getBaseItem, getBaseItemId, getBaseItemIdInEJBType, getBuyable, getBuyableInEJBType, getCatalogEntriesAccessory, getCatalogEntriesAccessory, getCatalogEntriesAccessory, getCatalogEntriesAccessoryByStore, getCatalogEntriesAccessoryByStore, getCatalogEntriesAccessoryByStore, getCatalogEntriesByMAssocTypeAndStore, getCatalogEntriesByMAssocTypeAndStore, getCatalogEntriesByMAssocTypeAndStore, getCatalogEntriesCrossell, getCatalogEntriesCrossell, getCatalogEntriesCrossell, getCatalogEntriesCrossellByStore, getCatalogEntriesCrossellByStore, getCatalogEntriesCrossellByStore, getCatalogEntriesUpSell, getCatalogEntriesUpSell, getCatalogEntriesUpSell, getCatalogEntriesUpSellByStore, getCatalogEntriesUpSellByStore, getCatalogEntriesUpSellByStore, getCatalogEntryConfigurationDetail, getCatalogEntryReferenceNumber, getCatalogEntryReferenceNumberInEJBType, getDescription, getDescription, getEndDate, getField1, getField1InEJBType, getField2, getField2InEJBType, getField3, getField3InEJBType, getField4, getField5, getItemspc_id, getItemspc_idInEJBType, getLanguage_id, getLanguage_idInEJBType, getLastUpdate, getLastUpdateInEJBType, getListPrice, getManufacturerName, getManufacturerPartNumber, getMarkForDelete, getMarkForDeleteInEJBType, getMemberId, getMemberIdInEJBType, getOid, getOnAuction, getOnAuctionInEJBType, getOnSpecial, getOnSpecialInEJBType, getOwner, getParentCatalogEntryIds, getStartDate, getState, getTemplateFileName, getTemplateFileName, getTemplateFileName, getTemplateFileName, getType, getUrl, instantiateEJB, instantiateEJBByPrimaryKey, isCatalogEntryInStore, refreshCopyHelper, setBaseItemId, setBaseItemId, setBuyable, setBuyable, setEndDate, setField1, setField1, setField2, setField2, setField3, setField3, setField4, setField5, setInitKey_catalogEntryReferenceNumber, setItemspc_id, setItemspc_id, setLanguage_id, setLanguage_id, setLastUpdate, setLastUpdate, setManufacturerName, setManufacturerPartNumber, setMarkForDelete, setMarkForDelete, setMemberId, setMemberId, setOid, setOnAuction, setOnAuction, setOnSpecial, setOnSpecial, setStartDate, setState, setUrl
 
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

DynamicKitDataBean

public DynamicKitDataBean()
Constructs an empty DynamicKitDataBean.

DynamicKitDataBean

public DynamicKitDataBean(CatalogEntryAccessBean abCatentry)
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException,
                          javax.ejb.FinderException,
                          javax.naming.NamingException
Constructs a DynamicKitDataBean from a CatalogEntryAccessBean.
Parameters:
abCatentry - The CatalogEntryAccessBean.
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.

DynamicKitDataBean

public DynamicKitDataBean(CatalogEntryAccessBean abCatEntry,
CommandContext aCommandContext)
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException,
                          javax.ejb.FinderException,
                          javax.naming.NamingException
Contructs a DynamicKitDataBean from a CatalogEntryAccessBean and a command context.
Parameters:
abCatEntry - The CatalogEntryAccessBean.
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.
Method Detail

getAttributes

public AttributeAccessBean[] getAttributes()
                                    throws javax.ejb.FinderException,
                                           javax.ejb.CreateException,
                                           javax.naming.NamingException,
                                           java.rmi.RemoteException
Gets a list of beans that represent attributes of the dynamic kit.
Returns:
The list of AttributeAccessBean.
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.

getDescriptiveAttributes

public AttributeAccessBean[] getDescriptiveAttributes()
                                               throws javax.ejb.FinderException,
                                                      javax.ejb.CreateException,
                                                      javax.naming.NamingException,
                                                      java.rmi.RemoteException
Gets a list of beans that represent descriptive attributes of the dynamic kit.
Returns:
The list of AttributeAccessBean.
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.

getBundleAccessories

public RelatedBundleDataBean[] getBundleAccessories()
                                             throws ECException
Gets a list of beans that represent bundles that are accessories to this dynamic kit.
Returns:
The list of RelatedBundleDataBean.
Throws:
ECException - An exception occurs during the execution of the method. An exception occurs during the execution of the method.

getBundleCrossSells

public RelatedBundleDataBean[] getBundleCrossSells()
                                            throws ECException
Gets a list of beans that represent bundles that are cross-sells to this dynamic kit.
Returns:
The list of RelatedBundleDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getBundleUpSells

public RelatedBundleDataBean[] getBundleUpSells()
                                         throws ECException
Gets a list of beans that represent bundles that are up-sells to this dynamic kit.
Returns:
The list of RelatedBundleDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getCommandContext

public CommandContext getCommandContext()
Gets the current command's context passed in at run time.
Returns:
The command context as CommandContext object.

getComponentItems

public CompositeItemDataBean[] getComponentItems()
                                          throws ECException
Gets a list of beans that represent items that are components of this dynamic kit.
Returns:
The list of CompositeItemDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getDescription

public CatalogEntryDescriptionAccessBean getDescription()
                                                 throws javax.ejb.CreateException,
                                                        javax.naming.NamingException,
                                                        java.rmi.RemoteException,
                                                        javax.ejb.FinderException
Gets a bean representing descriptive information about this dynamic kit.
Overrides:
getDescription in class DynamicKitAccessBean
Returns:
The list of CatalogEntryDescriptionAccessBean.
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.

getDynamicKitID

public java.lang.String getDynamicKitID()
Gets the dynamic kit ID that represents the primary key for this dynamic kit.
Returns:
The dynamic kit ID.

getItemAccessories

public RelatedItemDataBean[] getItemAccessories()
                                         throws ECException
Gets a list of beans that represent items that are accessories to this dynamic kit.
Returns:
The list of RelatedItemDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getItemCrossSells

public RelatedItemDataBean[] getItemCrossSells()
                                        throws ECException
Gets a list of beans that represent items that are cross-sells to this dynamic kit.
Returns:
The list of RelatedItemDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getItemUpSells

public RelatedItemDataBean[] getItemUpSells()
                                     throws ECException
Gets a list of beans that represent items that are up-sells to this dynamic kit.
Returns:
The list of RelatedItemDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getObjectPath

public java.lang.String getObjectPath()
                               throws ECException
Gets the path to objects such as images in the context of the current store.
Returns:
The path to objects in the current store
Throws:
ECException - An exception occurs during the execution of the method.

getPackageAccessories

public RelatedPackageDataBean[] getPackageAccessories()
                                               throws ECException
Gets a list of beans that represent packages that are accessories to this dynamic kit.
Returns:
The list of RelatedPackageDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getPackageCrossSells

public RelatedPackageDataBean[] getPackageCrossSells()
                                              throws ECException
Gets a list of beans that represent packages that are cross-sells to this dynamic kit.
Returns:
The list of RelatedPackageDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getPackageUpSells

public RelatedPackageDataBean[] getPackageUpSells()
                                           throws ECException
Gets a list of beans that represent packages that are up-sells to this dynamic kit.
Returns:
The list of RelatedPackageDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getPartNumber

public java.lang.String getPartNumber()
Gets the part (SKU) number of the dynamic kit.
Specified by:
getPartNumber in interface DynamicKitAccessBeanData
Overrides:
getPartNumber in class DynamicKitAccessBean
Returns:
The part (SKU) number of the dynamic kit.

getProductAccessories

public RelatedProductDataBean[] getProductAccessories()
                                               throws ECException
Gets a list of beans that represent products that are accessories to this dynamic kit.
Returns:
The RelatedProductDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getProductCrossSells

public RelatedProductDataBean[] getProductCrossSells()
                                              throws ECException
Gets a list of beans that represent products that are cross-sells to this dynamic kit.
Returns:
The list of RelatedProductDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getProductUpSells

public RelatedProductDataBean[] getProductUpSells()
                                           throws ECException
Gets a list of beans that represent products that are up-sells to this dynamic kit.
Returns:
The list of RelatedProductDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property.
Returns:
The request property as TypedProperty object. Always returned null.

populate

public void populate()
              throws java.lang.Exception
Fetches and populates information needed by the bean.
Throws:
java.lang.Exception - An exception occurs during the execution of the method.

getDynamicKitAccessories

public RelatedDynamicKitDataBean[] getDynamicKitAccessories()
                                                     throws ECException
Gets a list of beans that represent dynamic kits that are accessories to this dynamic kit.
Returns:
The list of RelatedDynamicKitDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getDynamicKitCrossSells

public RelatedDynamicKitDataBean[] getDynamicKitCrossSells()
                                                    throws ECException
Gets a list of beans that represent dynamic kits that are cross sells to this dynamic kit.
Returns:
The list of RelatedDynamicKitDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getDynamicKitUpSells

public RelatedDynamicKitDataBean[] getDynamicKitUpSells()
                                                 throws ECException
Gets a list of beans that represent dynamic kits that are up sells to this dynamic kit.
Returns:
The list of RelatedDynamicKitDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

getDynamicKitReplacements

public RelatedDynamicKitDataBean[] getDynamicKitReplacements()
                                                      throws ECException
Gets a list of beans that represent dynamic kits that are replacements to this dynamic kit.
Returns:
The list of RelatedDynamicKitDataBean.
Throws:
ECException - An exception occurs during the execution of the method.

setCommandContext

public void setCommandContext(CommandContext aCommandContext)
Sets the command context passed in at run time.
Parameters:
aCommandContext - The command context as CommandContext object.

setDescription

public void setDescription(CatalogEntryDescriptionAccessBean aabDescription)
Sets the descriptive information about this dynamic kit.
Parameters:
aabDescription - The CatalogEntryDescriptionAccessBean.

setDynamicKitID

public void setDynamicKitID(java.lang.String astrDynamicKitId)
Sets the ID that represents the primary key for this DynamicKit.

setPartNumber

public void setPartNumber(java.lang.String astrDynamicKitPartNumber)
Sets the DynamicKit part (SKU) number.
Specified by:
setPartNumber in interface DynamicKitAccessBeanData
Overrides:
setPartNumber in class DynamicKitAccessBean
Parameters:
astrDynamicKitPartNumber - java.lang.String
Returns:
void

setRequestProperties

public void setRequestProperties(TypedProperty aParam)
Sets the request properties and populates the parameters that are needed by the bean.
Parameters:
aParam - The request property as TypedProperty object.

isAdminMode

public boolean isAdminMode()
Gets if the bean is running in administrative mode. The default is false.
Returns:
true if the bean is used in administrative mode ; false otherwise.

setAdminMode

public void setAdminMode(boolean aboolAdminMode)
Sets the administrative mode of the bean.