Class MyDashboardConfiguration
java.lang.Object
fr.paris.lutece.plugins.mydashboard.business.MyDashboardConfiguration
- All Implemented Interfaces:
Serializable,Comparable<MyDashboardConfiguration>
public class MyDashboardConfiguration
extends Object
implements Comparable<MyDashboardConfiguration>, Serializable
User configuration of dashboards
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanbooleanCheck if the dashboard should be hidden for the associated user or notGet the id of the config of this dashboard configurationGet the id of the dashboard componentintgetOrder()Returns the OrderinthashCode()voidsetHideDashboard(boolean bHideDashboard) Set the visibility of the dashboard for the associated uservoidsetIdConfig(String strIdConfig) Set the id of the config of this dashboard configurationvoidsetMyDashboardComponentId(String strMyDashboardComponentId) Set the id of the dashboard componentvoidsetOrder(int nOrder) Sets the Order
-
Constructor Details
-
MyDashboardConfiguration
public MyDashboardConfiguration()
-
-
Method Details
-
getOrder
public int getOrder()Returns the Order- Returns:
- The Order
-
setOrder
public void setOrder(int nOrder) Sets the Order- Parameters:
nOrder- The Order
-
getIdConfig
Get the id of the config of this dashboard configuration- Returns:
- the user name
-
setIdConfig
Set the id of the config of this dashboard configuration- Parameters:
strIdConfig- the id of the config
-
getMyDashboardComponentId
Get the id of the dashboard component- Returns:
- The id of the dashboard component
-
setMyDashboardComponentId
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
- Specified by:
compareToin interfaceComparable<MyDashboardConfiguration>
-
equals
-
hashCode
public int hashCode()
-