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