Class AdminDashboardFactory
- java.lang.Object
-
- fr.paris.lutece.portal.business.dashboard.AdminDashboardFactory
-
public final class AdminDashboardFactory extends java.lang.ObjectFactory forIAdminDashboardComponent
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<IAdminDashboardComponent>getAllAdminDashboardComponents()Finds all registered admin dashboardsstatic IAdminDashboardComponentgetDashboardComponent(java.lang.String strName)Gets theIAdminDashboardComponentfor the given namestatic booleanregisterDashboardComponent(IAdminDashboardComponent adminDashboardComponent)Registers the new component.
-
-
-
Method Detail
-
registerDashboardComponent
public static boolean registerDashboardComponent(IAdminDashboardComponent adminDashboardComponent)
Registers the new component. Name must be unique- Parameters:
adminDashboardComponent- the component to register- Returns:
trueif registered,falseotherwise.
-
getDashboardComponent
public static IAdminDashboardComponent getDashboardComponent(java.lang.String strName)
Gets theIAdminDashboardComponentfor the given name- Parameters:
strName- the name- Returns:
- The component found,
nullotherwise.
-
getAllAdminDashboardComponents
public static java.util.List<IAdminDashboardComponent> getAllAdminDashboardComponents()
Finds all registered admin dashboards- Returns:
- the list
-
-