Class MyDashboardConfiguration
- java.lang.Object
-
- fr.paris.lutece.plugins.mydashboard.business.MyDashboardConfiguration
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MyDashboardConfiguration>
public class MyDashboardConfiguration extends java.lang.Object implements java.lang.Comparable<MyDashboardConfiguration>, java.io.Serializable
User configuration of dashboards- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MyDashboardConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(MyDashboardConfiguration o)booleanequals(java.lang.Object o)booleangetHideDashboard()Check if the dashboard should be hidden for the associated user or notjava.lang.StringgetIdConfig()Get the id of the config of this dashboard configurationjava.lang.StringgetMyDashboardComponentId()Get the id of the dashboard componentintgetOrder()Returns the OrderinthashCode()voidsetHideDashboard(boolean bHideDashboard)Set the visibility of the dashboard for the associated uservoidsetIdConfig(java.lang.String strIdConfig)Set the id of the config of this dashboard configurationvoidsetMyDashboardComponentId(java.lang.String strMyDashboardComponentId)Set the id of the dashboard componentvoidsetOrder(int nOrder)Sets the Order
-
-
-
Method Detail
-
getOrder
public int getOrder()
Returns the Order- Returns:
- The Order
-
setOrder
public void setOrder(int nOrder)
Sets the Order- Parameters:
nOrder- The Order
-
getIdConfig
public java.lang.String getIdConfig()
Get the id of the config of this dashboard configuration- Returns:
- the user name
-
setIdConfig
public void setIdConfig(java.lang.String strIdConfig)
Set the id of the config of this dashboard configuration- Parameters:
strIdConfig- the id of the config
-
getMyDashboardComponentId
public java.lang.String getMyDashboardComponentId()
Get the id of the dashboard component- Returns:
- The id of the dashboard component
-
setMyDashboardComponentId
public void setMyDashboardComponentId(java.lang.String strMyDashboardComponentId)
Set the id of the dashboard component- Parameters:
strMyDashboardComponentId- The id of the dashboard component
-
getHideDashboard
public boolean getHideDashboard()
Check if the dashboard should be hidden for the associated user or not- Returns:
- True if the dashboard should be hidden for this user, false otherwise
-
setHideDashboard
public void setHideDashboard(boolean bHideDashboard)
Set the visibility of the dashboard for the associated user- Parameters:
bHideDashboard- True if the dashboard should be hidden for this user, false otherwise
-
compareTo
public int compareTo(MyDashboardConfiguration o)
- Specified by:
compareToin interfacejava.lang.Comparable<MyDashboardConfiguration>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-