Interface ServerMessagesServiceLocal


public interface ServerMessagesServiceLocal
Local EJB interface for sending server-generated messages to users.

Implementations of this service are responsible for delivering messages generated by backend components to the messaging infrastructure. Messages can represent informational updates, success notifications, warnings, or error reports.

Each method accepts a ServerMessageRequest object containing all required metadata such as recipients, subject, content, topic, and sender component.

Since:
4.8.0
  • Method Details

    • sendInfoMessage

      void sendInfoMessage(ServerMessageRequest request)
      Sends an informational message.

      Informational messages provide general updates about system events or processes that do not require user action.

      Parameters:
      request - the message request containing message metadata and recipients
    • sendSuccessMessage

      void sendSuccessMessage(ServerMessageRequest request)
      Sends a success message.

      Success messages indicate that a process or operation completed successfully.

    • sendWarningMessage

      void sendWarningMessage(ServerMessageRequest request)
      Sends a warning message.

      Warning messages indicate a potential issue or non-critical problem that the user should be aware of.

      Parameters:
      request - the message request containing message metadata and recipients
    • sendErrorMessage

      void sendErrorMessage(ServerMessageRequest request)
      Sends an error message.

      Error messages indicate that an operation failed or a critical problem occurred during processing.

      Parameters:
      request - the message request containing message metadata and recipients