Class DashboardFactory

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

public final class DashboardFactory extends Object
  • Method Details

    • registerDashboardComponent

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

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

      public static List<IDashboardComponent> getAllDashboardComponents()
      Finds all registered dashboards
      Returns:
      the list