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>

@ApplicationScoped @Named("mydashboard.myDashboardComponentMyDashboard") public class MyDashboardComponentMyDashboard extends MyDashboardComponent
Dashboard component to modify dashboard components
See Also:
  • Constructor Details

    • MyDashboardComponentMyDashboard

      public MyDashboardComponentMyDashboard()
  • Method Details

    • getDashboardData

      public String getDashboardData(jakarta.servlet.http.HttpServletRequest request)
      Gets dash board data for the current user
      Parameters:
      request - HttpServletRequest
      Returns:
      HTML content to insert into a dash board zone
    • getComponentId

      public String 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

      public String getComponentDescription(Locale locale)
      Get the description of the component
      Parameters:
      locale - The locale to display the description in
      Returns:
      The description of the component