Interface MessageAttachmentDataSource

  • All Superinterfaces:
    AttachmentDataSource, javax.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

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.String getContentId()
      The content id must contain only the following characters: [a-z][A-Z][0-9].-_ The maximum number of characters is 255.
      default boolean isInline()  
      • Methods inherited from interface javax.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 Detail

      • getContentId

        default java.lang.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