Class PendingUploadRequestModel
java.lang.Object
de.xima.fc.user_portal.view_model.messages.PendingUploadRequestModel
- All Implemented Interfaces:
IUserPortalChatEntryViewModel, Serializable
Pending upload request view model class.
- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic PendingUploadRequestModelfromUploadRequest(BaseFormRecordMessageUploadRequestResource uploadRequest, BaseFormRecordMessageResource message) Get the sender name.Get the subject of the chat entry.Get the sent time.getTimestampToReadableDate(Locale locale) getUuid()booleanCheck if the chat entry has a footer.booleanbooleanbooleanCheck if the chat entry is a message sent by the current user.booleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IUserPortalChatEntryViewModel
getSenderInitials
-
Method Details
-
fromUploadRequest
public static PendingUploadRequestModel fromUploadRequest(BaseFormRecordMessageUploadRequestResource uploadRequest, BaseFormRecordMessageResource message) -
getFormElementName
-
getPreviousFiles
-
getSenderName
Description copied from interface:IUserPortalChatEntryViewModelGet the sender name.- Specified by:
getSenderNamein interfaceIUserPortalChatEntryViewModel- Returns:
- the sender name
-
getTimestamp
Description copied from interface:IUserPortalChatEntryViewModelGet the sent time.- Specified by:
getTimestampin interfaceIUserPortalChatEntryViewModel- Returns:
- the sent time
-
getSubject
Description copied from interface:IUserPortalChatEntryViewModelGet the subject of the chat entry.- Specified by:
getSubjectin interfaceIUserPortalChatEntryViewModel- Returns:
- the subject of the chat entry
-
isOwnMessage
public boolean isOwnMessage()Description copied from interface:IUserPortalChatEntryViewModelCheck if the chat entry is a message sent by the current user.- Specified by:
isOwnMessagein interfaceIUserPortalChatEntryViewModel- Returns:
- true if the chat entry is a message sent by the current user, false otherwise
-
getTimestampToReadableDate
-
getUploadRequest
-
getUuid
-
isFulfilled
public boolean isFulfilled() -
isHasPreviousFiles
public boolean isHasPreviousFiles()
-