Class MessageAttachmentViewModel
java.lang.Object
de.xima.fc.inbox.model.messages.MessageAttachmentViewModel
- All Implemented Interfaces:
Serializable
View model for an
Attachment of a FormRecordMessage in the inbox.- Since:
- 8.2.3
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMessageAttachmentViewModel(Long attachmentId, String fileName, long fileSize) -
Method Summary
Modifier and TypeMethodDescriptionThe ID of the referenced attachment.The file name of the attachment.getFileSize(Locale locale) The file size in bytes of the attachment.static List<MessageAttachmentViewModel> toMessageAttachmentViewModels(List<Attachment> attachments)
-
Constructor Details
-
MessageAttachmentViewModel
-
-
Method Details
-
toMessageAttachmentViewModels
public static List<MessageAttachmentViewModel> toMessageAttachmentViewModels(List<Attachment> attachments) -
getAttachmentId
-
getFileName
-
getFileSize
-