Interface MessageAttachmentDataSource

All Superinterfaces:
AttachmentDataSource, jakarta.activation.DataSource, com.novomind.ecom.common.api.attribute.DisplayNamed, com.novomind.ecom.common.api.attribute.Named, com.novomind.ecom.common.api.io.datasource.SizedDataSource

public interface MessageAttachmentDataSource extends AttachmentDataSource, com.novomind.ecom.common.api.attribute.DisplayNamed
An MessageAttachmentDataSource additionally provides a content id of the attachment.
Since:
10.0.46
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    The content id must contain only the following characters: [a-z][A-Z][0-9].-_ The maximum number of characters is 255.
    default boolean
     

    Methods inherited from interface com.novomind.ecom.api.iagent.model.AttachmentDataSource

    getInputStream, getOutputStream

    Methods inherited from interface jakarta.activation.DataSource

    getContentType, getName

    Methods inherited from interface com.novomind.ecom.common.api.attribute.DisplayNamed

    getDisplayName

    Methods inherited from interface com.novomind.ecom.common.api.attribute.Named

    getName

    Methods inherited from interface com.novomind.ecom.common.api.io.datasource.SizedDataSource

    getSize
  • Method Details

    • getContentId

      default String getContentId()
      The content id must contain only the following characters: [a-z][A-Z][0-9].-_ The maximum number of characters is 255.
      Returns:
      The content id of the attachment
      Since:
      10.0.46
    • isInline

      default boolean isInline()
      Returns:
      true if the attachment should be treated as inline attachment
      Since:
      10.0.46