Class CatalogGroupAttachmentAddCmdImpl

  • All Implemented Interfaces:
    AttachmentRelationBaseAddCmd, CatalogGroupAttachmentAddCmd, AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable,,,,,,

    public class CatalogGroupAttachmentAddCmdImpl
    extends AttachmentRelationBaseAddCmdImpl
    implements CatalogGroupAttachmentAddCmd
    The CatalogGroupAttachmentAddCmd is a URL and controller command that:
    • Adds a new attachment relation for the specified catalog group.
    • Adds the description for the attachment relation.
    To obtain the Catalog Group ID:
    • Catalog Group ID can be specified in the parameter.
    • If Catalog Group ID is not specified, the catalog group identifier can be specified. Identifier is used together with the member ID to obtain the Catalog Group ID. The member ID is obtained as the owner of the store where the command is called.
    • If the catalog group identifier is not specified, then the attachment relation ID must be specified. The attachment relation is checked to see if it is a catalog group attachment relation. The object ID found in the attachment relation is used as the catalog group ID.

    If the attachment relation ID is specified, then only attachment relation description will be created. If the command is called as URL. Only one description can be created. Otherwise, multiple descriptions can be created by setting the vector of AttachmentRelationDescriptionDataBean.

    When creating the vector of AttachmentRelationDescriptionDataBean, the attachment relation ID from the databean will not be used. The attachment relation ID will be obtained from the command itself. Either user specified the attachment relation ID or it is obtained from the attachment relation just created by the command. Parameters:

    • Catalog Group ID or Identifier of the Catalog Group
    • Attachment Relation ID
    • Attachment Target ID
    • Attachment Relation Usage ID
    • Sequence
    • Relation Name
    • Relation Description Language ID
    • Relation Short Description
    • Relation Long Description
    • Vector of AttachmentRelationDescriptionDataBean
    Access Beans and Data Beans:
    • CatalogGroupAccessBean
    • AttachmentRelationAccessBean
    • AttachmentRelationDescriptionAccessBean
    • AttachmentRelationDescriptionDataBean
    Task Commands:
    • AddAttachmentRelationCmd
    • ,
    Utilities and Helpers:
    • AttachmentRelationHelper
    See Also:
    Serialized Form