Interface StatusMessageProvider

All Known Implementing Classes:
AdminDashboardController, AdminUsersManagmentController, LoginController, ResetPasswordController, RootController, UserDashboardController, UserHomeController

public interface StatusMessageProvider
Provides a mechanism for displaying status messages to the user.

Implementing controllers can use this interface to show messages with visual styling and optional icons, such as success, error, warning, or informational messages.

Example usage:

showStatusMessage("Operation successful!", MessageStatus.SUCCESS);
showStatusMessage("Failed to save changes.", MessageStatus.ERROR);
Since:
2026-02-21
Version:
1.0
Author:
@ZouariOmar (zouariomar20@gmail.com)
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Shows a status message on the UI.
  • Method Details

    • showStatusMessage

      void showStatusMessage(String message, MessageStatus status)
      Shows a status message on the UI.
      Parameters:
      message - the text to display
      status - the type of message (SUCCESS, ERROR, WARNING, INFO)