com.ibm.commerce.catalog.beans

Class CompositeCatalogEntryDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.catalog.beans.CompositeCatalogEntryInputDataBean, com.ibm.commerce.catalog.beans.CompositeCatalogEntrySmartDataBean, Delegator, java.io.Serializable


    public class CompositeCatalogEntryDataBean
    extends com.ibm.commerce.catalog.beansrc.CompositeCatalogEntryDataBeanBase
    implements com.ibm.commerce.catalog.beans.CompositeCatalogEntryInputDataBean, com.ibm.commerce.catalog.beans.CompositeCatalogEntrySmartDataBean
    This data bean represents a composite Catalog Entry object.

    You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.

    Access Beans: CompositeCatalogEntry

    Mandatory Parameters (for single row retrieval):

    • relationship type, from catalog entry reference number, to catalog entry reference number

    Some hints and tips for using this data bean are:

    • The relationship type ID, from catalog entry reference number, and to catalog entry reference number values must be set before activating the data bean.
    • You can set parameters using the setters.

    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CompositeCatalogEntryDataBean

        public CompositeCatalogEntryDataBean()
    • Method Detail

      • getRequestProperties

        public TypedProperty getRequestProperties()
        Gets the request property set within this bean.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        The request property as TypedProperty object.
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        Sets the request property within this bean. The following values are set in this method: relationship type from catalog entry reference number to catalog entry reference number
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperty - The request property as TypedProperty 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.
      • getDataBeanKeyRelationship_type

        public java.lang.String getDataBeanKeyRelationship_type()
        Gets the relationship type.
        Specified by:
        getDataBeanKeyRelationship_type in interface com.ibm.commerce.catalog.beans.CompositeCatalogEntrySmartDataBean
        Returns:
        The relationship type.
      • getDataBeanKeyFromCatalogEntryReferenceNumber

        public java.lang.String getDataBeanKeyFromCatalogEntryReferenceNumber()
        Gets the from/parent catalog entry reference number, which uniquely identifies this catalog entry in the system.
        Specified by:
        getDataBeanKeyFromCatalogEntryReferenceNumber in interface com.ibm.commerce.catalog.beans.CompositeCatalogEntrySmartDataBean
        Returns:
        The from/parent catalog entry reference number.
      • getDataBeanKeyToCatalogEntryReferenceNumber

        public java.lang.String getDataBeanKeyToCatalogEntryReferenceNumber()
        Gets the to/child catalog entry reference number, which uniquely identifies this catalog entry in the system.
        Specified by:
        getDataBeanKeyToCatalogEntryReferenceNumber in interface com.ibm.commerce.catalog.beans.CompositeCatalogEntrySmartDataBean
        Returns:
        The to/child catalog entry reference number.
      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        The command context as CommandContext object.
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        Sets the command context within this bean.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - The command context as CommandContext object.
      • setDataBeanKeyRelationship_type

        public void setDataBeanKeyRelationship_type(java.lang.String aRelationship_type)
        Sets the relationship type.
        Specified by:
        setDataBeanKeyRelationship_type in interface com.ibm.commerce.catalog.beans.CompositeCatalogEntryInputDataBean
        Parameters:
        aRelationship_type - The relationship type.
      • setDataBeanKeyFromCatalogEntryReferenceNumber

        public void setDataBeanKeyFromCatalogEntryReferenceNumber(java.lang.String aFromCatalogEntryReferenceNumber)
        Sets the from/parent catalog entry reference number, which uniquely identifies this catalog entry in the system.
        Specified by:
        setDataBeanKeyFromCatalogEntryReferenceNumber in interface com.ibm.commerce.catalog.beans.CompositeCatalogEntryInputDataBean
        Parameters:
        aFromCatalogEntryReferenceNumber - The from/parent catalog entry reference number.
      • setDataBeanKeyToCatalogEntryReferenceNumber

        public void setDataBeanKeyToCatalogEntryReferenceNumber(java.lang.String aToCatalogEntryReferenceNumber)
        Sets the to/child catalog entry reference number, which uniquely identifies this catalog entry in the system.
        Specified by:
        setDataBeanKeyToCatalogEntryReferenceNumber in interface com.ibm.commerce.catalog.beans.CompositeCatalogEntryInputDataBean
        Parameters:
        aToCatalogEntryReferenceNumber - The to/child catalog entry reference number.
      • populate

        public void populate()
        Loads data into the data bean when the DataBeanManager.activate() runs.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getCatalogEntryDataBean

        public CatalogEntryDataBean getCatalogEntryDataBean()
        Gets a bean that represents the composed catalog entry.
        Specified by:
        getCatalogEntryDataBean in interface com.ibm.commerce.catalog.beans.CompositeCatalogEntrySmartDataBean
        Returns:
        The CatalogEntryDataBean.
        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.
      • setCatalogEntryDataBean

        public void setCatalogEntryDataBean(CatalogEntryDataBean abnCatalogEntry)
        Sets the ibnCatalogEntry variable used to represent the composite catalog entry object used by this data bean.
        Specified by:
        setCatalogEntryDataBean in interface com.ibm.commerce.catalog.beans.CompositeCatalogEntryInputDataBean
        Parameters:
        abnCatalogEntry -