Class FormRecordMessage

    • Constructor Detail

      • FormRecordMessage

        public FormRecordMessage()
    • Method Detail

      • getId

        public Long getId()
        Specified by:
        getId in interface de.xima.cmn.dao.interfaces.IEntity<Long>
      • getUUID

        public String getUUID()
        Description copied from interface: IUUIDEntity
        Gets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for example client scopes or project scope.
        Specified by:
        getUUID in interface IUUIDEntity
        Returns:
        The UUID of the entity.
      • setUUID

        public void setUUID​(String uuid)
        Description copied from interface: IUUIDEntity
        Sets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for example client scopes or project scope.
        Specified by:
        setUUID in interface IUUIDEntity
        Parameters:
        uuid - The UUID of the entity.
      • getUUIDObject

        public UUID getUUIDObject()
        Description copied from interface: IUUIDEntity
        Gets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for example client scopes or project scope.
        Specified by:
        getUUIDObject in interface IUUIDEntity
        Returns:
        The UUID of the entity.
      • setUUIDObject

        public void setUUIDObject​(UUID uuid)
      • getSenderName

        public String getSenderName()
      • setSenderName

        public void setSenderName​(String senderName)
      • getSenderAuthRef

        public String getSenderAuthRef()
      • getSenderContext

        public String getSenderContext()
      • setSenderContext

        public void setSenderContext​(String senderContext)
      • getSenderUserProfileUuid

        @Nullable
        public UUID getSenderUserProfileUuid()
      • getContent

        public String getContent()
      • setContent

        public void setContent​(String content)
      • getSentInstant

        public Instant getSentInstant()
      • setSentInstant

        public void setSentInstant​(Instant sentInstant)
      • getUploadRequestAttachments

        public List<Attachment> getUploadRequestAttachments()
      • getAttachments

        public List<Attachment> getAttachments()
        Gets the list of attachments that are linked with this message. When a user sends a message, they can optionally select one or multiple files to attach to the message. These files are stored as attachments, and are referenced by the message. When the receiver reads a chat with a list of messages, they can see the attachments that are linked with each message.
        Returns:
        A list of attachments that are linked with this message.
      • setAttachments

        public void setAttachments​(List<Attachment> attachments)
        Sets the list of attachments that are linked with this message. When a user sends a message, they can optionally select one or multiple files to attach to the message. These files are stored as attachments, and are referenced by the message. When the receiver reads a chat with a list of messages, they can see the attachments that are linked with each message.
        Parameters:
        attachments - A list of attachments that are linked with this message.
      • getReadUserProfiles

        public Set<UserProfile> getReadUserProfiles()
        Gets the user profiles that have read the message.
        Returns:
        the user profiles that have read the message.
      • setReadUserProfiles

        public void setReadUserProfiles​(Set<UserProfile> readUserProfiles)
      • setSender

        public void setSender​(IUser user)
      • isSender

        public boolean isSender​(IUser user)