com.ibm.commerce.catalog.beans

Class CatalogGroupDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.catalog.beans.CatalogGroupInputDataBean, com.ibm.commerce.catalog.beans.CatalogGroupSmartDataBean, Delegator, Protectable, java.io.Serializable


    public class CatalogGroupDataBean
    extends com.ibm.commerce.catalog.beansrc.CatalogGroupDataBeanBase
    implements com.ibm.commerce.catalog.beans.CatalogGroupInputDataBean, com.ibm.commerce.catalog.beans.CatalogGroupSmartDataBean
    This data bean represents a catalog group object. Catalog groups are generic groupings of online catalog entries within a catalog. A catalog group may contain more than one catalog group or catalog entries. You can associate catalog groups with any number of catalogs. For example, the "Men's Pants" catalog group can be associated to the "Summer", "Winter" and "Spring" catalogs. Although catalog groups can include catalog entries for any purpose, the main intent of catalog groups is for catalog partitioning purpose. Catalog groups also determine the navigational hierarchy of an online catalog.

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

    Access Beans: CatalogGroup

    Mandatory Parameters (for single row retrieval):

    • catalog group reference number

    Some hints and tips for using this data bean are:

    • It is important to set the catalog group reference number value 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

      • CatalogGroupDataBean

        public CatalogGroupDataBean()
    • 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 reference number
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aTypedProperty - 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.
      • getDataBeanKeyCatalogGroupReferenceNumber

        public java.lang.String getDataBeanKeyCatalogGroupReferenceNumber()
        Gets the catalog group reference number.
        Specified by:
        getDataBeanKeyCatalogGroupReferenceNumber in interface com.ibm.commerce.catalog.beans.CatalogGroupSmartDataBean
        Returns:
        The catalog group 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.
      • setDataBeanKeyCatalogGroupReferenceNumber

        public void setDataBeanKeyCatalogGroupReferenceNumber(java.lang.String aCatalogGroupReferenceNumber)
        Sets the catalog group reference number.
        Specified by:
        setDataBeanKeyCatalogGroupReferenceNumber in interface com.ibm.commerce.catalog.beans.CatalogGroupInputDataBean
        Parameters:
        aCatalogGroupReferenceNumber - The catalog group reference number.
      • getAllAttachments

        public AttachmentDataBean[] getAllAttachments()
        Gets all the attachments in the catalog group. Attachments are used in all the areas of Web applications. An attachment is additional material that a user can send in an e-mail, a request, or a detailed product specification. Attachments can be images files, text files, audio or video files, programs or documents.
        Returns:
        An array of AttachmentDataBean
      • getAttachmentsByUsage

        public AttachmentDataBean[] getAttachmentsByUsage()
        Gets all the product attachments by the specified attachment relation usage. The attachment relation usage can be specified by calling the setAttachmentUsage method. Attachments are used in all the areas of Web applications. An attachment is additional material that a user can send in an e-mail, a request, or a detailed product specification. Attachments can be images files, text files, audio or video files, programs or documents.
        Returns:
        An array of AttachmentDataBean
      • getAttachmentUsages

        public AttachmentUsageDataBean[] getAttachmentUsages()
        Gets all the attachment relation usage used in the catalog group attachments
        Returns:
        An array of AttachmentUsageDataBean
      • setAttachmentUsage

        public void setAttachmentUsage(java.lang.String astrAttachmentUsage)
        Sets the attachment relation usage identifier to get all the attachments of the product with the same usage.
        Parameters:
        astrAttachmentUsage - The attachment relation usage identifier