Class DashboardComponent
java.lang.Object
fr.paris.lutece.portal.service.dashboard.DashboardComponent
- All Implemented Interfaces:
IDashboardComponent,Localizable,Comparable<IDashboardComponent>
- Direct Known Subclasses:
AdminDashboardComponent,SiteDashboardComponent,SystemDashboardComponent,UserHeaderDashboardComponent,UsersDashboardComponent
Dashboard Component
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCompare component orderbooleanReturns a localized descriptiongetName()Returns the NameintgetOrder()Returns the OrderReturns the PlugingetRight()Returns the RightintgetZone()Returns the ZoneinthashCode()booleanTells if the component is enabledvoidSets the localevoidSets the NamevoidsetOrder(int nOrder) Sets the OrdervoidSets the PluginvoidSets the RightvoidsetZone(int nZone) Sets the ZonetoString()Methods inherited from interface fr.paris.lutece.portal.service.dashboard.IDashboardComponent
getDashboardData
-
Constructor Details
-
DashboardComponent
public DashboardComponent()
-
-
Method Details
-
getName
Returns the Name- Specified by:
getNamein interfaceIDashboardComponent- Returns:
- The Name
-
setName
Sets the Name- Specified by:
setNamein interfaceIDashboardComponent- Parameters:
strName- The Name
-
getRight
Returns the Right- Specified by:
getRightin interfaceIDashboardComponent- Returns:
- The Right
-
setRight
Sets the Right- Specified by:
setRightin interfaceIDashboardComponent- Parameters:
strRight- The Right
-
getZone
public int getZone()Returns the Zone- Specified by:
getZonein interfaceIDashboardComponent- Returns:
- The Zone
-
setZone
public void setZone(int nZone) Sets the Zone- Specified by:
setZonein interfaceIDashboardComponent- Parameters:
nZone- The Zone
-
getOrder
public int getOrder()Returns the Order- Specified by:
getOrderin interfaceIDashboardComponent- Returns:
- The Order
-
setOrder
public void setOrder(int nOrder) Sets the Order- Specified by:
setOrderin interfaceIDashboardComponent- Parameters:
nOrder- The Order
-
getPlugin
Returns the Plugin- Specified by:
getPluginin interfaceIDashboardComponent- Returns:
- The Plugin
-
setPlugin
Sets the Plugin- Specified by:
setPluginin interfaceIDashboardComponent- Parameters:
plugin- The plugin
-
compareTo
Compare component order- Specified by:
compareToin interfaceComparable<IDashboardComponent>- Parameters:
o- The component to compare to- Returns:
- less than 0 if the order is lower, 0 if equals and greater than 0 if higher
-
isEnabled
public boolean isEnabled()Tells if the component is enabled- Specified by:
isEnabledin interfaceIDashboardComponent- Returns:
- true if enabled
-
equals
-
hashCode
public int hashCode() -
toString
-
setLocale
Sets the locale- Specified by:
setLocalein interfaceLocalizable- Parameters:
locale- The locale
-
getDescription
Description copied from interface:IDashboardComponentReturns a localized description- Specified by:
getDescriptionin interfaceIDashboardComponent- Returns:
- a localized description
-