com.ibm.commerce.attachment.commands

Interface AddAttachmentAssetCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    AddAttachmentAssetCmdImpl


    public interface AddAttachmentAssetCmd
    extends TaskCommand
    Interface for the command AddAttachmentAsset
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • CLASSNAME

        static final java.lang.String CLASSNAME
        Define the CLASSNAME.
        See Also:
        Constant Field Values
    • Method Detail

      • getAttachmentAssetId

        java.lang.Long getAttachmentAssetId()
        Gets the attachment asset ID.
        Returns:
        The attachment asset ID
      • getAttachmentTargetId

        java.lang.Long getAttachmentTargetId()
        Gets the attachment target ID that owns the attachment asset.
        Returns:
        The attachment target ID
      • getStoreentId

        java.lang.Integer getStoreentId()
        Gets the store entity ID.
        Returns:
        The store entity ID
      • getAttachmentAssetPath

        java.lang.String getAttachmentAssetPath()
        Gets the path for the attachment asset.
        Returns:
        The attachment asset path
      • getImage1

        java.lang.String getImage1()
        Gets the image 1 of the attachment asset.
        Returns:
        The image 1
      • getImage2

        java.lang.String getImage2()
        Gets the image 2 of the attachment asset.
        Returns:
        The image 2
      • getMimeType

        java.lang.String getMimeType()
        Gets the mime type of the attachment asset.
        Returns:
        The attachment asset mime type
      • getMimeTypeEncoding

        java.lang.String getMimeTypeEncoding()
        Gets the encoding of the mime type of the attachment asset.
        Returns:
        The encoding of the attachment asset mime type
      • getContent

        byte[] getContent()
        Gets the content of the attachment asset.
        Returns:
        The attachment asset content
      • setAttachmentTargetId

        void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
        Sets the attachment target ID.
        Parameters:
        anAttachmentTargetId - The attachment target ID
      • setStoreentId

        void setStoreentId(java.lang.Integer anStoreentId)
        Sets the store entity ID.
        Parameters:
        anStoreentId - The store entity ID
      • setAttachmentAssetPath

        void setAttachmentAssetPath(java.lang.String astrAttachmentAssetPath)
        Sets the path of the attachment asset.
        Parameters:
        astrAttachmentAssetPath - The attachment asset path
      • setImage1

        void setImage1(java.lang.String astrImage1)
        Sets the image 1 of the attachment asset.
        Parameters:
        astrImage1 - The image 1
      • setImage2

        void setImage2(java.lang.String astrImage2)
        Sets the image 2 of the attachment asset.
        Parameters:
        astrImage2 - The image 2
      • setMimeType

        void setMimeType(java.lang.String astrMimeType)
        Sets the mime type of the attachment asset.
        Parameters:
        astrMimeType - The attachment asset mimetype
      • setMimeTypeEncoding

        void setMimeTypeEncoding(java.lang.String astrMimeTypeEncoding)
        Sets the encoding of the mime type of the attachment asset.
        Parameters:
        astrMimeTypeEncoding - The encoding of the attachment asset mimetype
      • setContent

        void setContent(byte[] abaAssetContent)
        Sets the content of the attachment asset.
        Parameters:
        abaAssetContent - The attachment asset content