fr.paris.lutece.portal.business.dashboard
Class DashboardFactory

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

public final class DashboardFactory
extends Object

Factory for IDashboardComponent


Method Summary
static List<IDashboardComponent> getAllDashboardComponents()
          Finds all registered dashboards
static IDashboardComponent getDashboardComponent(String strName)
          Gets the IDashboardComponent for the given name
static boolean registerDashboardComponent(IDashboardComponent dashboardComponent)
          Registers the new component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.