Class MyDashboardComponentMyDashboard
java.lang.Object
fr.paris.lutece.plugins.mydashboard.service.MyDashboardComponent
fr.paris.lutece.plugins.mydashboard.service.MyDashboardComponentMyDashboard
- All Implemented Interfaces:
IMyDashboardComponent,Serializable,Comparable<IMyDashboardComponent>,org.springframework.beans.factory.InitializingBean
Dashboard component to modify dashboard components
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComponentDescription(Locale locale) Get the description of the componentGets the id of the dashboard component.getDashboardData(javax.servlet.http.HttpServletRequest request) Gets dash board data for the current userMethods inherited from class fr.paris.lutece.plugins.mydashboard.service.MyDashboardComponent
afterPropertiesSet, compareTo, equals, hashCode, isAvailable
-
Constructor Details
-
MyDashboardComponentMyDashboard
public MyDashboardComponentMyDashboard()
-
-
Method Details
-
getDashboardData
Gets dash board data for the current user- Parameters:
request- HttpServletRequest- Returns:
- HTML content to insert into a dash board zone
-
getComponentId
Gets the id of the dashboard component. The id of the dashboard component must be unique for each dashboard component, and be less than 50 characters long.- Returns:
- The id of the dashboard component
-
getComponentDescription
Get the description of the component- Parameters:
locale- The locale to display the description in- Returns:
- The description of the component
-