Interface IDashboardComponent
- All Superinterfaces:
Comparable<IDashboardComponent>,Localizable
- All Known Subinterfaces:
IAdminDashboardComponent
- All Known Implementing Classes:
AdminDashboardComponent,AdminHomePageManagementComponent,AutoIncludeAdminDashboardComponent,DashboardComponent,EditorAdminDashboardComponent,FeaturesAdminDashboardComponent,SearchAdminDashboardComponent,SiteDashboardComponent,SystemDashboardComponent,UserHeaderDashboardComponent,UsersAdminDashboardComponent,UsersDashboardComponent,XslExportAdminDashboardComponent
IDashboardComponent
-
Method Summary
Modifier and TypeMethodDescriptiongetDashboardData(AdminUser user, jakarta.servlet.http.HttpServletRequest request) Gets dashboard data for a given userReturns a localized descriptiongetName()Returns the NameintgetOrder()Returns the OrderReturns the PlugingetRight()Returns the RightintgetZone()Returns the ZonebooleanTells if the component is enabledvoidSets the NamevoidsetOrder(int nOrder) Sets the OrdervoidSets the PluginvoidSets the RightvoidsetZone(int nZone) Sets the ZoneMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface fr.paris.lutece.portal.service.i18n.Localizable
setLocale
-
Method Details
-
getDashboardData
Gets dashboard data for a given user- Parameters:
user- The userrequest- HttpServletRequest- Returns:
- HTML content to insert into a dashboard zone
-
getName
String getName()Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getRight
String getRight()Returns the Right- Returns:
- The Right
-
setRight
Sets the Right- Parameters:
strRight- The Right
-
getZone
int getZone()Returns the Zone- Returns:
- The Zone
-
setZone
void setZone(int nZone) Sets the Zone- Parameters:
nZone- The Zone
-
getOrder
int getOrder()Returns the Order- Returns:
- The Order
-
setOrder
void setOrder(int nOrder) Sets the Order- Parameters:
nOrder- The Order
-
getPlugin
Plugin getPlugin()Returns the Plugin- Returns:
- The Plugin
-
setPlugin
Sets the Plugin- Parameters:
plugin- The plugin
-
isEnabled
boolean isEnabled()Tells if the component is enabled- Returns:
- true if enabled
-
getDescription
String getDescription()Returns a localized description- Returns:
- a localized description
-