Class FormRecordMessageProtocolUtils

java.lang.Object
de.xima.fc.dao.utils.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 Details

    • 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.
    • addReadByUserProtocolEntry

      public static void addReadByUserProtocolEntry(IEntityContext ec, FormRecordMessage message, IUser user)
    • 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.