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

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

public final class AdminDashboardFactory
extends java.lang.Object

Factory for IAdminDashboardComponent


Method Summary
static java.util.List<IAdminDashboardComponent> getAllAdminDashboardComponents()
          Finds all registered admin dashboards
static IAdminDashboardComponent getDashboardComponent(java.lang.String strName)
          Gets the IAdminDashboardComponent for the given name
static boolean registerDashboardComponent(IAdminDashboardComponent adminDashboardComponent)
          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(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(java.lang.String strName)
Gets the IAdminDashboardComponent for the given name

Parameters:
strName - the name
Returns:
The component found, null otherwise.

getAllAdminDashboardComponents

public static java.util.List<IAdminDashboardComponent> getAllAdminDashboardComponents()
Finds all registered admin dashboards

Returns:
the list


Copyright © 2011 Mairie de Paris. All Rights Reserved.