Class AdminDashboardFactory
java.lang.Object
fr.paris.lutece.portal.business.dashboard.AdminDashboardFactory
Factory for
IAdminDashboardComponent-
Method Summary
Modifier and TypeMethodDescriptionstatic List<IAdminDashboardComponent>Finds all registered admin dashboardsstatic IAdminDashboardComponentgetDashboardComponent(String strName) Gets theIAdminDashboardComponentfor the given namestatic booleanregisterDashboardComponent(IAdminDashboardComponent adminDashboardComponent) Registers the new component.
-
Method Details
-
registerDashboardComponent
Registers the new component. Name must be unique- Parameters:
adminDashboardComponent- the component to register- Returns:
trueif registered,falseotherwise.
-
getDashboardComponent
Gets theIAdminDashboardComponentfor the given name- Parameters:
strName- the name- Returns:
- The component found,
nullotherwise.
-
getAllAdminDashboardComponents
Finds all registered admin dashboards- Returns:
- the list
-