Package pro.taskana.task.api.models
Interface AttachmentSummary
-
- All Known Subinterfaces:
Attachment
- All Known Implementing Classes:
AttachmentImpl,AttachmentSummaryImpl
public interface AttachmentSummaryInterface for AttachmentSummaries. This is a specific short model-object which only contains the most important information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachmentSummarycopy()Duplicates this AttachmentSummary without the id and taskId.StringgetChannel()Gets the Channel on which the attachment was received.ClassificationSummarygetClassificationSummary()Gets the classificationSummary of the attachment.InstantgetCreated()Gets the time when the attachment was created.StringgetId()Gets the id of the attachment.InstantgetModified()Gets the time when the attachment was last modified.ObjectReferencegetObjectReference()Gets theprimaryObjectReferenceof the attachment.InstantgetReceived()Gets the time when the attachment was received.StringgetTaskId()Gets the id of the associated task.
-
-
-
Method Detail
-
getId
String getId()
Gets the id of the attachment.- Returns:
- attachmentId
-
getTaskId
String getTaskId()
Gets the id of the associated task.- Returns:
- taskId
-
getCreated
Instant getCreated()
Gets the time when the attachment was created.- Returns:
- the created Instant
-
getModified
Instant getModified()
Gets the time when the attachment was last modified.- Returns:
- the last modified Instant
-
getObjectReference
ObjectReference getObjectReference()
Gets theprimaryObjectReferenceof the attachment.- Returns:
primaryObjectReferenceof the attachment
-
getChannel
String getChannel()
Gets the Channel on which the attachment was received.- Returns:
- the channel
-
getClassificationSummary
ClassificationSummary getClassificationSummary()
Gets the classificationSummary of the attachment.- Returns:
- the classification summary
-
getReceived
Instant getReceived()
Gets the time when the attachment was received.- Returns:
- received Instant
-
copy
AttachmentSummary copy()
Duplicates this AttachmentSummary without the id and taskId.- Returns:
- a copy of this AttachmentSummary
-
-