com.ibm.commerce.content.facade.server.commands

Class ComposeAttachmentWithAssetsCmdImpl

  • All Implemented Interfaces:
    ComposeAttachmentCmd, com.ibm.websphere.command.Command, java.io.Serializable


    public class ComposeAttachmentWithAssetsCmdImpl
    extends AbstractComposeAttachmentCmdImpl
    This command populates the Attachment SDO using AttachmentTargetDataBean. It is called from GetAttachmentCmdImpl when the access profile IBM_Admin_AttachmentWithAssets is used. The following information of the Attachment SDO is populated:
    • /Attachment/AttachmentIdentifier/UniqueID
    • /Attachment/AttachmentIdentifier/ExternalIdentifier/Identifier
    • /Attachment/AttachmentAsset/AttachmentAssetPath
    • /Attachment/AttachmentAsset/DirectoryPath
    • /Attachment/AttachmentAsset/MimeType
    • /Attachment/AttachmentAsset/language
    • /Attachment/AttachmentDescription/Name
    • /Attachment/AttachmentDescription/ShortDescription
    • /Attachment/AttachmentDescription/LongDescription
    • /Attachment/AttachmentDescription/language
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ComposeAttachmentWithAssetsCmdImpl

        public ComposeAttachmentWithAssetsCmdImpl()
    • Method Detail

      • execute

        public void execute()
                     throws com.ibm.websphere.command.CommandException
        This method performs the main logic.
        Throws:
        com.ibm.websphere.command.CommandException