Class FormRecordMessageProtocolUtils


  • public class FormRecordMessageProtocolUtils
    extends Object
    Utility class for creating protocol entries for form record messages.
    Since:
    8.4.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • addNewFormRecordMessageProtocolEntry

        public static void addNewFormRecordMessageProtocolEntry​(IEntityContext ec,
                                                                FormRecordMessage message)
        Adds a protocol entry for a new form record message.
        Parameters:
        ec - The entity context.
        message - The new form record message.
      • addUploadRequestFulfilledProtocolEntry

        public static void addUploadRequestFulfilledProtocolEntry​(IEntityContext ec,
                                                                  IUser user,
                                                                  FormRecordMessageUploadRequest uploadRequest)
        Adds a protocol entry that an upload request of a form record message has been fulfilled.
        Parameters:
        ec - The message context for database access.
        user - The user who fulfilled the upload request.
        uploadRequest - The upload request that has been fulfilled.
      • getMemberName

        public static String getMemberName​(IEntityContext ec,
                                           FormRecordChat chat)
        Returns the name of the members of a form record chat as a comma-separated string.
        Parameters:
        ec - The entity context for database access.
        chat - The form record chat.
        Returns:
        The name of the members of the chat as a comma-separated string.