com.ibm.commerce.catalog.beans

Class CatalogEntryRelationDataBean

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


    public class CatalogEntryRelationDataBean
    extends com.ibm.commerce.catalog.beansrc.CatalogEntryRelationDataBeanBase
    implements com.ibm.commerce.catalog.beans.CatalogEntryRelationInputDataBean, com.ibm.commerce.catalog.beans.CatalogEntryRelationSmartDataBean
    This data bean represents a relation object between a parent catalog entry and a child catalog entry. Examples of these relationships are Product-Item, Bundle, and Package relationships.

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

    Access Beans: CatalogEntryRelation

    Mandatory Parameters (for single row retrieval):

    • catalog entry ID parent, catalog entry ID child, catalog relation type ID

    Some hints and tips for using this data bean are:

    • It is important to set the catalog entry ID parent, catalog entry ID child, and catalog relation type ID values 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

      • CatalogEntryRelationDataBean

        public CatalogEntryRelationDataBean()
    • 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 properties within this bean. The following values are set in this method: catalog entry parent ID catalog entry relation type ID catalog entry child ID
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aTypedProperty - The request properties.
        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.
      • getDataBeanKeyCatalogEntryIdParent

        public java.lang.String getDataBeanKeyCatalogEntryIdParent()
        Gets the catalog entry ID of the parent of this catalog entry.
        Specified by:
        getDataBeanKeyCatalogEntryIdParent in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationSmartDataBean
        Returns:
        The catalog entry ID of the parent.
      • getDataBeanKeyCatalogRelationTypeId

        public java.lang.String getDataBeanKeyCatalogRelationTypeId()
        Gets the type of the relation.
        Specified by:
        getDataBeanKeyCatalogRelationTypeId in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationSmartDataBean
        Returns:
        The relation type.
      • getDataBeanKeyCatalogEntryIdChild

        public java.lang.String getDataBeanKeyCatalogEntryIdChild()
        Gets the catalog entry ID of the child of this catalog entry.
        Specified by:
        getDataBeanKeyCatalogEntryIdChild in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationSmartDataBean
        Returns:
        The catalog entry of the child.
      • 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.
      • setDataBeanKeyCatalogEntryIdParent

        public void setDataBeanKeyCatalogEntryIdParent(java.lang.String aCatalogEntryIdParent)
        Sets the catalog entry ID of the parent of this catalog entry.
        Specified by:
        setDataBeanKeyCatalogEntryIdParent in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationInputDataBean
        Parameters:
        aCatalogEntryIdParent - The catalog entry ID of the parent.
      • setDataBeanKeyCatalogRelationTypeId

        public void setDataBeanKeyCatalogRelationTypeId(java.lang.String aCatalogRelationTypeId)
        Sets the relation type.
        Specified by:
        setDataBeanKeyCatalogRelationTypeId in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationInputDataBean
        Parameters:
        aCatalogRelationTypeId - The relation type.
      • setDataBeanKeyCatalogEntryIdChild

        public void setDataBeanKeyCatalogEntryIdChild(java.lang.String aCatalogEntryIdChild)
        Sets the catalog entry ID of the child.
        Specified by:
        setDataBeanKeyCatalogEntryIdChild in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationInputDataBean
        Parameters:
        aCatalogEntryIdChild - The catalog entry ID of the child.