Interface RelatedAttachmentDataSource
- 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
- All Known Subinterfaces:
MessageAttachmentDataSource,NoteAttachmentDataSource
public interface RelatedAttachmentDataSource
extends AttachmentDataSource, com.novomind.ecom.common.api.attribute.DisplayNamed
A
RelatedAttachmentDataSource additionally provides a
content id of the attachment.- Since:
- 13.3
-
Method Summary
Methods inherited from interface com.novomind.ecom.api.iagent.model.AttachmentDataSource
getInputStream, getOutputStreamMethods inherited from interface jakarta.activation.DataSource
getContentType, getNameMethods inherited from interface com.novomind.ecom.common.api.attribute.DisplayNamed
getDisplayNameMethods inherited from interface com.novomind.ecom.common.api.attribute.Named
getNameMethods inherited from interface com.novomind.ecom.common.api.io.datasource.SizedDataSource
getSize
-
Method Details
-
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:
- 13.3
-
isInline
default boolean isInline()- Returns:
- true if the attachment should be treated as inline attachment
- Since:
- 13.3
-