public interface Attachment extends AttachmentSummary
| Modifier and Type | Method and Description |
|---|---|
AttachmentSummary |
asSummary()
Return a summary of the current Attachment.
|
Attachment |
copy()
Duplicates this Attachment without the id and taskId.
|
Map<String,String> |
getCustomAttributeMap()
Returns the custom attributes of this attachment.
|
void |
setChannel(String channel)
Sets the Channel on which the attachment was received.
|
void |
setClassificationSummary(ClassificationSummary classificationSummary)
Set the classification summary for this attachment.
|
void |
setCustomAttributeMap(Map<String,String> customAttributes)
Sets the custom attribute Map of the attachment.
|
void |
setObjectReference(ObjectReference objectReference)
Sets the
primaryObjectReference of the attachment. |
void |
setReceived(Instant received)
Sets the time when the attachment was received.
|
getChannel, getClassificationSummary, getCreated, getId, getModified, getObjectReference, getReceived, getTaskIdvoid setObjectReference(ObjectReference objectReference)
primaryObjectReference of the attachment.objectReference - the primaryObjectReference of the attachmentvoid setClassificationSummary(ClassificationSummary classificationSummary)
classificationSummary - the ClassificationSummary for this attachmentvoid setReceived(Instant received)
received - the time as Instant when the attachment was receivedvoid setChannel(String channel)
channel - the channel on which the attachment was receivedMap<String,String> getCustomAttributeMap()
Mapvoid setCustomAttributeMap(Map<String,String> customAttributes)
customAttributes - a Map that contains the custom attributes of the attachment as
key, value pairsAttachmentSummary asSummary()
Attachment copy()
copy in interface AttachmentSummaryCopyright © 2020. All rights reserved.