Package pro.taskana.task.api.models
Interface AttachmentSummary
- All Known Subinterfaces:
Attachment
- All Known Implementing Classes:
AttachmentImpl,AttachmentSummaryImpl
public interface AttachmentSummary
Interface for AttachmentSummaries. This is a specific short model-object which only contains the
most important information.
-
Method Summary
Modifier and TypeMethodDescriptioncopy()Duplicates this AttachmentSummary without the id and taskId.Returns the channel on which the Attachment was received.Returns the classificationSummary of the Attachment.Returns the time when the Attachment was created.getId()Returns the id of the Attachment.Returns the time when the Attachment was last modified.Returns the primaryObjectReference of the Attachment.Returns the time when the Attachment was received.Returns the id of the associated Task.
-
Method Details
-
getId
String getId()Returns the id of the Attachment.- Returns:
- attachmentId
-
getTaskId
String getTaskId()Returns the id of the associated Task.- Returns:
- taskId
-
getCreated
Instant getCreated()Returns the time when the Attachment was created.- Returns:
- the created Instant
-
getModified
Instant getModified()Returns the time when the Attachment was last modified.- Returns:
- the last modified Instant
-
getObjectReference
ObjectReference getObjectReference()Returns the primaryObjectReference of the Attachment.- Returns:
- primaryObjectReference of the Attachment
-
getChannel
String getChannel()Returns the channel on which the Attachment was received.- Returns:
- the channel
-
getClassificationSummary
ClassificationSummary getClassificationSummary()Returns the classificationSummary of the Attachment.- Returns:
- classificationSummary
-
getReceived
Instant getReceived()Returns the time when the Attachment was received.- Returns:
- the received Instant
-
copy
AttachmentSummary copy()Duplicates this AttachmentSummary without the id and taskId.- Returns:
- a copy of this AttachmentSummary
-