fr.paris.lutece.plugins.mydashboard.service
Class MyDashboardComponentMyDashboard

java.lang.Object
  extended by fr.paris.lutece.plugins.mydashboard.service.MyDashboardComponent
      extended by fr.paris.lutece.plugins.mydashboard.service.MyDashboardComponentMyDashboard
All Implemented Interfaces:
IMyDashboardComponent, Comparable<IMyDashboardComponent>, org.springframework.beans.factory.InitializingBean

public class MyDashboardComponentMyDashboard
extends MyDashboardComponent

Dashboard component to modify dashboard components


Constructor Summary
MyDashboardComponentMyDashboard()
           
 
Method Summary
 String getComponentDescription(Locale locale)
          Get the description of the component
 String getComponentId()
          Gets the id of the dashboard component.
 String getDashboardData(javax.servlet.http.HttpServletRequest request)
          Gets dash board data for the current user
 
Methods inherited from class fr.paris.lutece.plugins.mydashboard.service.MyDashboardComponent
afterPropertiesSet, compareTo, equals, hashCode, isAvailable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyDashboardComponentMyDashboard

public MyDashboardComponentMyDashboard()
Method Detail

getDashboardData

public 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

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.