Interface IMyDashboardComponent

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getComponentDescription​(java.util.Locale locale)
      Get the description of the component
      java.lang.String getComponentId()
      Gets the id of the dashboard component.
      java.lang.String getDashboardData​(javax.servlet.http.HttpServletRequest request)
      Gets dash board data for the current user
      boolean isAvailable​(fr.paris.lutece.portal.service.security.LuteceUser user)
      Check if the dashboard is available or not for a given Lutece User
      • Methods inherited from interface java.lang.Comparable

        compareTo
    • Method Detail

      • getDashboardData

        java.lang.String getDashboardData​(javax.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

        java.lang.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

        java.lang.String getComponentDescription​(java.util.Locale locale)
        Get the description of the component
        Parameters:
        locale - The locale to display the description in
        Returns:
        The description of the component
      • isAvailable

        boolean isAvailable​(fr.paris.lutece.portal.service.security.LuteceUser user)
        Check if the dashboard is available or not for a given Lutece User
        Parameters:
        user - The user
        Returns:
        True if the dashboard is available for the given user, false otherwise