com.ibm.commerce.catalog.beans

Class CatalogGroupRelationDataBean

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


    public class CatalogGroupRelationDataBean
    extends com.ibm.commerce.catalog.beansrc.CatalogGroupRelationDataBeanBase
    implements com.ibm.commerce.catalog.beans.CatalogGroupRelationInputDataBean, com.ibm.commerce.catalog.beans.CatalogGroupRelationSmartDataBean
    This data bean represents a relationship between a Catalog Group parent and its catalog group child.

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

    Access Beans: CatalogGroupRelation

    Mandatory Parameters (for single row retrieval):

    • catalog group ID parent, catalog group ID child, catalog ID

    Some hints and tips for using this data bean are:

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

      • CatalogGroupRelationDataBean

        public CatalogGroupRelationDataBean()
    • 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: catalog group parent ID catalog group child ID catalog ID
        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.
      • getDataBeanKeyCatalogGroupIdParent

        public java.lang.String getDataBeanKeyCatalogGroupIdParent()
        Gets the catalog group ID of the parent catalog group.
        Specified by:
        getDataBeanKeyCatalogGroupIdParent in interface com.ibm.commerce.catalog.beans.CatalogGroupRelationSmartDataBean
        Returns:
        The parent catalog group ID.
      • getDataBeanKeyCatalogGroupIdChild

        public java.lang.String getDataBeanKeyCatalogGroupIdChild()
        Gets the catalog group ID of the child catalog group.
        Specified by:
        getDataBeanKeyCatalogGroupIdChild in interface com.ibm.commerce.catalog.beans.CatalogGroupRelationSmartDataBean
        Returns:
        The child catalog group ID.
      • getDataBeanKeyCatalogId

        public java.lang.String getDataBeanKeyCatalogId()
        Gets the catalog ID.
        Specified by:
        getDataBeanKeyCatalogId in interface com.ibm.commerce.catalog.beans.CatalogGroupRelationSmartDataBean
        Returns:
        The catalog ID.
      • 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.
      • setDataBeanKeyCatalogGroupIdParent

        public void setDataBeanKeyCatalogGroupIdParent(java.lang.String aCatalogGroupIdParent)
        Sets the catalog group ID of the parent catalog group.
        Specified by:
        setDataBeanKeyCatalogGroupIdParent in interface com.ibm.commerce.catalog.beans.CatalogGroupRelationInputDataBean
        Parameters:
        aCatalogGroupIdParent - The parent catalog group ID.
      • setDataBeanKeyCatalogGroupIdChild

        public void setDataBeanKeyCatalogGroupIdChild(java.lang.String aCatalogGroupIdChild)
        Sets the catalog group ID of the catalog group child.
        Specified by:
        setDataBeanKeyCatalogGroupIdChild in interface com.ibm.commerce.catalog.beans.CatalogGroupRelationInputDataBean
        Parameters:
        aCatalogGroupIdChild - The child catalog group ID.
      • setDataBeanKeyCatalogId

        public void setDataBeanKeyCatalogId(java.lang.String aCatalogId)
        Sets the catalog ID.
        Specified by:
        setDataBeanKeyCatalogId in interface com.ibm.commerce.catalog.beans.CatalogGroupRelationInputDataBean
        Parameters:
        aCatalogId - The catalog ID.
      • 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.