Class AdminDashboardFactory

java.lang.Object
fr.paris.lutece.portal.business.dashboard.AdminDashboardFactory

public final class AdminDashboardFactory extends Object
  • Method Details

    • registerDashboardComponent

      public static boolean registerDashboardComponent(IAdminDashboardComponent adminDashboardComponent)
      Registers the new component. Name must be unique
      Parameters:
      adminDashboardComponent - the component to register
      Returns:
      true if registered, false otherwise.
    • getDashboardComponent

      public static IAdminDashboardComponent getDashboardComponent(String strName)
      Gets the IAdminDashboardComponent for the given name
      Parameters:
      strName - the name
      Returns:
      The component found, null otherwise.
    • getAllAdminDashboardComponents

      public static List<IAdminDashboardComponent> getAllAdminDashboardComponents()
      Finds all registered admin dashboards
      Returns:
      the list