Class MyDashboardComponentMyDashboard
- java.lang.Object
-
- fr.paris.lutece.plugins.mydashboard.service.MyDashboardComponent
-
- fr.paris.lutece.plugins.mydashboard.service.MyDashboardComponentMyDashboard
-
- All Implemented Interfaces:
IMyDashboardComponent,java.io.Serializable,java.lang.Comparable<IMyDashboardComponent>,org.springframework.beans.factory.InitializingBean
public class MyDashboardComponentMyDashboard extends MyDashboardComponent
Dashboard component to modify dashboard components- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MyDashboardComponentMyDashboard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetComponentDescription(java.util.Locale locale)Get the description of the componentjava.lang.StringgetComponentId()Gets the id of the dashboard component.java.lang.StringgetDashboardData(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
-
-
-
-
Method Detail
-
getDashboardData
public 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
public 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
public 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
-
-