Class FormRecordMessageResource
- java.lang.Object
-
- de.xima.fc.api.rest.models.response.FormRecordMessageResource
-
- All Implemented Interfaces:
IResource,IUuidResource,Serializable
public class FormRecordMessageResource extends Object
Resource of a form record message- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH, Dresden
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormRecordMessageResource(FormRecordMessage entity, IUser user, javax.ws.rs.core.UriInfo uriInfo, Locale locale, boolean expand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FormRecordAttachmentResource>getAttachments()FormRecordChatResourcegetChat()StringgetContent()StringgetContentPreview()Map<String,String>getLinks()StringgetSenderContext()StringgetSenderName()UserProfileResourcegetSenderUserProfile()InstantgetSentTimestamp()List<FormRecordMessageUploadRequestResource>getUploadRequests()UUIDgetUuid()booleanisByMe()booleanisRead()
-
-
-
Constructor Detail
-
FormRecordMessageResource
public FormRecordMessageResource(FormRecordMessage entity, IUser user, javax.ws.rs.core.UriInfo uriInfo, Locale locale, boolean expand)
-
-
Method Detail
-
getSenderName
public String getSenderName()
-
getSenderContext
public String getSenderContext()
-
getSenderUserProfile
public UserProfileResource getSenderUserProfile()
-
getSentTimestamp
public Instant getSentTimestamp()
-
getContent
public String getContent()
-
getContentPreview
public String getContentPreview()
-
isRead
public boolean isRead()
-
isByMe
public boolean isByMe()
-
getChat
public FormRecordChatResource getChat()
-
getUploadRequests
public List<FormRecordMessageUploadRequestResource> getUploadRequests()
-
getAttachments
public List<FormRecordAttachmentResource> getAttachments()
-
getUuid
public UUID getUuid()
- Specified by:
getUuidin interfaceIUuidResource
-
-